cc-codeconductor 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +113 -26
- package/dist/index.js +1752 -81
- package/package.json +1 -1
- package/presets/agy/AGENTS.md +354 -0
- package/presets/agy/README.md +47 -0
- package/presets/agy/hooks.json +30 -0
- package/presets/agy/mcp_config.json +3 -0
- package/presets/agy/rules/commit-style.md +1 -0
- package/presets/agy/rules/graphify.md +14 -0
- package/presets/agy/scripts/post-tool.sh +25 -0
- package/presets/agy/scripts/pre-tool.sh +56 -0
- package/presets/agy/settings.json +8 -0
- package/presets/agy/skills/cc-api-contract/SKILL.md +71 -0
- package/presets/agy/skills/cc-db-migration/SKILL.md +70 -0
- package/presets/agy/skills/cc-feature/SKILL.md +115 -0
- package/presets/agy/skills/cc-fix/SKILL.md +124 -0
- package/presets/agy/skills/cc-pagespeed/SKILL.md +101 -0
- package/presets/agy/skills/cc-refactor/SKILL.md +149 -0
- package/presets/agy/skills/cc-review/SKILL.md +142 -0
- package/presets/agy/skills/cc-tdd-cycle/SKILL.md +226 -0
- package/presets/agy/skills/cc-test-plan/SKILL.md +145 -0
- package/presets/agy/skills/commit/SKILL.md +5 -0
- package/presets/agy/workflows/cc-api-contract.md +71 -0
- package/presets/agy/workflows/cc-db-migration.md +70 -0
- package/presets/agy/workflows/cc-feature.md +115 -0
- package/presets/agy/workflows/cc-fix.md +124 -0
- package/presets/agy/workflows/cc-pagespeed.md +101 -0
- package/presets/agy/workflows/cc-refactor.md +149 -0
- package/presets/agy/workflows/cc-review.md +142 -0
- package/presets/agy/workflows/cc-tdd-cycle.md +226 -0
- package/presets/agy/workflows/cc-test-plan.md +145 -0
- package/presets/agy/workflows/commit.md +1 -0
- package/presets/claude/CLAUDE.md +13 -3
- package/presets/claude/claude.json +6 -0
- package/presets/claude/commands/cc/pagespeed.md +103 -0
- package/presets/claude/settings.json +249 -2
- package/presets/claude/skills/conductor-setup/SKILL.md +125 -0
- package/presets/claude/skills/find-skills/SKILL.md +142 -0
- package/presets/claude/skills/multi-agent-orchestration/README.md +144 -0
- package/presets/claude/skills/multi-agent-orchestration/SKILL.md +579 -0
- package/presets/claude/skills/multi-agent-orchestration/examples/framework_implementations.py +362 -0
- package/presets/claude/skills/multi-agent-orchestration/examples/orchestration_patterns.py +411 -0
- package/presets/claude/skills/multi-agent-orchestration/scripts/agent_communication.py +334 -0
- package/presets/claude/skills/multi-agent-orchestration/scripts/benchmarking.py +341 -0
- package/presets/claude/skills/multi-agent-orchestration/scripts/workflow_management.py +334 -0
- package/presets/claude/skills/pagespeed-insights/SKILL.md +443 -0
- package/presets/claude/skills/pagespeed-insights/reference.md +50 -0
- package/presets/claude/skills/pagespeed-perf/SKILL.md +279 -0
- package/presets/claude/skills/workflow-orchestration-patterns/SKILL.md +98 -0
- package/presets/claude/skills/workflow-orchestration-patterns/references/details.md +223 -0
- package/presets/codex/AGENTS.md +19 -14
- package/presets/codex/skills/conductor-setup/SKILL.md +125 -0
- package/presets/codex/skills/find-skills/SKILL.md +142 -0
- package/presets/codex/skills/multi-agent-orchestration/README.md +144 -0
- package/presets/codex/skills/multi-agent-orchestration/SKILL.md +579 -0
- package/presets/codex/skills/multi-agent-orchestration/examples/framework_implementations.py +362 -0
- package/presets/codex/skills/multi-agent-orchestration/examples/orchestration_patterns.py +411 -0
- package/presets/codex/skills/multi-agent-orchestration/scripts/agent_communication.py +334 -0
- package/presets/codex/skills/multi-agent-orchestration/scripts/benchmarking.py +341 -0
- package/presets/codex/skills/multi-agent-orchestration/scripts/workflow_management.py +334 -0
- package/presets/codex/skills/pagespeed-insights/SKILL.md +443 -0
- package/presets/codex/skills/pagespeed-insights/reference.md +50 -0
- package/presets/codex/skills/pagespeed-perf/SKILL.md +279 -0
- package/presets/codex/skills/workflow-orchestration-patterns/SKILL.md +98 -0
- package/presets/codex/skills/workflow-orchestration-patterns/references/details.md +223 -0
- package/presets/opencode/README.md +11 -10
- package/presets/opencode/commands/cc-pagespeed.md +100 -0
- package/presets/opencode/skills/conductor-setup/SKILL.md +125 -0
- package/presets/opencode/skills/find-skills/SKILL.md +142 -0
- package/presets/opencode/skills/multi-agent-orchestration/README.md +144 -0
- package/presets/opencode/skills/multi-agent-orchestration/SKILL.md +579 -0
- package/presets/opencode/skills/multi-agent-orchestration/examples/framework_implementations.py +362 -0
- package/presets/opencode/skills/multi-agent-orchestration/examples/orchestration_patterns.py +411 -0
- package/presets/opencode/skills/multi-agent-orchestration/scripts/agent_communication.py +334 -0
- package/presets/opencode/skills/multi-agent-orchestration/scripts/benchmarking.py +341 -0
- package/presets/opencode/skills/multi-agent-orchestration/scripts/workflow_management.py +334 -0
- package/presets/opencode/skills/pagespeed-insights/SKILL.md +443 -0
- package/presets/opencode/skills/pagespeed-insights/reference.md +50 -0
- package/presets/opencode/skills/pagespeed-perf/SKILL.md +279 -0
- package/presets/opencode/skills/workflow-orchestration-patterns/SKILL.md +98 -0
- package/presets/opencode/skills/workflow-orchestration-patterns/references/details.md +223 -0
- package/presets/seo-hotel/commands/cc-seo-audit.md +17 -9
- package/presets/seo-hotel/commands/cc-seo-llms.md +64 -0
- package/presets/seo-hotel/seo-hotel.yml +55 -0
- package/presets/seo-hotel/settings.json +225 -0
- package/presets/seo-hotel/skills/find-skills/SKILL.md +142 -0
- package/presets/seo-hotel/skills/pagespeed-insights/SKILL.md +443 -0
- package/presets/seo-hotel/skills/pagespeed-insights/reference.md +50 -0
- package/src/presets/manifests/agy.yml +36 -2
- package/src/presets/manifests/claude.yml +5 -0
- package/src/presets/manifests/opencode.yml +4 -0
- package/src/presets/models/agy.yml +16 -0
package/README.md
CHANGED
|
@@ -29,6 +29,22 @@ contracts, task cards, and risk-based routing.
|
|
|
29
29
|
> directories
|
|
30
30
|
> - `npx cc-codeconductor update` — re-applies the council preset for the configured
|
|
31
31
|
> target
|
|
32
|
+
> - `npx cc-codeconductor seo audit --url <url>` — runs a comprehensive SEO audit
|
|
33
|
+
> on a single page (meta tags, schema.org, GEO readiness) and generates a
|
|
34
|
+
> markdown report
|
|
35
|
+
> - `npx cc-codeconductor seo audit --sitemap <url>` — batch audits all URLs from
|
|
36
|
+
> a sitemap.xml with rate limiting and SSRF prevention
|
|
37
|
+
> - `npx cc-codeconductor seo llms --sitemap <url>` — generates a `llms.txt` file
|
|
38
|
+
> for AI-search readiness from sitemap content
|
|
39
|
+
> - `/cc-pagespeed --url <url>` — audits web performance using the PageSpeed
|
|
40
|
+
> Insights API; applies the 80/20 principle to produce a prioritized report of
|
|
41
|
+
> Core Web Vitals (LCP, TBT, CLS, FCP, TTFB) with framework-specific fixes;
|
|
42
|
+
> requires `PAGESPEED_API_KEY` env var for full CrUX field data (optional but
|
|
43
|
+
> recommended)
|
|
44
|
+
> - `npx cc-codeconductor install preset --target <opencode|claude|codex|all>` —
|
|
45
|
+
> installs the full preset (agents, prompts, skills, commands, settings) for the
|
|
46
|
+
> chosen runner; use `--locale=es` to inject Spanish-aware instructions into
|
|
47
|
+
> agent files, or rely on the locale saved during `init`
|
|
32
48
|
> - Manual presets for OpenCode, Claude Code, and Codex
|
|
33
49
|
> - Versioned Agent Contracts
|
|
34
50
|
> - Routing Policy documentation
|
|
@@ -104,7 +120,7 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
|
|
|
104
120
|
## Current Support (v0.2.0)
|
|
105
121
|
|
|
106
122
|
- OpenCode preset
|
|
107
|
-
- Claude Code-compatible preset
|
|
123
|
+
- Claude Code-compatible preset (see [Claude Environment Options & Best Practices](file:///c:/Users/R2D2/Documents/GitHub/codeconductor/docs/claude-env-options.md))
|
|
108
124
|
- Codex preset
|
|
109
125
|
- Spring Boot / Kotlin workflow
|
|
110
126
|
- Python / Django workflow guidance
|
|
@@ -137,12 +153,21 @@ npx cc-codeconductor init # detect stack, write .codeconductor/conf
|
|
|
137
153
|
npx cc-codeconductor init --force # overwrite existing config
|
|
138
154
|
npx cc-codeconductor init --global # write to ~/.codeconductor/
|
|
139
155
|
npx cc-codeconductor init --dry-run # preview without writing
|
|
156
|
+
npx cc-codeconductor init --locale=es # set Spanish as the instruction language
|
|
157
|
+
npx cc-codeconductor init --locale=en # set English (default)
|
|
140
158
|
```
|
|
141
159
|
|
|
142
160
|
On first run, `init` copies `council.yml` and `policy.yml` into
|
|
143
161
|
`.codeconductor/presets/` so you can customize them without touching framework
|
|
144
162
|
files. `install` reads from there first.
|
|
145
163
|
|
|
164
|
+
> [!IMPORTANT]
|
|
165
|
+
>
|
|
166
|
+
> **`--locale` is remembered.** Once you run `init --locale=es`, the value is
|
|
167
|
+
> saved to `.codeconductor/config.yml`. Every subsequent `install preset` will
|
|
168
|
+
> automatically use that locale — no need to repeat the flag. To change it,
|
|
169
|
+
> run `init --locale=en --force` or edit `defaults.locale` in your config.
|
|
170
|
+
|
|
146
171
|
#### `detect` — detect project stack
|
|
147
172
|
|
|
148
173
|
```bash
|
|
@@ -159,7 +184,39 @@ Detected:
|
|
|
159
184
|
- frameworks: ...
|
|
160
185
|
```
|
|
161
186
|
|
|
162
|
-
#### `install` — install
|
|
187
|
+
#### `install preset` — install full agent preset
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
npx cc-codeconductor install preset --target opencode # project-level
|
|
191
|
+
npx cc-codeconductor install preset --target claude
|
|
192
|
+
npx cc-codeconductor install preset --target codex
|
|
193
|
+
npx cc-codeconductor install preset --target all # all targets
|
|
194
|
+
|
|
195
|
+
npx cc-codeconductor install preset --target claude --global # write to ~/.claude/
|
|
196
|
+
npx cc-codeconductor install preset --target all --global
|
|
197
|
+
|
|
198
|
+
npx cc-codeconductor install preset --target claude --locale=es # override locale once
|
|
199
|
+
npx cc-codeconductor install preset --target all --dry-run # preview
|
|
200
|
+
npx cc-codeconductor install preset --target claude --force # overwrite
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Locale resolution order (first match wins):
|
|
204
|
+
|
|
205
|
+
1. `--locale` flag on the command line
|
|
206
|
+
2. `defaults.locale` in `.codeconductor/config.yml` (set by `init --locale`)
|
|
207
|
+
3. `en` (built-in default)
|
|
208
|
+
|
|
209
|
+
Files installed per target:
|
|
210
|
+
|
|
211
|
+
| Target | Notable files |
|
|
212
|
+
| ---------- | ---------------------------------------------------------------- |
|
|
213
|
+
| `claude` | `.claude/CLAUDE.md`, `.claude/settings.json`, `.claude/agents/` |
|
|
214
|
+
| `opencode` | `.opencode/agents/`, `.opencode/commands/`, `.opencode/skills/` |
|
|
215
|
+
| `codex` | `.codex/AGENTS.md`, `.codex/skills/`, `.codex/prompts/` |
|
|
216
|
+
|
|
217
|
+
With `--global`, files are written under `~/` instead of `./`.
|
|
218
|
+
|
|
219
|
+
#### `install council` — install council spec
|
|
163
220
|
|
|
164
221
|
```bash
|
|
165
222
|
npx cc-codeconductor install council --target opencode # project-level
|
|
@@ -175,16 +232,6 @@ npx cc-codeconductor install council --target opencode --dry-run # preview
|
|
|
175
232
|
npx cc-codeconductor install council --target opencode --force # overwrite
|
|
176
233
|
```
|
|
177
234
|
|
|
178
|
-
Files generated per target:
|
|
179
|
-
|
|
180
|
-
| Target | Files written |
|
|
181
|
-
| ---------- | ---------------------------------------------------------------- |
|
|
182
|
-
| `opencode` | `.opencode/commands/cc-council.md`, `.opencode/agents/council-*.md` |
|
|
183
|
-
| `claude` | `.claude/skills/council/SKILL.md`, `.claude/agents/council-*.md` |
|
|
184
|
-
| `codex` | `.codex/config.toml`, `.codex/agents/council_*.toml` |
|
|
185
|
-
|
|
186
|
-
With `--global`, the same files are written under `~/` instead of `./`.
|
|
187
|
-
|
|
188
235
|
#### `install lsp` — install and configure LSP servers
|
|
189
236
|
|
|
190
237
|
```bash
|
|
@@ -196,7 +243,7 @@ npx cc-codeconductor install lsp --target cursor --dry-run # preview
|
|
|
196
243
|
npx cc-codeconductor install lsp --target all --force # overwrite existing configs
|
|
197
244
|
```
|
|
198
245
|
|
|
199
|
-
Supported languages: TypeScript, PHP, Python, Kotlin.
|
|
246
|
+
Supported languages: TypeScript, PHP, Python via Pyright, Kotlin.
|
|
200
247
|
Supported targets: opencode, claude, codex, gemini, cursor, agy.
|
|
201
248
|
|
|
202
249
|
#### `doctor` — validate configuration
|
|
@@ -219,12 +266,13 @@ Re-generates preset files for the `defaults.target` in your config.
|
|
|
219
266
|
|
|
220
267
|
### Global options
|
|
221
268
|
|
|
222
|
-
| Flag
|
|
223
|
-
|
|
|
224
|
-
| `--force`
|
|
225
|
-
| `--dry-run`
|
|
226
|
-
| `--global`
|
|
227
|
-
| `--output json`
|
|
269
|
+
| Flag | Description |
|
|
270
|
+
| ---------------- | -------------------------------------------------------- |
|
|
271
|
+
| `--force` | Overwrite existing files |
|
|
272
|
+
| `--dry-run` | Preview actions without writing |
|
|
273
|
+
| `--global` | Target home directory instead of project |
|
|
274
|
+
| `--output json` | Machine-readable JSON output |
|
|
275
|
+
| `--locale=en` | Agent instruction language: `en` (default) or `es` |
|
|
228
276
|
|
|
229
277
|
### Config directory
|
|
230
278
|
|
|
@@ -232,12 +280,20 @@ Re-generates preset files for the `defaults.target` in your config.
|
|
|
232
280
|
|
|
233
281
|
```text
|
|
234
282
|
.codeconductor/
|
|
235
|
-
├── config.yml # project settings, target, preset versions
|
|
283
|
+
├── config.yml # project settings, target, locale, preset versions
|
|
236
284
|
└── presets/
|
|
237
285
|
├── council.yml # customizable copy of the council preset
|
|
238
286
|
└── policy.yml # customizable copy of policy rules
|
|
239
287
|
```
|
|
240
288
|
|
|
289
|
+
Key fields in `config.yml`:
|
|
290
|
+
|
|
291
|
+
```yaml
|
|
292
|
+
defaults:
|
|
293
|
+
target: opencode # default runner for install/update
|
|
294
|
+
locale: es # instruction language injected into agent files
|
|
295
|
+
```
|
|
296
|
+
|
|
241
297
|
Edit `.codeconductor/presets/council.yml` to add, remove, or reconfigure agents
|
|
242
298
|
before running `install`.
|
|
243
299
|
|
|
@@ -253,17 +309,48 @@ src/presets/models/
|
|
|
253
309
|
└── codex.yml # model defaults for Codex target
|
|
254
310
|
```
|
|
255
311
|
|
|
256
|
-
Agent template files contain placeholders
|
|
312
|
+
Agent template files contain placeholders replaced during `install`:
|
|
257
313
|
|
|
258
|
-
| Placeholder
|
|
259
|
-
|
|
|
260
|
-
| `{{MODEL_CLAUDE}}`
|
|
261
|
-
| `{{MODEL_OPENCODE}}`
|
|
262
|
-
| `{{MODEL_CODEX}}`
|
|
314
|
+
| Placeholder | Description |
|
|
315
|
+
| ------------------------------ | --------------------------------------------- |
|
|
316
|
+
| `{{MODEL_CLAUDE}}` | Model for the Claude provider |
|
|
317
|
+
| `{{MODEL_OPENCODE}}` | Model for the OpenCode provider |
|
|
318
|
+
| `{{MODEL_CODEX}}` | Model for the Codex provider |
|
|
319
|
+
| `{{LANGUAGE_INSTRUCTIONS}}` | Locale-aware instruction injected by `locale` |
|
|
263
320
|
|
|
264
321
|
To customize models, edit the YAML file for your target before running
|
|
265
322
|
`install`. Each file maps agent roles to provider-specific model names.
|
|
266
323
|
|
|
324
|
+
#### Instruction Language (`--locale`)
|
|
325
|
+
|
|
326
|
+
Agent markdown files (`CLAUDE.md`, `AGENTS.md`, `README.md`) include a
|
|
327
|
+
`{{LANGUAGE_INSTRUCTIONS}}` placeholder that is replaced at install time based
|
|
328
|
+
on the active locale:
|
|
329
|
+
|
|
330
|
+
| Locale | Injected instruction |
|
|
331
|
+
| ------ | -------------------- |
|
|
332
|
+
| `en` | *Prose/docs/code comments: be terse and direct. Prefer concrete nouns over abstract ones. Omit filler phrases. One idea per sentence.* |
|
|
333
|
+
| `es` | *Spanish prose/docs/reports/Markdown: preserve natural Spanish orthography, including accents, `ñ`, `¿`, `¡`, and normal Unicode. The ASCII-only editing preference does not apply to these artifacts.* |
|
|
334
|
+
|
|
335
|
+
The locale is **sticky**: set it once with `init --locale=es` and every
|
|
336
|
+
subsequent `install preset` will use it automatically. Override per-run with
|
|
337
|
+
`install preset --locale=en`.
|
|
338
|
+
|
|
339
|
+
```bash
|
|
340
|
+
# One-time setup
|
|
341
|
+
npx cc-codeconductor init --locale=es
|
|
342
|
+
|
|
343
|
+
# All future installs use Spanish automatically
|
|
344
|
+
npx cc-codeconductor install preset --target=claude
|
|
345
|
+
npx cc-codeconductor install preset --target=all --global
|
|
346
|
+
|
|
347
|
+
# Override just this run
|
|
348
|
+
npx cc-codeconductor install preset --target=claude --locale=en
|
|
349
|
+
|
|
350
|
+
# Change the saved locale
|
|
351
|
+
npx cc-codeconductor init --locale=en --force
|
|
352
|
+
```
|
|
353
|
+
|
|
267
354
|
---
|
|
268
355
|
|
|
269
356
|
## Repository Structure
|