claude-code-pilot 3.0.0 → 3.1.1
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 +76 -97
- package/bin/install.js +14 -14
- package/manifest.json +1 -1
- package/package.json +17 -5
- package/src/agents/doc-updater.md +1 -1
- package/src/agents/gan-evaluator.md +209 -0
- package/src/agents/gan-generator.md +131 -0
- package/src/agents/gan-planner.md +99 -0
- package/src/agents/harness-optimizer.md +35 -0
- package/src/agents/loop-operator.md +36 -0
- package/src/agents/opensource-forker.md +198 -0
- package/src/agents/opensource-packager.md +249 -0
- package/src/agents/opensource-sanitizer.md +188 -0
- package/src/agents/performance-optimizer.md +446 -0
- package/src/available-rules/README.md +1 -1
- package/src/commands/{aside.md → ccp/aside.md} +14 -13
- package/src/commands/{build-fix.md → ccp/build-fix.md} +5 -0
- package/src/commands/{checkpoint.md → ccp/checkpoint.md} +12 -7
- package/src/commands/{code-review.md → ccp/code-review.md} +5 -0
- package/src/commands/{context-budget.md → ccp/context-budget.md} +2 -1
- package/src/commands/{cpp-build.md → ccp/cpp-build.md} +6 -5
- package/src/commands/{cpp-review.md → ccp/cpp-review.md} +7 -6
- package/src/commands/{cpp-test.md → ccp/cpp-test.md} +6 -5
- package/src/commands/ccp/docs-update.md +48 -0
- package/src/commands/{docs.md → ccp/docs.md} +4 -3
- package/src/commands/{e2e.md → ccp/e2e.md} +7 -6
- package/src/commands/{eval.md → ccp/eval.md} +10 -5
- package/src/commands/{evolve.md → ccp/evolve.md} +3 -3
- package/src/commands/{go-build.md → ccp/go-build.md} +6 -5
- package/src/commands/{go-review.md → ccp/go-review.md} +7 -6
- package/src/commands/{go-test.md → ccp/go-test.md} +6 -5
- package/src/commands/{gradle-build.md → ccp/gradle-build.md} +1 -0
- package/src/commands/{harness-audit.md → ccp/harness-audit.md} +6 -1
- package/src/commands/{kotlin-build.md → ccp/kotlin-build.md} +6 -5
- package/src/commands/{kotlin-review.md → ccp/kotlin-review.md} +7 -6
- package/src/commands/{kotlin-test.md → ccp/kotlin-test.md} +6 -5
- package/src/commands/{learn.md → ccp/learn.md} +7 -2
- package/src/commands/{model-route.md → ccp/model-route.md} +6 -1
- package/src/commands/{orchestrate.md → ccp/orchestrate.md} +4 -3
- package/src/commands/{plan.md → ccp/plan.md} +6 -5
- package/src/commands/ccp/profile-user.md +46 -0
- package/src/commands/{prompt-optimize.md → ccp/prompt-optimize.md} +3 -2
- package/src/commands/{prune.md → ccp/prune.md} +4 -4
- package/src/commands/{python-review.md → ccp/python-review.md} +7 -6
- package/src/commands/{quality-gate.md → ccp/quality-gate.md} +6 -1
- package/src/commands/{refactor-clean.md → ccp/refactor-clean.md} +5 -0
- package/src/commands/{resume-session.md → ccp/resume-session.md} +9 -8
- package/src/commands/ccp/review.md +37 -0
- package/src/commands/{rules-distill.md → ccp/rules-distill.md} +2 -1
- package/src/commands/{rust-build.md → ccp/rust-build.md} +6 -5
- package/src/commands/{rust-review.md → ccp/rust-review.md} +7 -6
- package/src/commands/{rust-test.md → ccp/rust-test.md} +6 -5
- package/src/commands/{save-session.md → ccp/save-session.md} +2 -1
- package/src/commands/ccp/secure-phase.md +35 -0
- package/src/commands/{sessions.md → ccp/sessions.md} +29 -24
- package/src/commands/{setup-pm.md → ccp/setup-pm.md} +1 -0
- package/src/commands/{setup-refresh.md → ccp/setup-refresh.md} +4 -3
- package/src/commands/{setup.md → ccp/setup.md} +24 -23
- package/src/commands/{skill-create.md → ccp/skill-create.md} +8 -8
- package/src/commands/{skill-health.md → ccp/skill-health.md} +5 -5
- package/src/commands/{tdd.md → ccp/tdd.md} +9 -8
- package/src/commands/{test-coverage.md → ccp/test-coverage.md} +5 -0
- package/src/commands/{tool-guide.md → ccp/tool-guide.md} +2 -1
- package/src/commands/{update-codemaps.md → ccp/update-codemaps.md} +5 -0
- package/src/commands/{update-docs.md → ccp/update-docs.md} +5 -0
- package/src/commands/{verify.md → ccp/verify.md} +5 -0
- package/src/commands/ccp/workstreams.md +68 -0
- package/src/examples/CLAUDE.md +4 -4
- package/src/examples/django-api-CLAUDE.md +5 -5
- package/src/examples/go-microservice-CLAUDE.md +6 -6
- package/src/examples/rust-api-CLAUDE.md +4 -4
- package/src/examples/saas-nextjs-CLAUDE.md +8 -8
- package/src/hooks/session-start.js +1 -1
- package/src/pilot/references/mcp-servers.json +1 -1
- package/src/pilot/workflows/docs-update.md +1165 -0
- package/src/pilot/workflows/help.md +48 -56
- package/src/pilot/workflows/profile-user.md +452 -0
- package/src/pilot/workflows/review.md +244 -0
- package/src/pilot/workflows/secure-phase.md +164 -0
- package/src/rules/common/code-review.md +124 -0
- package/src/rules/zh/README.md +108 -0
- package/src/rules/zh/agents.md +50 -0
- package/src/rules/zh/code-review.md +124 -0
- package/src/rules/zh/coding-style.md +48 -0
- package/src/rules/zh/development-workflow.md +44 -0
- package/src/rules/zh/git-workflow.md +24 -0
- package/src/rules/zh/hooks.md +30 -0
- package/src/rules/zh/patterns.md +31 -0
- package/src/rules/zh/performance.md +55 -0
- package/src/rules/zh/security.md +29 -0
- package/src/rules/zh/testing.md +29 -0
- package/src/skills/autonomous-agent-harness/SKILL.md +267 -0
- package/src/skills/autonomous-loops/SKILL.md +610 -0
- package/src/skills/bun-runtime/SKILL.md +84 -0
- package/src/skills/content-hash-cache-pattern/SKILL.md +161 -0
- package/src/skills/context-budget/SKILL.md +3 -3
- package/src/skills/continuous-learning-v2/SKILL.md +4 -4
- package/src/skills/continuous-learning-v2/agents/observer.md +1 -1
- package/src/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/src/skills/design-system/SKILL.md +82 -0
- package/src/skills/eval-harness/SKILL.md +270 -0
- package/src/skills/flutter-dart-code-review/SKILL.md +435 -0
- package/src/skills/gan-style-harness/SKILL.md +278 -0
- package/src/skills/git-workflow/SKILL.md +715 -0
- package/src/skills/hexagonal-architecture/SKILL.md +276 -0
- package/src/skills/iterative-retrieval/SKILL.md +211 -0
- package/src/skills/laravel-plugin-discovery/SKILL.md +229 -0
- package/src/skills/nextjs-turbopack/SKILL.md +44 -0
- package/src/skills/nuxt4-patterns/SKILL.md +100 -0
- package/src/skills/opensource-pipeline/SKILL.md +255 -0
- package/src/skills/perl-security/SKILL.md +503 -0
- package/src/skills/project-flow-ops/SKILL.md +111 -0
- package/src/skills/project-guidelines-example/SKILL.md +349 -0
- package/src/skills/prompt-optimizer/SKILL.md +38 -38
- package/src/skills/pytorch-patterns/SKILL.md +396 -0
- package/src/skills/regex-vs-llm-structured-text/SKILL.md +220 -0
- package/src/skills/repo-scan/SKILL.md +78 -0
- package/src/skills/rules-distill/SKILL.md +264 -0
- package/src/skills/rules-distill/scripts/scan-rules.sh +58 -0
- package/src/skills/rules-distill/scripts/scan-skills.sh +129 -0
- package/src/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/src/skills/token-budget-advisor/SKILL.md +133 -0
- package/src/skills/verification-loop/SKILL.md +1 -1
- package/src/skills/workspace-surface-audit/SKILL.md +125 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ccp:setup
|
|
2
3
|
description: "First-time project setup — scans codebase, generates CLAUDE.md, installs language rules, discovers skills"
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -12,7 +13,7 @@ Verify that all 4 source directories from the Claude Code Pilot are properly ins
|
|
|
12
13
|
|
|
13
14
|
Check the following paths relative to the project root:
|
|
14
15
|
|
|
15
|
-
1. **Kit commands** — check if `.claude/commands/setup.md` exists (this file is a kit-specific marker)
|
|
16
|
+
1. **Kit commands** — check if `.claude/commands/ccp/setup.md` exists (this file is a kit-specific marker)
|
|
16
17
|
2. **CCP commands** — check if `.claude/commands/ccp/` directory exists and is non-empty (contains the 32 CCP commands)
|
|
17
18
|
3. **CCP toolbox** — check if `.claude/hooks/` directory exists (contains hooks, lib, detection scripts)
|
|
18
19
|
4. **CCP SDLC workflows** — check if `.claude/pilot/` directory exists and contains `workflows/` subdirectory
|
|
@@ -75,7 +76,7 @@ Codebase Intelligence:
|
|
|
75
76
|
|
|
76
77
|
4. If NO (key not in .mcp.json): skip graph queries entirely, proceed with standard subagent exploration below.
|
|
77
78
|
|
|
78
|
-
**Important:** This is a best-effort enhancement. The standard subagent exploration (grep/find) must ALWAYS run as the baseline. Graph results supplement, they don't replace. If codebase-memory-mcp adds value, great. If not, /setup works exactly as before.
|
|
79
|
+
**Important:** This is a best-effort enhancement. The standard subagent exploration (grep/find) must ALWAYS run as the baseline. Graph results supplement, they don't replace. If codebase-memory-mcp adds value, great. If not, /ccp:setup works exactly as before.
|
|
79
80
|
|
|
80
81
|
---
|
|
81
82
|
|
|
@@ -185,7 +186,7 @@ Skip any directory that does not exist.
|
|
|
185
186
|
|
|
186
187
|
For each existing recognized directory:
|
|
187
188
|
- If no `CLAUDE.md` exists in the directory: mark for generation
|
|
188
|
-
- If `CLAUDE.md` exists and its **first line** contains `<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->`: mark for regeneration (overwrite)
|
|
189
|
+
- If `CLAUDE.md` exists and its **first line** contains `<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->`: mark for regeneration (overwrite)
|
|
189
190
|
- If `CLAUDE.md` exists **without** that marker on line 1: skip (user customized it)
|
|
190
191
|
|
|
191
192
|
**Step 3: Confirm with user**
|
|
@@ -197,7 +198,7 @@ Directory-scoped CLAUDE.md files will be generated for:
|
|
|
197
198
|
test/ -- Test files (Jest + React Testing Library)
|
|
198
199
|
docs/ -- Documentation
|
|
199
200
|
|
|
200
|
-
Proceed? (These can be customized later -- /setup:refresh will skip files you edit)
|
|
201
|
+
Proceed? (These can be customized later -- /ccp:setup:refresh will skip files you edit)
|
|
201
202
|
```
|
|
202
203
|
|
|
203
204
|
**Step 4: Generate files**
|
|
@@ -210,7 +211,7 @@ Use these templates based on the detected stack (from Stage 1):
|
|
|
210
211
|
|
|
211
212
|
**Next.js project:**
|
|
212
213
|
```markdown
|
|
213
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
214
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
214
215
|
# Source Code (src/)
|
|
215
216
|
|
|
216
217
|
This directory contains the application source code for a **Next.js** project.
|
|
@@ -226,7 +227,7 @@ This directory contains the application source code for a **Next.js** project.
|
|
|
226
227
|
|
|
227
228
|
**Express + TypeScript project:**
|
|
228
229
|
```markdown
|
|
229
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
230
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
230
231
|
# Source Code (src/)
|
|
231
232
|
|
|
232
233
|
This directory contains the application source code for an **Express + TypeScript** project.
|
|
@@ -242,7 +243,7 @@ This directory contains the application source code for an **Express + TypeScrip
|
|
|
242
243
|
|
|
243
244
|
**Python + Django project:**
|
|
244
245
|
```markdown
|
|
245
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
246
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
246
247
|
# Source Code (src/)
|
|
247
248
|
|
|
248
249
|
This directory contains the application source code for a **Django** project.
|
|
@@ -258,7 +259,7 @@ This directory contains the application source code for a **Django** project.
|
|
|
258
259
|
|
|
259
260
|
**Go project:**
|
|
260
261
|
```markdown
|
|
261
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
262
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
262
263
|
# Source Code (src/)
|
|
263
264
|
|
|
264
265
|
This directory contains the application source code for a **Go** project.
|
|
@@ -274,7 +275,7 @@ This directory contains the application source code for a **Go** project.
|
|
|
274
275
|
|
|
275
276
|
**Generic project (unknown framework):**
|
|
276
277
|
```markdown
|
|
277
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
278
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
278
279
|
# Source Code (src/)
|
|
279
280
|
|
|
280
281
|
This directory contains the application source code.
|
|
@@ -292,7 +293,7 @@ This directory contains the application source code.
|
|
|
292
293
|
|
|
293
294
|
**Next.js / React project:**
|
|
294
295
|
```markdown
|
|
295
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
296
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
296
297
|
# Tests (test/)
|
|
297
298
|
|
|
298
299
|
This directory contains automated tests.
|
|
@@ -308,7 +309,7 @@ This directory contains automated tests.
|
|
|
308
309
|
|
|
309
310
|
**Python + Django project:**
|
|
310
311
|
```markdown
|
|
311
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
312
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
312
313
|
# Tests (tests/)
|
|
313
314
|
|
|
314
315
|
This directory contains automated tests.
|
|
@@ -324,7 +325,7 @@ This directory contains automated tests.
|
|
|
324
325
|
|
|
325
326
|
**Go project:**
|
|
326
327
|
```markdown
|
|
327
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
328
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
328
329
|
# Tests (test/)
|
|
329
330
|
|
|
330
331
|
This directory contains automated tests.
|
|
@@ -340,7 +341,7 @@ This directory contains automated tests.
|
|
|
340
341
|
|
|
341
342
|
**Generic project:**
|
|
342
343
|
```markdown
|
|
343
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
344
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
344
345
|
# Tests (test/)
|
|
345
346
|
|
|
346
347
|
This directory contains automated tests.
|
|
@@ -357,7 +358,7 @@ This directory contains automated tests.
|
|
|
357
358
|
### lib/ template (all stacks)
|
|
358
359
|
|
|
359
360
|
```markdown
|
|
360
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
361
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
361
362
|
# Shared Libraries (lib/)
|
|
362
363
|
|
|
363
364
|
This directory contains shared utility functions and libraries.
|
|
@@ -375,7 +376,7 @@ This directory contains shared utility functions and libraries.
|
|
|
375
376
|
|
|
376
377
|
**Next.js App Router:**
|
|
377
378
|
```markdown
|
|
378
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
379
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
379
380
|
# App Directory (app/)
|
|
380
381
|
|
|
381
382
|
This directory contains Next.js App Router pages and layouts.
|
|
@@ -391,7 +392,7 @@ This directory contains Next.js App Router pages and layouts.
|
|
|
391
392
|
|
|
392
393
|
**Rails project:**
|
|
393
394
|
```markdown
|
|
394
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
395
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
395
396
|
# App Directory (app/)
|
|
396
397
|
|
|
397
398
|
This directory contains the Rails application code.
|
|
@@ -407,7 +408,7 @@ This directory contains the Rails application code.
|
|
|
407
408
|
|
|
408
409
|
**Generic app/ directory:**
|
|
409
410
|
```markdown
|
|
410
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
411
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
411
412
|
# Application (app/)
|
|
412
413
|
|
|
413
414
|
This directory contains the main application code.
|
|
@@ -424,7 +425,7 @@ This directory contains the main application code.
|
|
|
424
425
|
### api/ template (all stacks)
|
|
425
426
|
|
|
426
427
|
```markdown
|
|
427
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
428
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
428
429
|
# API Layer (api/)
|
|
429
430
|
|
|
430
431
|
This directory contains API endpoints and route handlers.
|
|
@@ -441,7 +442,7 @@ This directory contains API endpoints and route handlers.
|
|
|
441
442
|
### scripts/ template (all stacks)
|
|
442
443
|
|
|
443
444
|
```markdown
|
|
444
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
445
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
445
446
|
# Scripts (scripts/)
|
|
446
447
|
|
|
447
448
|
This directory contains build, development, and maintenance scripts.
|
|
@@ -458,7 +459,7 @@ This directory contains build, development, and maintenance scripts.
|
|
|
458
459
|
### docs/ template (all stacks)
|
|
459
460
|
|
|
460
461
|
```markdown
|
|
461
|
-
<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->
|
|
462
|
+
<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->
|
|
462
463
|
# Documentation (docs/)
|
|
463
464
|
|
|
464
465
|
This directory contains project documentation.
|
|
@@ -485,7 +486,7 @@ Write CLAUDE.md under 100 lines. Sections:
|
|
|
485
486
|
- **Universal Rules** (5-7 lines): project-specific patterns
|
|
486
487
|
- **Forbidden** (4-6 lines): things that break this project
|
|
487
488
|
- **Methodology — CCP** (6-8 lines): reference /ccp: commands
|
|
488
|
-
- **Toolbox — CCP** (6-8 lines): reference /verify, /checkpoint, /save-session, /learn
|
|
489
|
+
- **Toolbox — CCP** (6-8 lines): reference /ccp:verify, /ccp:checkpoint, /ccp:save-session, /ccp:learn
|
|
489
490
|
- **Before ANY work** (2 lines): `npx skills find <keywords>`
|
|
490
491
|
- **Reference Docs & MCP** (3-4 lines): point to docs/, contexts/, registries
|
|
491
492
|
- **Gotchas** (3-5 lines): non-obvious things from scan
|
|
@@ -599,7 +600,7 @@ Configured:
|
|
|
599
600
|
- Safety hooks + desktop notifications
|
|
600
601
|
|
|
601
602
|
Methodology: /ccp:discuss → /ccp:plan → /ccp:execute → /ccp:verify
|
|
602
|
-
Quality: /verify → /checkpoint → /quality-gate
|
|
603
|
-
Persistence: /save-session → /resume-session → /learn → /evolve
|
|
603
|
+
Quality: /ccp:verify → /ccp:checkpoint → /ccp:quality-gate
|
|
604
|
+
Persistence: /ccp:save-session → /ccp:resume-session → /ccp:learn → /ccp:evolve
|
|
604
605
|
Update: /ccp:update
|
|
605
606
|
```
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: skill-create
|
|
2
|
+
name: ccp:skill-create
|
|
3
3
|
description: Analyze local git history to extract coding patterns and generate SKILL.md files. Local version of the Skill Creator GitHub App.
|
|
4
4
|
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# /skill-create - Local Skill Generation
|
|
7
|
+
# /ccp:skill-create - Local Skill Generation
|
|
8
8
|
|
|
9
9
|
Analyze your repository's git history to extract coding patterns and generate SKILL.md files that teach Claude your team's practices.
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
/skill-create # Analyze current repo
|
|
15
|
-
/skill-create --commits 100 # Analyze last 100 commits
|
|
16
|
-
/skill-create --output ./skills # Custom output directory
|
|
17
|
-
/skill-create --instincts # Also generate instincts for continuous-learning-v2
|
|
14
|
+
/ccp:skill-create # Analyze current repo
|
|
15
|
+
/ccp:skill-create --commits 100 # Analyze last 100 commits
|
|
16
|
+
/ccp:skill-create --output ./skills # Custom output directory
|
|
17
|
+
/ccp:skill-create --instincts # Also generate instincts for continuous-learning-v2
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## What It Does
|
|
@@ -104,7 +104,7 @@ Prefix commits with: feat:, fix:, chore:, docs:, test:, refactor:
|
|
|
104
104
|
|
|
105
105
|
## Example Output
|
|
106
106
|
|
|
107
|
-
Running `/skill-create` on a TypeScript project might produce:
|
|
107
|
+
Running `/ccp:skill-create` on a TypeScript project might produce:
|
|
108
108
|
|
|
109
109
|
```markdown
|
|
110
110
|
---
|
|
@@ -167,6 +167,6 @@ For advanced features (10k+ commits, team sharing, auto-PRs), use the [Skill Cre
|
|
|
167
167
|
|
|
168
168
|
- `/instinct-import` - Import generated instincts
|
|
169
169
|
- `/instinct-status` - View learned instincts
|
|
170
|
-
- `/evolve` - Cluster instincts into skills/agents
|
|
170
|
+
- `/ccp:evolve` - Cluster instincts into skills/agents
|
|
171
171
|
|
|
172
172
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: skill-health
|
|
2
|
+
name: ccp:skill-health
|
|
3
3
|
description: Show skill portfolio health dashboard with charts and analytics
|
|
4
4
|
command: true
|
|
5
5
|
---
|
|
@@ -31,16 +31,16 @@ node ~/.claude/scripts/skills-health.js --dashboard --json
|
|
|
31
31
|
## Usage
|
|
32
32
|
|
|
33
33
|
```
|
|
34
|
-
/skill-health # Full dashboard view
|
|
35
|
-
/skill-health --panel failures # Only failure clustering panel
|
|
36
|
-
/skill-health --json # Machine-readable JSON output
|
|
34
|
+
/ccp:skill-health # Full dashboard view
|
|
35
|
+
/ccp:skill-health --panel failures # Only failure clustering panel
|
|
36
|
+
/ccp:skill-health --json # Machine-readable JSON output
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## What to Do
|
|
40
40
|
|
|
41
41
|
1. Run the skills-health.js script with --dashboard flag
|
|
42
42
|
2. Display the output to the user
|
|
43
|
-
3. If any skills are declining, highlight them and suggest running /evolve
|
|
43
|
+
3. If any skills are declining, highlight them and suggest running /ccp:evolve
|
|
44
44
|
4. If there are pending amendments, suggest reviewing them
|
|
45
45
|
|
|
46
46
|
## Panels
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ccp:tdd
|
|
2
3
|
description: Enforce test-driven development workflow. Scaffold interfaces, generate tests FIRST, then implement minimal code to pass. Ensure 80%+ coverage.
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -16,7 +17,7 @@ This command invokes the **tdd-guide** agent to enforce test-driven development
|
|
|
16
17
|
|
|
17
18
|
## When to Use
|
|
18
19
|
|
|
19
|
-
Use `/tdd` when:
|
|
20
|
+
Use `/ccp:tdd` when:
|
|
20
21
|
- Implementing new features
|
|
21
22
|
- Adding new functions/components
|
|
22
23
|
- Fixing bugs (write test that reproduces bug first)
|
|
@@ -49,7 +50,7 @@ REPEAT: Next feature/scenario
|
|
|
49
50
|
## Example Usage
|
|
50
51
|
|
|
51
52
|
```
|
|
52
|
-
User: /tdd I need a function to calculate market liquidity score
|
|
53
|
+
User: /ccp:tdd I need a function to calculate market liquidity score
|
|
53
54
|
|
|
54
55
|
Agent (tdd-guide):
|
|
55
56
|
# TDD Session: Market Liquidity Score Calculator
|
|
@@ -285,7 +286,7 @@ Coverage: 100% ✅ (Target: 80%)
|
|
|
285
286
|
- External service calls
|
|
286
287
|
- React components with hooks
|
|
287
288
|
|
|
288
|
-
**E2E Tests** (use `/e2e` command):
|
|
289
|
+
**E2E Tests** (use `/ccp:e2e` command):
|
|
289
290
|
- Critical user flows
|
|
290
291
|
- Multi-step processes
|
|
291
292
|
- Full stack integration
|
|
@@ -311,11 +312,11 @@ Never skip the RED phase. Never write code before tests.
|
|
|
311
312
|
|
|
312
313
|
## Integration with Other Commands
|
|
313
314
|
|
|
314
|
-
- Use `/plan` first to understand what to build
|
|
315
|
-
- Use `/tdd` to implement with tests
|
|
316
|
-
- Use `/build-fix` if build errors occur
|
|
317
|
-
- Use `/code-review` to review implementation
|
|
318
|
-
- Use `/test-coverage` to verify coverage
|
|
315
|
+
- Use `/ccp:plan` first to understand what to build
|
|
316
|
+
- Use `/ccp:tdd` to implement with tests
|
|
317
|
+
- Use `/ccp:build-fix` if build errors occur
|
|
318
|
+
- Use `/ccp:code-review` to review implementation
|
|
319
|
+
- Use `/ccp:test-coverage` to verify coverage
|
|
319
320
|
|
|
320
321
|
## Related Agents
|
|
321
322
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ccp:tool-guide
|
|
2
3
|
description: "MCP tool recommendations per task type -- which tools to use when"
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -32,7 +33,7 @@ The kit configures or recommends these MCP tools:
|
|
|
32
33
|
## Usage Tips
|
|
33
34
|
|
|
34
35
|
- If a tool is not installed, Claude will skip it automatically -- no errors.
|
|
35
|
-
- Use `/setup` to auto-detect and configure available MCP tools.
|
|
36
|
+
- Use `/ccp:setup` to auto-detect and configure available MCP tools.
|
|
36
37
|
- Context7 is the highest-value tool -- it prevents the #1 cause of agent errors (outdated API usage).
|
|
37
38
|
- codebase-memory-mcp and cocoindex-code serve similar purposes -- you don't need both.
|
|
38
39
|
- For large codebases (100+ files), codebase-memory-mcp significantly reduces context waste from file exploration.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ccp:workstreams
|
|
3
|
+
description: Manage parallel workstreams — list, create, switch, status, progress, complete, and resume
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /ccp:workstreams
|
|
7
|
+
|
|
8
|
+
Manage parallel workstreams for concurrent milestone work.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
`/ccp:workstreams [subcommand] [args]`
|
|
13
|
+
|
|
14
|
+
### Subcommands
|
|
15
|
+
|
|
16
|
+
| Command | Description |
|
|
17
|
+
|---------|-------------|
|
|
18
|
+
| `list` | List all workstreams with status |
|
|
19
|
+
| `create <name>` | Create a new workstream |
|
|
20
|
+
| `status <name>` | Detailed status for one workstream |
|
|
21
|
+
| `switch <name>` | Set active workstream |
|
|
22
|
+
| `progress` | Progress summary across all workstreams |
|
|
23
|
+
| `complete <name>` | Archive a completed workstream |
|
|
24
|
+
| `resume <name>` | Resume work in a workstream |
|
|
25
|
+
|
|
26
|
+
## Step 1: Parse Subcommand
|
|
27
|
+
|
|
28
|
+
Parse the user's input to determine which workstream operation to perform.
|
|
29
|
+
If no subcommand given, default to `list`.
|
|
30
|
+
|
|
31
|
+
## Step 2: Execute Operation
|
|
32
|
+
|
|
33
|
+
### list
|
|
34
|
+
Scan `.planning/` directory structure for workstream directories. For each workstream found:
|
|
35
|
+
- Read its STATE.md to get status, current phase, and progress
|
|
36
|
+
- Display results in a table format showing name, status, current phase, and progress
|
|
37
|
+
|
|
38
|
+
If no workstreams exist (only default `.planning/` directory), display:
|
|
39
|
+
"No workstreams found. Use `/ccp:workstreams create <name>` to create one."
|
|
40
|
+
|
|
41
|
+
### create
|
|
42
|
+
Create a new workstream directory at `.planning/workstreams/<name>/`:
|
|
43
|
+
- Create the directory with `mkdir -p`
|
|
44
|
+
- Create a STATE.md from the standard template (copy structure from `.planning/STATE.md` with fresh values)
|
|
45
|
+
- Display the new workstream path and suggest: `/ccp:new-milestone --ws <name>` to set up the milestone
|
|
46
|
+
|
|
47
|
+
### status
|
|
48
|
+
Read `.planning/workstreams/<name>/STATE.md` and display detailed phase breakdown and state information.
|
|
49
|
+
If the workstream does not exist, display: "Workstream '<name>' not found."
|
|
50
|
+
|
|
51
|
+
### switch
|
|
52
|
+
Verify `.planning/workstreams/<name>/` exists, then set `CCP_WORKSTREAM=<name>` environment variable for the current session.
|
|
53
|
+
Display: "Switched to workstream '<name>'."
|
|
54
|
+
|
|
55
|
+
### progress
|
|
56
|
+
Scan all workstream directories under `.planning/workstreams/`. For each, read its STATE.md and extract progress percentage. Display a progress overview table across all workstreams.
|
|
57
|
+
|
|
58
|
+
### complete
|
|
59
|
+
Move `.planning/workstreams/<name>/` to `.planning/milestones/<name>/` to archive the completed workstream.
|
|
60
|
+
Display: "Workstream '<name>' archived to milestones/."
|
|
61
|
+
|
|
62
|
+
### resume
|
|
63
|
+
Set the workstream as active and suggest `/ccp:resume-work --ws <name>`.
|
|
64
|
+
|
|
65
|
+
## Step 3: Display Results
|
|
66
|
+
|
|
67
|
+
Format the results into a human-readable display.
|
|
68
|
+
Include the `${CCP_WS}` flag in any routing suggestions.
|
package/src/examples/CLAUDE.md
CHANGED
|
@@ -87,10 +87,10 @@ DEBUG=false
|
|
|
87
87
|
|
|
88
88
|
## Available Commands
|
|
89
89
|
|
|
90
|
-
- `/tdd` - Test-driven development workflow
|
|
91
|
-
- `/plan` - Create implementation plan
|
|
92
|
-
- `/code-review` - Review code quality
|
|
93
|
-
- `/build-fix` - Fix build errors
|
|
90
|
+
- `/ccp:tdd` - Test-driven development workflow
|
|
91
|
+
- `/ccp:plan` - Create implementation plan
|
|
92
|
+
- `/ccp:code-review` - Review code quality
|
|
93
|
+
- `/ccp:build-fix` - Fix build errors
|
|
94
94
|
|
|
95
95
|
## Git Workflow
|
|
96
96
|
|
|
@@ -286,18 +286,18 @@ pytest --lf
|
|
|
286
286
|
|
|
287
287
|
```bash
|
|
288
288
|
# Planning
|
|
289
|
-
/plan "Add order refund system with Stripe integration"
|
|
289
|
+
/ccp:plan "Add order refund system with Stripe integration"
|
|
290
290
|
|
|
291
291
|
# Development with TDD
|
|
292
|
-
/tdd
|
|
292
|
+
/ccp:tdd # pytest-based TDD workflow
|
|
293
293
|
|
|
294
294
|
# Review
|
|
295
|
-
/python-review
|
|
295
|
+
/ccp:python-review # Python-specific code review
|
|
296
296
|
/security-scan # Django security audit
|
|
297
|
-
/code-review
|
|
297
|
+
/ccp:code-review # General quality check
|
|
298
298
|
|
|
299
299
|
# Verification
|
|
300
|
-
/verify
|
|
300
|
+
/ccp:verify # Build, lint, test, security scan
|
|
301
301
|
```
|
|
302
302
|
|
|
303
303
|
## Git Workflow
|
|
@@ -218,9 +218,9 @@ OTEL_ENDPOINT= # OpenTelemetry collector
|
|
|
218
218
|
## Testing Strategy
|
|
219
219
|
|
|
220
220
|
```bash
|
|
221
|
-
/go-test
|
|
222
|
-
/go-review
|
|
223
|
-
/go-build
|
|
221
|
+
/ccp:go-test # TDD workflow for Go
|
|
222
|
+
/ccp:go-review # Go-specific code review
|
|
223
|
+
/ccp:go-build # Fix build errors
|
|
224
224
|
```
|
|
225
225
|
|
|
226
226
|
### Test Commands
|
|
@@ -245,13 +245,13 @@ go test ./... -race -count=1
|
|
|
245
245
|
|
|
246
246
|
```bash
|
|
247
247
|
# Planning
|
|
248
|
-
/plan "Add rate limiting to user endpoints"
|
|
248
|
+
/ccp:plan "Add rate limiting to user endpoints"
|
|
249
249
|
|
|
250
250
|
# Development
|
|
251
|
-
/go-test
|
|
251
|
+
/ccp:go-test # TDD with Go-specific patterns
|
|
252
252
|
|
|
253
253
|
# Review
|
|
254
|
-
/go-review
|
|
254
|
+
/ccp:go-review # Go idioms, error handling, concurrency
|
|
255
255
|
/security-scan # Secrets and vulnerabilities
|
|
256
256
|
|
|
257
257
|
# Before merge
|
|
@@ -264,17 +264,17 @@ cargo fmt -- --check
|
|
|
264
264
|
|
|
265
265
|
```bash
|
|
266
266
|
# Planning
|
|
267
|
-
/plan "Add order fulfillment with Stripe payment"
|
|
267
|
+
/ccp:plan "Add order fulfillment with Stripe payment"
|
|
268
268
|
|
|
269
269
|
# Development with TDD
|
|
270
|
-
/tdd
|
|
270
|
+
/ccp:tdd # cargo test-based TDD workflow
|
|
271
271
|
|
|
272
272
|
# Review
|
|
273
|
-
/code-review
|
|
273
|
+
/ccp:code-review # Rust-specific code review
|
|
274
274
|
/security-scan # Dependency audit + unsafe scan
|
|
275
275
|
|
|
276
276
|
# Verification
|
|
277
|
-
/verify
|
|
277
|
+
/ccp:verify # Build, clippy, test, security scan
|
|
278
278
|
```
|
|
279
279
|
|
|
280
280
|
## Git Workflow
|
|
@@ -128,9 +128,9 @@ NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
|
128
128
|
## Testing Strategy
|
|
129
129
|
|
|
130
130
|
```bash
|
|
131
|
-
/tdd
|
|
132
|
-
/e2e
|
|
133
|
-
/test-coverage
|
|
131
|
+
/ccp:tdd # Unit + integration tests for new features
|
|
132
|
+
/ccp:e2e # Playwright tests for auth flow, billing, dashboard
|
|
133
|
+
/ccp:test-coverage # Verify 80%+ coverage
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
### Critical E2E Flows
|
|
@@ -144,18 +144,18 @@ NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
|
144
144
|
|
|
145
145
|
```bash
|
|
146
146
|
# Planning a feature
|
|
147
|
-
/plan "Add team invitations with email notifications"
|
|
147
|
+
/ccp:plan "Add team invitations with email notifications"
|
|
148
148
|
|
|
149
149
|
# Developing with TDD
|
|
150
|
-
/tdd
|
|
150
|
+
/ccp:tdd
|
|
151
151
|
|
|
152
152
|
# Before committing
|
|
153
|
-
/code-review
|
|
153
|
+
/ccp:code-review
|
|
154
154
|
/security-scan
|
|
155
155
|
|
|
156
156
|
# Before release
|
|
157
|
-
/e2e
|
|
158
|
-
/test-coverage
|
|
157
|
+
/ccp:e2e
|
|
158
|
+
/ccp:test-coverage
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
## Git Workflow
|
|
@@ -91,7 +91,7 @@ async function main() {
|
|
|
91
91
|
if (aliases.length > 0) {
|
|
92
92
|
const aliasNames = aliases.map(a => a.name).join(', ');
|
|
93
93
|
log(`[SessionStart] ${aliases.length} session alias(es) available: ${aliasNames}`);
|
|
94
|
-
log(`[SessionStart] Use /sessions load <alias> to continue a previous session`);
|
|
94
|
+
log(`[SessionStart] Use /ccp:sessions load <alias> to continue a previous session`);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
// Detect and report package manager
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"context7": {
|
|
78
78
|
"command": "npx",
|
|
79
79
|
"args": ["-y", "@upstash/context7-mcp@latest"],
|
|
80
|
-
"description": "Live documentation lookup — use with /docs command and documentation-lookup skill (resolve-library-id, query-docs)."
|
|
80
|
+
"description": "Live documentation lookup — use with /ccp:docs command and documentation-lookup skill (resolve-library-id, query-docs)."
|
|
81
81
|
},
|
|
82
82
|
"magic": {
|
|
83
83
|
"command": "npx",
|