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.
Files changed (124) hide show
  1. package/README.md +76 -97
  2. package/bin/install.js +14 -14
  3. package/manifest.json +1 -1
  4. package/package.json +17 -5
  5. package/src/agents/doc-updater.md +1 -1
  6. package/src/agents/gan-evaluator.md +209 -0
  7. package/src/agents/gan-generator.md +131 -0
  8. package/src/agents/gan-planner.md +99 -0
  9. package/src/agents/harness-optimizer.md +35 -0
  10. package/src/agents/loop-operator.md +36 -0
  11. package/src/agents/opensource-forker.md +198 -0
  12. package/src/agents/opensource-packager.md +249 -0
  13. package/src/agents/opensource-sanitizer.md +188 -0
  14. package/src/agents/performance-optimizer.md +446 -0
  15. package/src/available-rules/README.md +1 -1
  16. package/src/commands/{aside.md → ccp/aside.md} +14 -13
  17. package/src/commands/{build-fix.md → ccp/build-fix.md} +5 -0
  18. package/src/commands/{checkpoint.md → ccp/checkpoint.md} +12 -7
  19. package/src/commands/{code-review.md → ccp/code-review.md} +5 -0
  20. package/src/commands/{context-budget.md → ccp/context-budget.md} +2 -1
  21. package/src/commands/{cpp-build.md → ccp/cpp-build.md} +6 -5
  22. package/src/commands/{cpp-review.md → ccp/cpp-review.md} +7 -6
  23. package/src/commands/{cpp-test.md → ccp/cpp-test.md} +6 -5
  24. package/src/commands/ccp/docs-update.md +48 -0
  25. package/src/commands/{docs.md → ccp/docs.md} +4 -3
  26. package/src/commands/{e2e.md → ccp/e2e.md} +7 -6
  27. package/src/commands/{eval.md → ccp/eval.md} +10 -5
  28. package/src/commands/{evolve.md → ccp/evolve.md} +3 -3
  29. package/src/commands/{go-build.md → ccp/go-build.md} +6 -5
  30. package/src/commands/{go-review.md → ccp/go-review.md} +7 -6
  31. package/src/commands/{go-test.md → ccp/go-test.md} +6 -5
  32. package/src/commands/{gradle-build.md → ccp/gradle-build.md} +1 -0
  33. package/src/commands/{harness-audit.md → ccp/harness-audit.md} +6 -1
  34. package/src/commands/{kotlin-build.md → ccp/kotlin-build.md} +6 -5
  35. package/src/commands/{kotlin-review.md → ccp/kotlin-review.md} +7 -6
  36. package/src/commands/{kotlin-test.md → ccp/kotlin-test.md} +6 -5
  37. package/src/commands/{learn.md → ccp/learn.md} +7 -2
  38. package/src/commands/{model-route.md → ccp/model-route.md} +6 -1
  39. package/src/commands/{orchestrate.md → ccp/orchestrate.md} +4 -3
  40. package/src/commands/{plan.md → ccp/plan.md} +6 -5
  41. package/src/commands/ccp/profile-user.md +46 -0
  42. package/src/commands/{prompt-optimize.md → ccp/prompt-optimize.md} +3 -2
  43. package/src/commands/{prune.md → ccp/prune.md} +4 -4
  44. package/src/commands/{python-review.md → ccp/python-review.md} +7 -6
  45. package/src/commands/{quality-gate.md → ccp/quality-gate.md} +6 -1
  46. package/src/commands/{refactor-clean.md → ccp/refactor-clean.md} +5 -0
  47. package/src/commands/{resume-session.md → ccp/resume-session.md} +9 -8
  48. package/src/commands/ccp/review.md +37 -0
  49. package/src/commands/{rules-distill.md → ccp/rules-distill.md} +2 -1
  50. package/src/commands/{rust-build.md → ccp/rust-build.md} +6 -5
  51. package/src/commands/{rust-review.md → ccp/rust-review.md} +7 -6
  52. package/src/commands/{rust-test.md → ccp/rust-test.md} +6 -5
  53. package/src/commands/{save-session.md → ccp/save-session.md} +2 -1
  54. package/src/commands/ccp/secure-phase.md +35 -0
  55. package/src/commands/{sessions.md → ccp/sessions.md} +29 -24
  56. package/src/commands/{setup-pm.md → ccp/setup-pm.md} +1 -0
  57. package/src/commands/{setup-refresh.md → ccp/setup-refresh.md} +4 -3
  58. package/src/commands/{setup.md → ccp/setup.md} +24 -23
  59. package/src/commands/{skill-create.md → ccp/skill-create.md} +8 -8
  60. package/src/commands/{skill-health.md → ccp/skill-health.md} +5 -5
  61. package/src/commands/{tdd.md → ccp/tdd.md} +9 -8
  62. package/src/commands/{test-coverage.md → ccp/test-coverage.md} +5 -0
  63. package/src/commands/{tool-guide.md → ccp/tool-guide.md} +2 -1
  64. package/src/commands/{update-codemaps.md → ccp/update-codemaps.md} +5 -0
  65. package/src/commands/{update-docs.md → ccp/update-docs.md} +5 -0
  66. package/src/commands/{verify.md → ccp/verify.md} +5 -0
  67. package/src/commands/ccp/workstreams.md +68 -0
  68. package/src/examples/CLAUDE.md +4 -4
  69. package/src/examples/django-api-CLAUDE.md +5 -5
  70. package/src/examples/go-microservice-CLAUDE.md +6 -6
  71. package/src/examples/rust-api-CLAUDE.md +4 -4
  72. package/src/examples/saas-nextjs-CLAUDE.md +8 -8
  73. package/src/hooks/session-start.js +1 -1
  74. package/src/pilot/references/mcp-servers.json +1 -1
  75. package/src/pilot/workflows/docs-update.md +1165 -0
  76. package/src/pilot/workflows/help.md +48 -56
  77. package/src/pilot/workflows/profile-user.md +452 -0
  78. package/src/pilot/workflows/review.md +244 -0
  79. package/src/pilot/workflows/secure-phase.md +164 -0
  80. package/src/rules/common/code-review.md +124 -0
  81. package/src/rules/zh/README.md +108 -0
  82. package/src/rules/zh/agents.md +50 -0
  83. package/src/rules/zh/code-review.md +124 -0
  84. package/src/rules/zh/coding-style.md +48 -0
  85. package/src/rules/zh/development-workflow.md +44 -0
  86. package/src/rules/zh/git-workflow.md +24 -0
  87. package/src/rules/zh/hooks.md +30 -0
  88. package/src/rules/zh/patterns.md +31 -0
  89. package/src/rules/zh/performance.md +55 -0
  90. package/src/rules/zh/security.md +29 -0
  91. package/src/rules/zh/testing.md +29 -0
  92. package/src/skills/autonomous-agent-harness/SKILL.md +267 -0
  93. package/src/skills/autonomous-loops/SKILL.md +610 -0
  94. package/src/skills/bun-runtime/SKILL.md +84 -0
  95. package/src/skills/content-hash-cache-pattern/SKILL.md +161 -0
  96. package/src/skills/context-budget/SKILL.md +3 -3
  97. package/src/skills/continuous-learning-v2/SKILL.md +4 -4
  98. package/src/skills/continuous-learning-v2/agents/observer.md +1 -1
  99. package/src/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
  100. package/src/skills/design-system/SKILL.md +82 -0
  101. package/src/skills/eval-harness/SKILL.md +270 -0
  102. package/src/skills/flutter-dart-code-review/SKILL.md +435 -0
  103. package/src/skills/gan-style-harness/SKILL.md +278 -0
  104. package/src/skills/git-workflow/SKILL.md +715 -0
  105. package/src/skills/hexagonal-architecture/SKILL.md +276 -0
  106. package/src/skills/iterative-retrieval/SKILL.md +211 -0
  107. package/src/skills/laravel-plugin-discovery/SKILL.md +229 -0
  108. package/src/skills/nextjs-turbopack/SKILL.md +44 -0
  109. package/src/skills/nuxt4-patterns/SKILL.md +100 -0
  110. package/src/skills/opensource-pipeline/SKILL.md +255 -0
  111. package/src/skills/perl-security/SKILL.md +503 -0
  112. package/src/skills/project-flow-ops/SKILL.md +111 -0
  113. package/src/skills/project-guidelines-example/SKILL.md +349 -0
  114. package/src/skills/prompt-optimizer/SKILL.md +38 -38
  115. package/src/skills/pytorch-patterns/SKILL.md +396 -0
  116. package/src/skills/regex-vs-llm-structured-text/SKILL.md +220 -0
  117. package/src/skills/repo-scan/SKILL.md +78 -0
  118. package/src/skills/rules-distill/SKILL.md +264 -0
  119. package/src/skills/rules-distill/scripts/scan-rules.sh +58 -0
  120. package/src/skills/rules-distill/scripts/scan-skills.sh +129 -0
  121. package/src/skills/swift-concurrency-6-2/SKILL.md +216 -0
  122. package/src/skills/token-budget-advisor/SKILL.md +133 -0
  123. package/src/skills/verification-loop/SKILL.md +1 -1
  124. package/src/skills/workspace-surface-audit/SKILL.md +125 -0
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:cpp-test
2
3
  description: Enforce TDD workflow for C++. Write GoogleTest tests first, then implement. Verify coverage with gcov/lcov.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command enforces test-driven development methodology for C++ code using Goo
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/cpp-test` when:
21
+ Use `/ccp:cpp-test` when:
21
22
  - Implementing new C++ functions or classes
22
23
  - Adding test coverage to existing code
23
24
  - Fixing bugs (write failing test first)
@@ -36,7 +37,7 @@ REPEAT → Next test case
36
37
  ## Example Session
37
38
 
38
39
  ````
39
- User: /cpp-test I need a function to validate email addresses
40
+ User: /ccp:cpp-test I need a function to validate email addresses
40
41
 
41
42
  Agent:
42
43
  # TDD Session: Email Validator
@@ -241,9 +242,9 @@ genhtml coverage.info --output-directory coverage_html
241
242
 
242
243
  ## Related Commands
243
244
 
244
- - `/cpp-build` - Fix build errors
245
- - `/cpp-review` - Review code after implementation
246
- - `/verify` - Run full verification loop
245
+ - `/ccp:cpp-build` - Fix build errors
246
+ - `/ccp:cpp-review` - Review code after implementation
247
+ - `/ccp:verify` - Run full verification loop
247
248
 
248
249
  ## Related
249
250
 
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: ccp:docs-update
3
+ description: Generate or update project documentation verified against the codebase
4
+ argument-hint: "[--force] [--verify-only]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - AskUserQuestion
14
+ ---
15
+ <objective>
16
+ Generate and update up to 9 documentation files for the current project. Each doc type is written by a ccp-doc-writer subagent that explores the codebase directly — no hallucinated paths, phantom endpoints, or stale signatures.
17
+
18
+ Flag handling rule:
19
+ - The optional flags documented below are available behaviors, not implied active behaviors
20
+ - A flag is active only when its literal token appears in `$ARGUMENTS`
21
+ - If a documented flag is absent from `$ARGUMENTS`, treat it as inactive
22
+ - `--force`: skip preservation prompts, regenerate all docs regardless of existing content or GSD markers
23
+ - `--verify-only`: check existing docs for accuracy against codebase, no generation (full verification requires Phase 4 verifier)
24
+ - If `--force` and `--verify-only` both appear in `$ARGUMENTS`, `--force` takes precedence
25
+ </objective>
26
+
27
+ <execution_context>
28
+ @~/.claude/pilot/workflows/docs-update.md
29
+ </execution_context>
30
+
31
+ <context>
32
+ Arguments: $ARGUMENTS
33
+
34
+ **Available optional flags (documentation only — not automatically active):**
35
+ - `--force` — Regenerate all docs. Overwrites hand-written and GSD docs alike. No preservation prompts.
36
+ - `--verify-only` — Check existing docs for accuracy against the codebase. No files are written. Reports VERIFY marker count. Full codebase fact-checking requires the ccp-doc-verifier agent (Phase 4).
37
+
38
+ **Active flags must be derived from `$ARGUMENTS`:**
39
+ - `--force` is active only if the literal `--force` token is present in `$ARGUMENTS`
40
+ - `--verify-only` is active only if the literal `--verify-only` token is present in `$ARGUMENTS`
41
+ - If neither token appears, run the standard full-phase generation flow
42
+ - Do not infer that a flag is active just because it is documented in this prompt
43
+ </context>
44
+
45
+ <process>
46
+ Execute the docs-update workflow from @~/.claude/pilot/workflows/docs-update.md end-to-end.
47
+ Preserve all workflow gates (preservation_check, flag handling, wave execution, monorepo dispatch, commit, reporting).
48
+ </process>
@@ -1,8 +1,9 @@
1
1
  ---
2
+ name: ccp:docs
2
3
  description: Look up current documentation for a library or topic via Context7.
3
4
  ---
4
5
 
5
- # /docs
6
+ # /ccp:docs
6
7
 
7
8
  ## Purpose
8
9
 
@@ -11,10 +12,10 @@ Look up up-to-date documentation for a library, framework, or API and return a s
11
12
  ## Usage
12
13
 
13
14
  ```
