claude-code-pilot 3.0.0 → 3.1.0
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 +13 -13
- package/manifest.json +1 -1
- package/package.json +1 -1
- 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:aside
|
|
2
3
|
description: Answer a quick side question without interrupting or losing context from the current task. Resume work automatically after answering.
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -17,12 +18,12 @@ Ask a question mid-task and get an immediate, focused answer — then continue r
|
|
|
17
18
|
## Usage
|
|
18
19
|
|
|
19
20
|
```
|
|
20
|
-
/aside <your question>
|
|
21
|
-
/aside what does this function actually return?
|
|
22
|
-
/aside is this pattern thread-safe?
|
|
23
|
-
/aside why are we using X instead of Y here?
|
|
24
|
-
/aside what's the difference between foo() and bar()?
|
|
25
|
-
/aside should we be worried about the N+1 query we just added?
|
|
21
|
+
/ccp:aside <your question>
|
|
22
|
+
/ccp:aside what does this function actually return?
|
|
23
|
+
/ccp:aside is this pattern thread-safe?
|
|
24
|
+
/ccp:aside why are we using X instead of Y here?
|
|
25
|
+
/ccp:aside what's the difference between foo() and bar()?
|
|
26
|
+
/ccp:aside should we be worried about the N+1 query we just added?
|
|
26
27
|
```
|
|
27
28
|
|
|
28
29
|
## Process
|
|
@@ -31,7 +32,7 @@ Ask a question mid-task and get an immediate, focused answer — then continue r
|
|
|
31
32
|
|
|
32
33
|
Before answering anything, mentally note:
|
|
33
34
|
- What is the active task? (what file, feature, or problem was being worked on)
|
|
34
|
-
- What step was in progress at the moment `/aside` was invoked?
|
|
35
|
+
- What step was in progress at the moment `/ccp:aside` was invoked?
|
|
35
36
|
- What was about to happen next?
|
|
36
37
|
|
|
37
38
|
Do NOT touch, edit, create, or delete any files during the aside.
|
|
@@ -63,7 +64,7 @@ After delivering the answer, immediately continue the active task from the exact
|
|
|
63
64
|
|
|
64
65
|
## Edge Cases
|
|
65
66
|
|
|
66
|
-
**No question provided (`/aside` with nothing after it):**
|
|
67
|
+
**No question provided (`/ccp:aside` with nothing after it):**
|
|
67
68
|
Respond:
|
|
68
69
|
```
|
|
69
70
|
ASIDE: no question provided
|
|
@@ -83,7 +84,7 @@ ASIDE: [answer]
|
|
|
83
84
|
Wait for the user's decision before resuming.
|
|
84
85
|
|
|
85
86
|
**Question is actually a task redirect (not a side question):**
|
|
86
|
-
If the question implies changing what is being built (e.g., `/aside actually, let's use Redis instead`), clarify:
|
|
87
|
+
If the question implies changing what is being built (e.g., `/ccp:aside actually, let's use Redis instead`), clarify:
|
|
87
88
|
```
|
|
88
89
|
ASIDE: That sounds like a direction change, not just a side question.
|
|
89
90
|
Do you want to:
|
|
@@ -95,7 +96,7 @@ Wait for the user's answer — do not make assumptions.
|
|
|
95
96
|
**Question is about the currently open file or code:**
|
|
96
97
|
Answer from the live context. If the file was read earlier in the session, reference it directly. If not, read it now (read-only) and answer with a file:line reference.
|
|
97
98
|
|
|
98
|
-
**No active task (nothing in progress when `/aside` is invoked):**
|
|
99
|
+
**No active task (nothing in progress when `/ccp:aside` is invoked):**
|
|
99
100
|
Still use the standard wrapper so the response shape stays consistent:
|
|
100
101
|
```
|
|
101
102
|
ASIDE: [restate the question briefly]
|
|
@@ -111,7 +112,7 @@ Give the essential answer concisely, then offer:
|
|
|
111
112
|
That's the short version. Want a deeper explanation after we finish [current task]?
|
|
112
113
|
```
|
|
113
114
|
|
|
114
|
-
**Multiple `/aside` questions in a row:**
|
|
115
|
+
**Multiple `/ccp:aside` questions in a row:**
|
|
115
116
|
Answer each one in sequence. After the last answer, resume the main task. Do not lose task state across a chain of asides.
|
|
116
117
|
|
|
117
118
|
**Aside answer implies a code change is needed:**
|
|
@@ -130,7 +131,7 @@ Ask one clarifying question — the shortest question that gets the information
|
|
|
130
131
|
## Example Output
|
|
131
132
|
|
|
132
133
|
```
|
|
133
|
-
User: /aside what does fetchWithRetry() actually do?
|
|
134
|
+
User: /ccp:aside what does fetchWithRetry() actually do?
|
|
134
135
|
|
|
135
136
|
ASIDE: what does fetchWithRetry() do?
|
|
136
137
|
|
|
@@ -142,7 +143,7 @@ network errors — 4xx errors are treated as final and not retried.
|
|
|
142
143
|
```
|
|
143
144
|
|
|
144
145
|
```
|
|
145
|
-
User: /aside is the approach we're taking thread-safe?
|
|
146
|
+
User: /ccp:aside is the approach we're taking thread-safe?
|
|
146
147
|
|
|
147
148
|
ASIDE: is the current approach thread-safe?
|
|
148
149
|
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ccp:checkpoint
|
|
3
|
+
description: "Create or verify a checkpoint in your workflow"
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# Checkpoint Command
|
|
2
7
|
|
|
3
8
|
Create or verify a checkpoint in your workflow.
|
|
4
9
|
|
|
5
10
|
## Usage
|
|
6
11
|
|
|
7
|
-
`/checkpoint [create|verify|list] [name]`
|
|
12
|
+
`/ccp:checkpoint [create|verify|list] [name]`
|
|
8
13
|
|
|
9
14
|
## Create Checkpoint
|
|
10
15
|
|
|
11
16
|
When creating a checkpoint:
|
|
12
17
|
|
|
13
|
-
1. Run `/verify quick` to ensure current state is clean
|
|
18
|
+
1. Run `/ccp:verify quick` to ensure current state is clean
|
|
14
19
|
2. Create a git stash or commit with checkpoint name
|
|
15
20
|
3. Log checkpoint to `.claude/checkpoints.log`:
|
|
16
21
|
|
|
@@ -54,15 +59,15 @@ Show all checkpoints with:
|
|
|
54
59
|
Typical checkpoint flow:
|
|
55
60
|
|
|
56
61
|
```
|
|
57
|
-
[Start] --> /checkpoint create "feature-start"
|
|
62
|
+
[Start] --> /ccp:checkpoint create "feature-start"
|
|
58
63
|
|
|
|
59
|
-
[Implement] --> /checkpoint create "core-done"
|
|
64
|
+
[Implement] --> /ccp:checkpoint create "core-done"
|
|
60
65
|
|
|
|
61
|
-
[Test] --> /checkpoint verify "core-done"
|
|
66
|
+
[Test] --> /ccp:checkpoint verify "core-done"
|
|
62
67
|
|
|
|
63
|
-
[Refactor] --> /checkpoint create "refactor-done"
|
|
68
|
+
[Refactor] --> /ccp:checkpoint create "refactor-done"
|
|
64
69
|
|
|
|
65
|
-
[PR] --> /checkpoint verify "feature-start"
|
|
70
|
+
[PR] --> /ccp:checkpoint verify "feature-start"
|
|
66
71
|
```
|
|
67
72
|
|
|
68
73
|
## Arguments
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ccp:context-budget
|
|
2
3
|
description: Analyze context window usage across agents, skills, MCP servers, and rules to find optimization opportunities. Helps reduce token overhead and avoid performance warnings.
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -9,7 +10,7 @@ Analyze your Claude Code setup's context window consumption and produce actionab
|
|
|
9
10
|
## Usage
|
|
10
11
|
|
|
11
12
|
```
|
|
12
|
-
/context-budget [--verbose]
|
|
13
|
+
/ccp:context-budget [--verbose]
|
|
13
14
|
```
|
|
14
15
|
|
|
15
16
|
- Default: summary with top recommendations
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ccp:cpp-build
|
|
2
3
|
description: Fix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes.
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -16,7 +17,7 @@ This command invokes the **cpp-build-resolver** agent to incrementally fix C++ b
|
|
|
16
17
|
|
|
17
18
|
## When to Use
|
|
18
19
|
|
|
19
|
-
Use `/cpp-build` when:
|
|
20
|
+
Use `/ccp:cpp-build` when:
|
|
20
21
|
- `cmake --build build` fails with errors
|
|
21
22
|
- Linker errors (undefined references, multiple definitions)
|
|
22
23
|
- Template instantiation failures
|
|
@@ -40,7 +41,7 @@ cppcheck --enable=all src/
|
|
|
40
41
|
## Example Session
|
|
41
42
|
|
|
42
43
|
```text
|
|
43
|
-
User: /cpp-build
|
|
44
|
+
User: /ccp:cpp-build
|
|
44
45
|
|
|
45
46
|
Agent:
|
|
46
47
|
# C++ Build Resolution
|
|
@@ -163,9 +164,9 @@ The agent will stop and report if:
|
|
|
163
164
|
|
|
164
165
|
## Related Commands
|
|
165
166
|
|
|
166
|
-
- `/cpp-test` - Run tests after build succeeds
|
|
167
|
-
- `/cpp-review` - Review code quality
|
|
168
|
-
- `/verify` - Full verification loop
|
|
167
|
+
- `/ccp:cpp-test` - Run tests after build succeeds
|
|
168
|
+
- `/ccp:cpp-review` - Review code quality
|
|
169
|
+
- `/ccp:verify` - Full verification loop
|
|
169
170
|
|
|
170
171
|
## Related
|
|
171
172
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ccp:cpp-review
|
|
2
3
|
description: Comprehensive C++ code review for memory safety, modern C++ idioms, concurrency, and security. Invokes the cpp-reviewer agent.
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -17,7 +18,7 @@ This command invokes the **cpp-reviewer** agent for comprehensive C++-specific c
|
|
|
17
18
|
|
|
18
19
|
## When to Use
|
|
19
20
|
|
|
20
|
-
Use `/cpp-review` when:
|
|
21
|
+
Use `/ccp:cpp-review` when:
|
|
21
22
|
- After writing or modifying C++ code
|
|
22
23
|
- Before committing C++ changes
|
|
23
24
|
- Reviewing pull requests with C++ code
|
|
@@ -64,7 +65,7 @@ cmake --build build -- -Wall -Wextra -Wpedantic
|
|
|
64
65
|
## Example Usage
|
|
65
66
|
|
|
66
67
|
```text
|
|
67
|
-
User: /cpp-review
|
|
68
|
+
User: /ccp:cpp-review
|
|
68
69
|
|
|
69
70
|
Agent:
|
|
70
71
|
# C++ Code Review Report
|
|
@@ -121,10 +122,10 @@ Recommendation: ❌ Block merge until CRITICAL issue is fixed
|
|
|
121
122
|
|
|
122
123
|
## Integration with Other Commands
|
|
123
124
|
|
|
124
|
-
- Use `/cpp-test` first to ensure tests pass
|
|
125
|
-
- Use `/cpp-build` if build errors occur
|
|
126
|
-
- Use `/cpp-review` before committing
|
|
127
|
-
- Use `/code-review` for non-C++ specific concerns
|
|
125
|
+
- Use `/ccp:cpp-test` first to ensure tests pass
|
|
126
|
+
- Use `/ccp:cpp-build` if build errors occur
|
|
127
|
+
- Use `/ccp:cpp-review` before committing
|
|
128
|
+
- Use `/ccp:code-review` for non-C++ specific concerns
|
|
128
129
|
|
|
129
130
|
## Related
|
|
130
131
|
|
|
@@ -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,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
|
|