14
- /docs [library name] [question]
15
+ /ccp:docs [library name] [question]
15
16
  ```
16
17
 
17
- Use quotes for multi-word arguments so they are parsed as a single token. Example: `/docs "Next.js" "How do I configure middleware?"`
18
+ Use quotes for multi-word arguments so they are parsed as a single token. Example: `/ccp:docs "Next.js" "How do I configure middleware?"`
18
19
 
19
20
  If library or question is omitted, prompt the user for:
20
21
  1. The library or product name (e.g. Next.js, Prisma, Supabase).
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:e2e
2
3
  description: Generate and run end-to-end tests with Playwright. Creates test journeys, runs tests, captures screenshots/videos/traces, and uploads artifacts.
3
4
  ---
4
5
 
@@ -16,7 +17,7 @@ This command invokes the **e2e-runner** agent to generate, maintain, and execute
16
17
 
17
18
  ## When to Use
18
19
 
19
- Use `/e2e` when:
20
+ Use `/ccp:e2e` when:
20
21
  - Testing critical user journeys (login, trading, payments)
21
22
  - Verifying multi-step flows work end-to-end
22
23
  - Testing UI interactions and navigation
@@ -37,7 +38,7 @@ The e2e-runner agent will:
37
38
  ## Example Usage
38
39
 
39
40
  ```
40
- User: /e2e Test the market search and view flow
41
+ User: /ccp:e2e Test the market search and view flow
41
42
 
42
43
  Agent (e2e-runner):
43
44
  # E2E Test Generation: Market Search and View Flow
@@ -330,10 +331,10 @@ For PMX, prioritize these E2E tests:
330
331
 
331
332
  ## Integration with Other Commands
332
333
 
333
- - Use `/plan` to identify critical journeys to test
334
- - Use `/tdd` for unit tests (faster, more granular)
335
- - Use `/e2e` for integration and user journey tests
336
- - Use `/code-review` to verify test quality
334
+ - Use `/ccp:plan` to identify critical journeys to test
335
+ - Use `/ccp:tdd` for unit tests (faster, more granular)
336
+ - Use `/ccp:e2e` for integration and user journey tests
337
+ - Use `/ccp:code-review` to verify test quality
337
338
 
338
339
  ## Related Agents
339
340
 
@@ -1,14 +1,19 @@
1
+ ---
2
+ name: ccp:eval
3
+ description: "Manage eval-driven development workflow"
4
+ ---
5
+
1
6
  # Eval Command
2
7
 
3
8
  Manage eval-driven development workflow.
4
9
 
5
10
  ## Usage
6
11
 
7
- `/eval [define|check|report|list] [feature-name]`
12
+ `/ccp:eval [define|check|report|list] [feature-name]`
8
13
 
9
14
  ## Define Evals
10
15
 
11
- `/eval define feature-name`
16
+ `/ccp:eval define feature-name`
12
17
 
13
18
  Create a new eval definition:
14
19
 
@@ -35,7 +40,7 @@ Created: $(date)
35
40
 
36
41
  ## Check Evals
37
42
 
38
- `/eval check feature-name`
43
+ `/ccp:eval check feature-name`
39
44
 
40
45
  Run evals for a feature:
41
46
 
@@ -60,7 +65,7 @@ Status: IN PROGRESS / READY
60
65
 
61
66
  ## Report Evals
62
67
 
63
- `/eval report feature-name`
68
+ `/ccp:eval report feature-name`
64
69
 
65
70
  Generate comprehensive eval report:
66
71
 
@@ -98,7 +103,7 @@ RECOMMENDATION
98
103
 
99
104
  ## List Evals
100
105
 
101
- `/eval list`
106
+ `/ccp:eval list`
102
107
 
103
108
  Show all eval definitions:
104
109
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: evolve
2
+ name: ccp:evolve
3
3
  description: Analyze instincts and suggest or generate evolved structures
4
4
  command: true
5
5
  ---
@@ -28,8 +28,8 @@ Analyzes instincts and clusters related ones into higher-level structures:
28
28
  ## Usage
29
29
 
30
30
  ```
31
- /evolve # Analyze all instincts and suggest evolutions
32
- /evolve --generate # Also generate files under evolved/{skills,commands,agents}
31
+ /ccp:evolve # Analyze all instincts and suggest evolutions
32
+ /ccp:evolve --generate # Also generate files under evolved/{skills,commands,agents}
33
33
  ```
34
34
 
35
35
  ## Evolution Rules
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:go-build
2
3
  description: Fix Go build errors, go vet warnings, and linter issues incrementally. Invokes the go-build-resolver agent for minimal, surgical fixes.
3
4
  ---
4
5
 
@@ -16,7 +17,7 @@ This command invokes the **go-build-resolver** agent to incrementally fix Go bui
16
17
 
17
18
  ## When to Use
18
19
 
19
- Use `/go-build` when:
20
+ Use `/ccp:go-build` when:
20
21
  - `go build ./...` fails with errors
21
22
  - `go vet ./...` reports issues
22
23
  - `golangci-lint run` shows warnings
@@ -44,7 +45,7 @@ go mod tidy -v
44
45
  ## Example Session
45
46
 
46
47
  ```text
47
- User: /go-build
48
+ User: /ccp:go-build
48
49
 
49
50
  Agent:
50
51
  # Go Build Resolution
@@ -173,9 +174,9 @@ The agent will stop and report if:
173
174
 
174
175
  ## Related Commands
175
176
 
176
- - `/go-test` - Run tests after build succeeds
177
- - `/go-review` - Review code quality
178
- - `/verify` - Full verification loop
177
+ - `/ccp:go-test` - Run tests after build succeeds
178
+ - `/ccp:go-review` - Review code quality
179
+ - `/ccp:verify` - Full verification loop
179
180
 
180
181
  ## Related
181
182
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:go-review
2
3
  description: Comprehensive Go code review for idiomatic patterns, concurrency safety, error handling, and security. Invokes the go-reviewer agent.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command invokes the **go-reviewer** agent for comprehensive Go-specific cod
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/go-review` when:
21
+ Use `/ccp:go-review` when:
21
22
  - After writing or modifying Go code
22
23
  - Before committing Go changes
23
24
  - Reviewing pull requests with Go code
@@ -69,7 +70,7 @@ govulncheck ./...
69
70
  ## Example Usage
70
71
 
71
72
  ```text
72
- User: /go-review
73
+ User: /ccp:go-review
73
74
 
74
75
  Agent:
75
76
  # Go Code Review Report
@@ -137,10 +138,10 @@ Recommendation: ❌ Block merge until CRITICAL issue is fixed
137
138
 
138
139
  ## Integration with Other Commands
139
140
 
140
- - Use `/go-test` first to ensure tests pass
141
- - Use `/go-build` if build errors occur
142
- - Use `/go-review` before committing
143
- - Use `/code-review` for non-Go specific concerns
141
+ - Use `/ccp:go-test` first to ensure tests pass
142
+ - Use `/ccp:go-build` if build errors occur
143
+ - Use `/ccp:go-review` before committing
144
+ - Use `/ccp:code-review` for non-Go specific concerns
144
145
 
145
146
  ## Related
146
147
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:go-test
2
3
  description: Enforce TDD workflow for Go. Write table-driven tests first, then implement. Verify 80%+ coverage with go test -cover.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command enforces test-driven development methodology for Go code using idio
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/go-test` when:
21
+ Use `/ccp:go-test` when:
21
22
  - Implementing new Go functions
22
23
  - Adding test coverage to existing code
23
24
  - Fixing bugs (write failing test first)
@@ -36,7 +37,7 @@ REPEAT → Next test case
36
37
  ## Example Session
37
38
 
38
39
  ````
39
- User: /go-test I need a function to validate email addresses
40
+ User: /ccp:go-test I need a function to validate email addresses
40
41
 
41
42
  Agent:
42
43
  # TDD Session: Email Validator
@@ -258,9 +259,9 @@ go test -race -cover ./...
258
259
 
259
260
  ## Related Commands
260
261
 
261
- - `/go-build` - Fix build errors
262
- - `/go-review` - Review code after implementation
263
- - `/verify` - Run full verification loop
262
+ - `/ccp:go-build` - Fix build errors
263
+ - `/ccp:go-review` - Review code after implementation
264
+ - `/ccp:verify` - Run full verification loop
264
265
 
265
266
  ## Related
266
267
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:gradle-build
2
3
  description: Fix Gradle build errors for Android and KMP projects
3
4
  ---
4
5
 
@@ -1,10 +1,15 @@
1
+ ---
2
+ name: ccp:harness-audit
3
+ description: "Run deterministic repository harness audit and return prioritized scorecard"
4
+ ---
5
+
1
6
  # Harness Audit Command
2
7
 
3
8
  Run a deterministic repository harness audit and return a prioritized scorecard.
4
9
 
5
10
  ## Usage
6
11
 
7
- `/harness-audit [scope] [--format text|json]`
12
+ `/ccp:harness-audit [scope] [--format text|json]`
8
13
 
9
14
  - `scope` (optional): `repo` (default), `hooks`, `skills`, `commands`, `agents`
10
15
  - `--format`: output style (`text` default, `json` for automation)
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:kotlin-build
2
3
  description: Fix Kotlin/Gradle build errors, compiler warnings, and dependency issues incrementally. Invokes the kotlin-build-resolver agent for minimal, surgical fixes.
3
4
  ---
4
5
 
@@ -16,7 +17,7 @@ This command invokes the **kotlin-build-resolver** agent to incrementally fix Ko
16
17
 
17
18
  ## When to Use
18
19
 
19
- Use `/kotlin-build` when:
20
+ Use `/ccp:kotlin-build` when:
20
21
  - `./gradlew build` fails with errors
21
22
  - Kotlin compiler reports errors
22
23
  - `./gradlew detekt` reports violations
@@ -43,7 +44,7 @@ Use `/kotlin-build` when:
43
44
  ## Example Session
44
45
 
45
46
  ````text
46
- User: /kotlin-build
47
+ User: /ccp:kotlin-build
47
48
 
48
49
  Agent:
49
50
  # Kotlin Build Resolution
@@ -164,9 +165,9 @@ The agent will stop and report if:
164
165
 
165
166
  ## Related Commands
166
167
 
167
- - `/kotlin-test` - Run tests after build succeeds
168
- - `/kotlin-review` - Review code quality
169
- - `/verify` - Full verification loop
168
+ - `/ccp:kotlin-test` - Run tests after build succeeds
169
+ - `/ccp:kotlin-review` - Review code quality
170
+ - `/ccp:verify` - Full verification loop
170
171
 
171
172
  ## Related
172
173
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:kotlin-review
2
3
  description: Comprehensive Kotlin code review for idiomatic patterns, null safety, coroutine safety, and security. Invokes the kotlin-reviewer agent.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command invokes the **kotlin-reviewer** agent for comprehensive Kotlin-spec
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/kotlin-review` when:
21
+ Use `/ccp:kotlin-review` when:
21
22
  - After writing or modifying Kotlin code
22
23
  - Before committing Kotlin changes
23
24
  - Reviewing pull requests with Kotlin code
@@ -68,7 +69,7 @@ Use `/kotlin-review` when:
68
69
  ## Example Usage
69
70
 
70
71
  ````text
71
- User: /kotlin-review
72
+ User: /ccp:kotlin-review
72
73
 
73
74
  Agent:
74
75
  # Kotlin Code Review Report
@@ -129,10 +130,10 @@ Recommendation: ❌ Block merge until CRITICAL issue is fixed
129
130
 
130
131
  ## Integration with Other Commands
131
132
 
132
- - Use `/kotlin-test` first to ensure tests pass
133
- - Use `/kotlin-build` if build errors occur
134
- - Use `/kotlin-review` before committing
135
- - Use `/code-review` for non-Kotlin-specific concerns
133
+ - Use `/ccp:kotlin-test` first to ensure tests pass
134
+ - Use `/ccp:kotlin-build` if build errors occur
135
+ - Use `/ccp:kotlin-review` before committing
136
+ - Use `/ccp:code-review` for non-Kotlin-specific concerns
136
137
 
137
138
  ## Related
138
139
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:kotlin-test
2
3
  description: Enforce TDD workflow for Kotlin. Write Kotest tests first, then implement. Verify 80%+ coverage with Kover.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command enforces test-driven development methodology for Kotlin code using
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/kotlin-test` when:
21
+ Use `/ccp:kotlin-test` when:
21
22
  - Implementing new Kotlin functions or classes
22
23
  - Adding test coverage to existing Kotlin code
23
24
  - Fixing bugs (write failing test first)
@@ -36,7 +37,7 @@ REPEAT -> Next test case
36
37
  ## Example Session
37
38
 
38
39
  ````text
39
- User: /kotlin-test I need a function to validate user registration requests
40
+ User: /ccp:kotlin-test I need a function to validate user registration requests
40
41
 
41
42
  Agent:
42
43
  # TDD Session: Registration Validator
@@ -302,9 +303,9 @@ open build/reports/kover/html/index.html
302
303
 
303
304
  ## Related Commands
304
305
 
305
- - `/kotlin-build` - Fix build errors
306
- - `/kotlin-review` - Review code after implementation
307
- - `/verify` - Run full verification loop
306
+ - `/ccp:kotlin-build` - Fix build errors
307
+ - `/ccp:kotlin-review` - Review code after implementation
308
+ - `/ccp:verify` - Run full verification loop
308
309
 
309
310
  ## Related
310
311
 
@@ -1,10 +1,15 @@
1
- # /learn - Extract Reusable Patterns
1
+ ---
2
+ name: ccp:learn
3
+ description: "Extract reusable patterns from the current session into skills"
4
+ ---
5
+
6
+ # /ccp:learn - Extract Reusable Patterns
2
7
 
3
8
  Analyze the current session and extract any patterns worth saving as skills.
4
9
 
5
10
  ## Trigger
6
11
 
7
- Run `/learn` at any point during a session when you've solved a non-trivial problem.
12
+ Run `/ccp:learn` at any point during a session when you've solved a non-trivial problem.
8
13
 
9
14
  ## What to Extract
10
15
 
@@ -1,10 +1,15 @@
1
+ ---
2
+ name: ccp:model-route
3
+ description: "Recommend the best model tier for the current task by complexity and budget"
4
+ ---
5
+
1
6
  # Model Route Command
2
7
 
3
8
  Recommend the best model tier for the current task by complexity and budget.
4
9
 
5
10
  ## Usage
6
11
 
7
- `/model-route [task-description] [--budget low|med|high]`
12
+ `/ccp:model-route [task-description] [--budget low|med|high]`
8
13
 
9
14
  ## Routing Heuristic
10
15
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:orchestrate
2
3
  description: Sequential and tmux/worktree orchestration guidance for multi-agent workflows.
3
4
  ---
4
5
 
@@ -8,7 +9,7 @@ Sequential agent workflow for complex tasks.
8
9
 
9
10
  ## Usage
10
11
 
11
- `/orchestrate [workflow-type] [task-description]`
12
+ `/ccp:orchestrate [workflow-type] [task-description]`
12
13
 
13
14
  ## Workflow Types
14
15
 
@@ -71,7 +72,7 @@ Between agents, create handoff document:
71
72
  ## Example: Feature Workflow
72
73
 
73
74
  ```
74
- /orchestrate feature "Add user authentication"
75
+ /ccp:orchestrate feature "Add user authentication"
75
76
  ```
76
77
 
77
78
  Executes:
@@ -219,7 +220,7 @@ $ARGUMENTS:
219
220
  ## Custom Workflow Example
220
221
 
221
222
  ```
222
- /orchestrate custom "architect,tdd-guide,code-reviewer" "Redesign caching layer"
223
+ /ccp:orchestrate custom "architect,tdd-guide,code-reviewer" "Redesign caching layer"
223
224
  ```
224
225
 
225
226
  ## Tips
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:plan
2
3
  description: Restate requirements, assess risks, and create step-by-step implementation plan. WAIT for user CONFIRM before touching any code.
3
4
  ---
4
5
 
@@ -15,7 +16,7 @@ This command invokes the **planner** agent to create a comprehensive implementat
15
16
 
16
17
  ## When to Use
17
18
 
18
- Use `/plan` when:
19
+ Use `/ccp:plan` when:
19
20
  - Starting a new feature
20
21
  - Making significant architectural changes
21
22
  - Working on complex refactoring
@@ -36,7 +37,7 @@ The planner agent will:
36
37
  ## Example Usage
37
38
 
38
39
  ```
39
- User: /plan I need to add real-time notifications when markets resolve
40
+ User: /ccp:plan I need to add real-time notifications when markets resolve
40
41
 
41
42
  Agent (planner):
42
43
  # Implementation Plan: Real-Time Market Resolution Notifications
@@ -103,9 +104,9 @@ If you want changes, respond with:
103
104
  ## Integration with Other Commands
104
105
 
105
106
  After planning:
106
- - Use `/tdd` to implement with test-driven development
107
- - Use `/build-fix` if build errors occur
108
- - Use `/code-review` to review completed implementation
107
+ - Use `/ccp:tdd` to implement with test-driven development
108
+ - Use `/ccp:build-fix` if build errors occur
109
+ - Use `/ccp:code-review` to review completed implementation
109
110
 
110
111
  ## Related Agents
111
112
 
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: ccp:profile-user
3
+ description: Generate developer behavioral profile and create Claude-discoverable artifacts
4
+ argument-hint: "[--questionnaire] [--refresh]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - AskUserQuestion
12
+ - Task
13
+ ---
14
+
15
+ <objective>
16
+ Generate a developer behavioral profile from session analysis (or questionnaire) and produce artifacts (USER-PROFILE.md, /ccp:dev-preferences, CLAUDE.md section) that personalize Claude's responses.
17
+
18
+ Routes to the profile-user workflow which orchestrates the full flow: consent gate, session analysis or questionnaire fallback, profile generation, result display, and artifact selection.
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @~/.claude/pilot/workflows/profile-user.md
23
+ @~/.claude/pilot/references/ui-brand.md
24
+ </execution_context>
25
+
26
+ <context>
27
+ Flags from $ARGUMENTS:
28
+ - `--questionnaire` -- Skip session analysis entirely, use questionnaire-only path
29
+ - `--refresh` -- Rebuild profile even when one exists, backup old profile, show dimension diff
30
+ </context>
31
+
32
+ <process>
33
+ Execute the profile-user workflow end-to-end.
34
+
35
+ The workflow handles all logic including:
36
+ 1. Initialization and existing profile detection
37
+ 2. Consent gate before session analysis
38
+ 3. Session scanning and data sufficiency checks
39
+ 4. Session analysis (profiler agent) or questionnaire fallback
40
+ 5. Cross-project split resolution
41
+ 6. Profile writing to USER-PROFILE.md
42
+ 7. Result display with report card and highlights
43
+ 8. Artifact selection (dev-preferences, CLAUDE.md sections)
44
+ 9. Sequential artifact generation
45
+ 10. Summary with refresh diff (if applicable)
46
+ </process>
@@ -1,8 +1,9 @@
1
1
  ---
2
+ name: ccp:prompt-optimize
2
3
  description: Analyze a draft prompt and output an optimized version ready to paste and run. Does NOT execute the task — outputs advisory analysis only.
3
4
  ---
4
5
 
5
- # /prompt-optimize
6
+ # /ccp:prompt-optimize
6
7
 
7
8
  Analyze and optimize the following prompt for maximum effectiveness.
8
9
 
@@ -28,7 +29,7 @@ Apply the **prompt-optimizer** skill to the user's input below. Follow the 6-pha
28
29
  ## CRITICAL
29
30
 
30
31
  Do NOT execute the user's task. Output ONLY the analysis and optimized prompt.
31
- If the user asks for direct execution, explain that `/prompt-optimize` only produces advisory output and tell them to start a normal task request instead.
32
+ If the user asks for direct execution, explain that `/ccp:prompt-optimize` only produces advisory output and tell them to start a normal task request instead.
32
33
 
33
34
  Note: `blueprint` is a **skill**, not a slash command. Write "Use the blueprint skill"
34
35
  instead of presenting it as a `/...` command.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: prune
2
+ name: ccp:prune
3
3
  description: Delete pending instincts older than 30 days that were never promoted
4
4
  command: true
5
5
  ---
@@ -19,7 +19,7 @@ python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py prune
19
19
  ## Usage
20
20
 
21
21
  ```
22
- /prune # Delete instincts older than 30 days
23
- /prune --max-age 60 # Custom age threshold (days)
24
- /prune --dry-run # Preview without deleting
22
+ /ccp:prune # Delete instincts older than 30 days
23
+ /ccp:prune --max-age 60 # Custom age threshold (days)
24
+ /ccp:prune --dry-run # Preview without deleting
25
25
  ```