cc-dev-template 0.1.76 → 0.1.78

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 (43) hide show
  1. package/bin/install.js +4 -3
  2. package/package.json +1 -1
  3. package/src/scripts/spinner-verbs-startrek.json +47 -0
  4. package/src/skills/agent-browser/SKILL.md +10 -0
  5. package/src/skills/claude-md/references/audit-reflect.md +33 -0
  6. package/src/skills/claude-md/references/audit.md +4 -0
  7. package/src/skills/claude-md/references/create-reflect.md +33 -0
  8. package/src/skills/claude-md/references/create.md +5 -1
  9. package/src/skills/claude-md/references/modify-reflect.md +33 -0
  10. package/src/skills/claude-md/references/modify.md +4 -0
  11. package/src/skills/creating-agent-skills/references/create-step-2-design.md +14 -1
  12. package/src/skills/creating-agent-skills/references/create-step-3-write.md +25 -0
  13. package/src/skills/creating-agent-skills/references/create-step-4-review.md +4 -0
  14. package/src/skills/creating-agent-skills/references/create-step-5-install.md +4 -0
  15. package/src/skills/creating-agent-skills/references/create-step-6-reflect.md +33 -0
  16. package/src/skills/creating-agent-skills/references/fix-step-1-diagnose.md +8 -0
  17. package/src/skills/creating-agent-skills/references/fix-step-2-apply.md +2 -0
  18. package/src/skills/creating-agent-skills/references/fix-step-3-validate.md +4 -0
  19. package/src/skills/creating-agent-skills/references/fix-step-4-reflect.md +32 -0
  20. package/src/skills/creating-sub-agents/references/create-step-5-install.md +4 -0
  21. package/src/skills/creating-sub-agents/references/create-step-6-reflect.md +33 -0
  22. package/src/skills/creating-sub-agents/references/fix-step-3-validate.md +4 -0
  23. package/src/skills/creating-sub-agents/references/fix-step-4-reflect.md +33 -0
  24. package/src/skills/execute-spec/SKILL.md +1 -0
  25. package/src/skills/execute-spec/references/phase-5-reflect.md +34 -0
  26. package/src/skills/execute-spec/references/workflow.md +8 -0
  27. package/src/skills/initialize-project/SKILL.md +4 -0
  28. package/src/skills/initialize-project/references/reflect.md +33 -0
  29. package/src/skills/project-setup/references/step-5-verify.md +4 -0
  30. package/src/skills/project-setup/references/step-6-reflect.md +34 -0
  31. package/src/skills/prompting/references/create-reflect.md +33 -0
  32. package/src/skills/prompting/references/create.md +4 -0
  33. package/src/skills/prompting/references/review-reflect.md +33 -0
  34. package/src/skills/prompting/references/review.md +4 -0
  35. package/src/skills/research/references/step-2-conduct-research.md +4 -0
  36. package/src/skills/research/references/step-3-reflect.md +33 -0
  37. package/src/skills/spec-interview/references/step-7-finalize.md +4 -0
  38. package/src/skills/spec-interview/references/step-8-reflect.md +34 -0
  39. package/src/skills/spec-review/SKILL.md +3 -0
  40. package/src/skills/spec-sanity-check/SKILL.md +3 -0
  41. package/src/skills/spec-to-tasks/references/step-4-review.md +4 -0
  42. package/src/skills/task-review/references/checklist.md +3 -0
  43. package/src/scripts/spinner-verbs-helldivers.json +0 -27
package/bin/install.js CHANGED
@@ -255,8 +255,8 @@ if (fs.existsSync(mergeSettingsPath)) {
255
255
  { file: 'read-guard-hook.json', name: 'Context guard for large reads' },
256
256
  { file: 'task-output-guard-hook.json', name: 'TaskOutput context guard' },
257
257
  { file: 'statusline-config.json', name: 'Custom status line' },
258
- // Spinner verbs - choose one (Helldivers or Factorio)
259
- { file: 'spinner-verbs-helldivers.json', name: 'Helldivers spinner verbs' }
258
+ // Spinner verbs - choose one (Star Trek or Factorio)
259
+ { file: 'spinner-verbs-startrek.json', name: 'Star Trek spinner verbs' }
260
260
  // { file: 'spinner-verbs-factorio.json', name: 'Factorio spinner verbs' }
261
261
  ];
262
262
 
@@ -312,7 +312,8 @@ const deprecatedFiles = [
312
312
  path.join(CLAUDE_DIR, 'scripts', 'bash-precheck-hook.json'),
313
313
  path.join(CLAUDE_DIR, 'hooks', 'bash-overflow-guard.sh'),
314
314
  path.join(CLAUDE_DIR, 'scripts', 'bash-overflow-hook.json'),
315
- path.join(CLAUDE_DIR, 'scripts', 'env-config.json')
315
+ path.join(CLAUDE_DIR, 'scripts', 'env-config.json'),
316
+ path.join(CLAUDE_DIR, 'scripts', 'spinner-verbs-helldivers.json')
316
317
  ];
317
318
 
318
319
  deprecatedFiles.forEach(file => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-dev-template",
3
- "version": "0.1.76",
3
+ "version": "0.1.78",
4
4
  "description": "Structured AI-assisted development framework for Claude Code",
5
5
  "bin": {
6
6
  "cc-dev-template": "./bin/install.js"
@@ -0,0 +1,47 @@
1
+ {
2
+ "spinnerVerbs": {
3
+ "mode": "replace",
4
+ "verbs": [
5
+ "Engaging warp drive",
6
+ "Hailing frequencies open",
7
+ "Scanning for lifeforms",
8
+ "Routing through deflector dish",
9
+ "Calibrating phasers",
10
+ "Modulating shield harmonics",
11
+ "Consulting the computer",
12
+ "Running diagnostic",
13
+ "Reversing polarity",
14
+ "Diverting auxiliary power",
15
+ "Locking on target",
16
+ "Compensating for interference",
17
+ "Rerouting power",
18
+ "Establishing uplink",
19
+ "Analyzing subspace anomaly",
20
+ "Initializing transporter",
21
+ "Plotting course",
22
+ "Processing sensor data",
23
+ "Accessing Starfleet database",
24
+ "Raising shields",
25
+ "Optimizing ratios",
26
+ "Expanding the factory",
27
+ "Researching technology",
28
+ "Balancing belts",
29
+ "Routing logistics",
30
+ "Smelting ore",
31
+ "Automating production",
32
+ "Deploying blueprints",
33
+ "Scaling throughput",
34
+ "Refining petroleum",
35
+ "Extending rail network",
36
+ "Calculating ratios",
37
+ "Processing resources",
38
+ "Assembling components",
39
+ "Constructing outpost",
40
+ "Launching rockets",
41
+ "Clearing biters",
42
+ "Inserting inserters",
43
+ "Growing the factory",
44
+ "The factory must grow"
45
+ ]
46
+ }
47
+ }
@@ -204,3 +204,13 @@ agent-browser find testid "submit-btn" click
204
204
  ./templates/authenticated-session.sh https://app.example.com/login
205
205
  ./templates/capture-workflow.sh https://example.com ./output
206
206
  ```
207
+
208
+ ## Reflect After Use
209
+
210
+ After completing the browser automation task, reflect on your experience.
211
+
212
+ Were any commands, flags, patterns, or workarounds in this reference incorrect or missing? Did you discover a command syntax, a workaround for a specific site, or a pattern that should be documented here?
213
+
214
+ If yes, update the relevant section of this skill file. Only add tribal knowledge — commands and patterns a fresh Claude instance would not know about agent-browser specifically. Keep within size targets.
215
+
216
+ Tell the user what you updated, or confirm no updates were needed.
@@ -0,0 +1,33 @@
1
+ # Audit Reflection
2
+
3
+ **IMPORTANT: This step is mandatory. The audit workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience auditing the project's CLAUDE.md files. The purpose is to improve the claude-md skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any audit criteria (length thresholds, content rules, hierarchy checks) wrong, incomplete, or too strict/lenient?
12
+ 2. Did you encounter a CLAUDE.md pattern or anti-pattern that the audit steps didn't account for?
13
+ 3. Were the fix instructions (extracting workflows, removing duplication, pruning) clear and correct?
14
+ 4. Did you discover structural issues or hierarchy edge cases that should be documented for next time?
15
+ 5. Were the principles in `references/principles.md` accurate, or did real-world files reveal gaps?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the claude-md skill where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the claude-md skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -61,3 +61,7 @@ Changes made:
61
61
  Remaining concerns:
62
62
  - [any issues needing human decision]
63
63
  ```
64
+
65
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
66
+
67
+ Read references/audit-reflect.md now.
@@ -0,0 +1,33 @@
1
+ # Create Reflection
2
+
3
+ **IMPORTANT: This step is mandatory. The create workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience creating a new CLAUDE.md file. The purpose is to improve the claude-md skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were the hierarchy-checking instructions (finding parents, identifying gaps) clear and sufficient?
12
+ 2. Was the structure template useful, or did the real file need sections the template didn't suggest?
13
+ 3. Were the length guidelines (40-80 lines target) realistic for the file you created?
14
+ 4. Did the "What NOT to Include" list miss anything that tempted you to over-include?
15
+ 5. Were the principles in `references/principles.md` accurate, or did the creation process reveal gaps?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the claude-md skill where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the claude-md skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -69,4 +69,8 @@ Verify:
69
69
  3. Would Claude know where it is and what matters?
70
70
  4. Written as orientation, not documentation?
71
71
 
72
- If all yes, you're done.
72
+ If all yes, proceed to the reflection step.
73
+
74
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
75
+
76
+ Read references/create-reflect.md now.
@@ -0,0 +1,33 @@
1
+ # Modify Reflection
2
+
3
+ **IMPORTANT: This step is mandatory. The modify workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience modifying the project's CLAUDE.md files. The purpose is to improve the claude-md skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were the file-selection rules (matching request type to the right CLAUDE.md level) accurate and complete?
12
+ 2. Did the hierarchy principle ("place at highest level where it applies") hold up, or were there edge cases?
13
+ 3. Were the section-matching rules (gotchas, conventions, current focus) sufficient for the content you added?
14
+ 4. Did the ~100 line overflow guidance (push deeper, prune, extract) work in practice?
15
+ 5. Were the principles in `references/principles.md` accurate, or did the modification process reveal gaps?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the claude-md skill where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the claude-md skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -50,3 +50,7 @@ If the content would make the file exceed ~100 lines, consider:
50
50
  ## Step 5: Confirm
51
51
 
52
52
  Tell the user what was added and where. If creating a new CLAUDE.md file, explain why that location was chosen.
53
+
54
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
55
+
56
+ Read references/modify-reflect.md now.
@@ -141,7 +141,8 @@ skill-name/
141
141
  └── references/
142
142
  ├── step-1-[name].md # Chains to step 2
143
143
  ├── step-2-[name].md # Chains to step 3
144
- └── step-3-[name].md # Final step
144
+ ├── step-3-[name].md # Chains to reflection (mandatory)
145
+ └── step-4-reflect.md # Mandatory reflection step
145
146
  ```
146
147
 
147
148
  **When to add `scripts/`:** Deterministic operations that need reliability — validation, code generation, file operations.
@@ -157,6 +158,18 @@ List out the steps. Each step becomes one markdown file in `references/`. For ea
157
158
  - What signals the step is complete (the chain condition)
158
159
  - What the next step is
159
160
 
161
+ ### Include a Mandatory Reflection Step
162
+
163
+ Every procedural skill must end with a dedicated reflection step file. This is a separate chained step — not a section appended to another step. The reflection step is the final file in the chain.
164
+
165
+ The reflection step is where the agent looks back on its experience using the skill and, if the instructions were wrong, incomplete, or suboptimal, updates the skill files. This creates a self-learning loop — skills improve through use.
166
+
167
+ The chain link to the reflection step must use mandatory language. The agent must understand that the workflow is incomplete without it. Example: "**IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**"
168
+
169
+ For informational skills, append a reflection section to the end of SKILL.md (since there is no step chain).
170
+
171
+ For forked-context skills (`context: fork`), use a "Skill Observations" section in the output format instead, since the sub-agent should not edit skill files from an isolated context.
172
+
160
173
  ## Confirm With the User
161
174
 
162
175
  Present the design:
@@ -159,6 +159,31 @@ If the skill involves tool calls, external services, or operations that can fail
159
159
 
160
160
  For critical validations, bundle a script rather than relying on language instructions. Code is deterministic; language interpretation is not.
161
161
 
162
+ ### Reflection Step (Mandatory Separate File)
163
+
164
+ Every procedural skill must have a dedicated reflection step as the final file in its chain. This is not a section in another file — it is its own step file. This creates a self-learning loop: the agent assesses its experience and updates the skill for next time.
165
+
166
+ **The reflection step file** should contain:
167
+
168
+ 1. **Mandatory language at the top**: Start with "**IMPORTANT: This step is mandatory. The [workflow name] workflow is not complete until this step is finished. Do not skip this.**"
169
+ 2. **Assessment**: Domain-specific questions — "Were any instructions wrong, incomplete, or misleading? Did you have to figure something out that the skill should have told you? Did any commands, paths, or patterns fail and require correction?"
170
+ 3. **Action**: "If yes, identify the specific file where the issue lives, read it, and apply the fix. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know."
171
+ 4. **Report**: "Tell the user what you changed and why, or confirm that no updates were needed."
172
+
173
+ Tailor the assessment questions to the skill's domain — what "went wrong" means for a prompting skill is different from what it means for a browser automation skill.
174
+
175
+ **The chain link to the reflection step** (in the previous step file) must use mandatory language. Do not use a soft chain link. Example:
176
+
177
+ ```
178
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
179
+
180
+ Read `references/step-N-reflect.md` now.
181
+ ```
182
+
183
+ For informational skills (no step chain), append a reflection section to the end of SKILL.md instead.
184
+
185
+ For forked-context skills (`context: fork`), add a "Skill Observations" optional section to the output format instead. The sub-agent notes any issues with its own instructions; the parent context decides whether to act.
186
+
162
187
  ### MCP Tool References
163
188
 
164
189
  When a skill uses MCP tools, use fully qualified names:
@@ -44,6 +44,10 @@ Go through each file and verify:
44
44
  - Name matches the directory name?
45
45
  - Description uses third person with quoted trigger phrases?
46
46
  - All referenced files exist? (no broken links)
47
+ - For procedural skills: dedicated reflection step file as the final step in the chain?
48
+ - Chain link to reflection step uses mandatory language? ("IMPORTANT: You are not done. You MUST read and complete the next step.")
49
+ - For informational skills: reflection section at the end of SKILL.md?
50
+ - For forked-context skills: "Skill Observations" section in the output format?
47
51
 
48
52
  ## Run Validation
49
53
 
@@ -61,3 +61,7 @@ Summarize what was created:
61
61
  - Install location
62
62
  - Trigger phrases
63
63
  - File structure (list all files)
64
+
65
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
66
+
67
+ Read `references/create-step-6-reflect.md` now.
@@ -0,0 +1,33 @@
1
+ # Step 6: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The skill creation workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience creating this skill. The purpose is to improve the creating-agent-skills skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any instructions in the creating-agent-skills workflow wrong, incomplete, or misleading?
12
+ 2. Did you discover techniques, gotchas, or patterns that should be encoded for next time?
13
+ 3. Did any steps send you down a wrong path or leave out critical guidance?
14
+ 4. Did you have to figure something out that the skill should have told you?
15
+ 5. Did any commands, paths, or patterns fail and require correction?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the creating-agent-skills skill where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the creating-agent-skills skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -72,6 +72,13 @@ Evaluate each file against these criteria:
72
72
  - All referenced files exist?
73
73
  - Any unreferenced files in `references/` that should be connected?
74
74
 
75
+ ### Self-Learning
76
+ - For procedural skills: does the skill have a dedicated reflection step file as the final step in its chain?
77
+ - Does the chain link to the reflection step use mandatory language? ("IMPORTANT: You are not done. You MUST read and complete the next step.")
78
+ - For informational skills: is there a reflection section at the end of SKILL.md?
79
+ - For forked-context skills (`context: fork`): does the output format include a "Skill Observations" section?
80
+ - If missing or embedded as a section in another step file, flag it — every procedural skill needs a separate mandatory reflection step.
81
+
75
82
  ## Summarize Findings
76
83
 
77
84
  Present the diagnosis to the user:
@@ -90,6 +97,7 @@ Based on your diagnosis, determine which type of fix is needed:
90
97
  - Removing meta-descriptions
91
98
  - Fixing broken file references
92
99
  - Small description improvements
100
+ - Adding a missing reflection step
93
101
 
94
102
  **Structural changes** — anything that changes the skill's architecture:
95
103
  - Converting between informational and procedural types
@@ -94,6 +94,8 @@ Does this justify its token cost? If Claude already knows it — remove it. If i
94
94
 
95
95
  **Fix description:** Rewrite to third person, add quoted trigger phrases, focus on WHEN not HOW.
96
96
 
97
+ **Add reflection step:** Create a dedicated reflection step file as the final step in the chain. Add a mandatory chain link from the previous final step using "**IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**" See `references/create-step-3-write.md` "Reflection Step" section for the full writing guidance. For informational skills, append a reflection section to the end of SKILL.md instead. For forked-context skills, add a "Skill Observations" section to the output format instead.
98
+
97
99
  ## Apply the Changes
98
100
 
99
101
  Make all planned modifications now.
@@ -52,3 +52,7 @@ Summarize what was fixed:
52
52
  - Which files changed
53
53
  - What was wrong and how it was resolved
54
54
  - Confirm with the user that the skill now behaves as expected
55
+
56
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
57
+
58
+ Read `references/fix-step-4-reflect.md` now.
@@ -0,0 +1,32 @@
1
+ # Step 4: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The skill fix workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience fixing this skill. The purpose is to improve the creating-agent-skills skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any diagnostic criteria, fix patterns, or writing principles in the creating-agent-skills skill wrong, incomplete, or misleading?
12
+ 2. Did you discover something during diagnosis or repair that should be encoded for next time?
13
+ 3. Did you have to figure something out that the skill should have told you?
14
+ 4. Were any common fix patterns missing from the fix workflow?
15
+
16
+ ## Act
17
+
18
+ If you identified issues above, fix them now:
19
+
20
+ 1. Identify the specific file in the creating-agent-skills skill where the issue lives
21
+ 2. Read that file
22
+ 3. Apply the fix — add what was missing, correct what was wrong
23
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
24
+ 5. Keep the file within its size target
25
+
26
+ If no issues were found, confirm that to the user.
27
+
28
+ ## Report
29
+
30
+ Tell the user:
31
+ - What you changed in the creating-agent-skills skill and why, OR
32
+ - That no updates were needed and the skill performed correctly
@@ -74,3 +74,7 @@ Summarize what was created:
74
74
  - Model
75
75
  - Memory scope (if any)
76
76
  - Skills preloaded (if any)
77
+
78
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
79
+
80
+ Read `references/create-step-6-reflect.md` now.
@@ -0,0 +1,33 @@
1
+ # Step 6: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The sub-agent creation workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience creating this sub-agent. The purpose is to improve the creating-sub-agents skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any instructions in the creating-sub-agents workflow wrong, incomplete, or misleading?
12
+ 2. Did you discover techniques, gotchas, or patterns for sub-agent design that should be encoded for next time?
13
+ 3. Did any steps send you down a wrong path or leave out critical guidance?
14
+ 4. Did you have to figure something out about frontmatter, tool grants, delegation, or prompt structure that the skill should have told you?
15
+ 5. Did any commands, paths, validation scripts, or patterns fail and require correction?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the creating-sub-agents skill where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the creating-sub-agents skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -50,3 +50,7 @@ Summarize what was fixed:
50
50
  - Which aspects changed (frontmatter, prompt, hooks)
51
51
  - What was wrong and how it was resolved
52
52
  - Confirm with the user that the sub-agent now behaves as expected
53
+
54
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
55
+
56
+ Read `references/fix-step-4-reflect.md` now.
@@ -0,0 +1,33 @@
1
+ # Step 4: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The sub-agent fix workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience fixing this sub-agent. The purpose is to improve the creating-sub-agents skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any diagnostic criteria, fix patterns, or writing principles in the creating-sub-agents skill wrong, incomplete, or misleading?
12
+ 2. Did you discover something during diagnosis or repair that should be encoded for next time?
13
+ 3. Did the validation script catch the right issues, or did it miss something important?
14
+ 4. Did you have to figure something out about sub-agent frontmatter, tool grants, or prompt structure that the skill should have told you?
15
+ 5. Did any commands, paths, validation scripts, or patterns fail and require correction?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the creating-sub-agents skill where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the creating-sub-agents skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -33,6 +33,7 @@ Read `references/workflow.md` for the full orchestration flow.
33
33
  2. **Build** - Dispatch spec-implementer agents, receive minimal status
34
34
  3. **Validate** - Dispatch spec-validator agents, receive pass/fail
35
35
  4. **Triage** - Re-dispatch implementers for failed tasks, loop until clean
36
+ 5. **Reflect** - Assess orchestration experience, improve skill files (mandatory)
36
37
 
37
38
  ## Key Principles
38
39
 
@@ -0,0 +1,34 @@
1
+ # Phase 5: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The execute-spec workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience orchestrating this spec execution. The purpose is to improve the execute-spec skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any orchestration patterns in this workflow wrong, incomplete, or misleading?
12
+ 2. Did the dispatch instructions for implementers or validators cause confusion or failures?
13
+ 3. Did the triage loop reveal a pattern that should be encoded for next time?
14
+ 4. Were the dependency resolution or parallelism strategies effective, or did they need adjustment?
15
+ 5. Did the minimal-context principle (pass/fail only) hold up, or did you need more detail from agents?
16
+ 6. Did any scripts, paths, or agent types fail and require correction?
17
+
18
+ ## Act
19
+
20
+ If you identified issues above, fix them now:
21
+
22
+ 1. Identify the specific file in the execute-spec skill directory where the issue lives
23
+ 2. Read that file
24
+ 3. Apply the fix — add what was missing, correct what was wrong
25
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
26
+ 5. Keep the file within its size target
27
+
28
+ If no issues were found, confirm that to the user.
29
+
30
+ ## Report
31
+
32
+ Tell the user:
33
+ - What you changed in the execute-spec skill and why, OR
34
+ - That no updates were needed and the skill performed correctly
@@ -19,6 +19,10 @@ PHASE 4: TRIAGE
19
19
  For failed tasks: re-dispatch spec-implementer
20
20
  Re-validate
21
21
  Loop until clean or user defers
22
+
23
+ PHASE 5: REFLECT
24
+ Assess orchestration experience → improve skill files
25
+ (Mandatory — workflow is NOT complete without this)
22
26
  ```
23
27
 
24
28
  ## Critical: Minimal Context
@@ -72,3 +76,7 @@ Read `phase-4-triage.md` for details.
72
76
  - **Minimal returns** - Agents return status only, details in task files
73
77
  - **Task file is source of truth** - Implementation Notes and Review Notes track all history
74
78
  - **Parallelism** - Use `run_in_background: true` where possible
79
+
80
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
81
+
82
+ Read `references/phase-5-reflect.md` now.
@@ -31,3 +31,7 @@ Report what was created:
31
31
  - `CLAUDE.md` - created or unchanged
32
32
 
33
33
  End with: "Run `/prime` to start a session."
34
+
35
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
36
+
37
+ Read references/reflect.md now.
@@ -0,0 +1,33 @@
1
+ # Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The initialize-project workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience using this skill. The purpose is to improve the initialize-project skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any template paths, placeholder formats, or initialization steps in this skill wrong or incomplete?
12
+ 2. Did you discover project scaffolding patterns or gotchas that should be encoded for next time?
13
+ 3. Did any steps send you down a wrong path or leave out critical guidance?
14
+ 4. Did you have to figure something out that the skill should have told you?
15
+ 5. Did any templates, paths, or placeholder substitutions fail and require correction?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the initialize-project skill where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the initialize-project skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -68,3 +68,7 @@ Tell the user:
68
68
  - Whether the project is ready to use
69
69
 
70
70
  If everything passed, the setup is complete.
71
+
72
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
73
+
74
+ Read `references/step-6-reflect.md` now.
@@ -0,0 +1,34 @@
1
+ # Step 6: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The project setup workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience setting up this project. The purpose is to improve the project-setup skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any instructions in the project-setup workflow wrong, incomplete, or misleading?
12
+ 2. Did you discover Makefile patterns, script conventions, or hook configurations that should be encoded for next time?
13
+ 3. Did any steps send you down a wrong path or leave out critical guidance?
14
+ 4. Did you have to figure something out that the skill should have told you?
15
+ 5. Did any commands, paths, or patterns fail and require correction?
16
+ 6. Were there language-specific setup needs that the skill didn't cover?
17
+
18
+ ## Act
19
+
20
+ If you identified issues above, fix them now:
21
+
22
+ 1. Identify the specific file in the project-setup skill where the issue lives
23
+ 2. Read that file
24
+ 3. Apply the fix — add what was missing, correct what was wrong
25
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know
26
+ 5. Keep the file within its size target
27
+
28
+ If no issues were found, confirm that to the user.
29
+
30
+ ## Report
31
+
32
+ Tell the user:
33
+ - What you changed in the project-setup skill and why, OR
34
+ - That no updates were needed and the skill performed correctly
@@ -0,0 +1,33 @@
1
+ # Reflect on Prompt Creation
2
+
3
+ **IMPORTANT: This step is mandatory. The prompt creation workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience using this skill to create the prompt. The purpose is to improve the prompting skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any prompting principles, writing guidance, or structural templates in this skill wrong or incomplete?
12
+ 2. Did you discover a prompt engineering technique that worked well but is not captured in the skill?
13
+ 3. Did the requirements-gathering questions miss something important that you had to figure out on your own?
14
+ 4. Did any guidance lead to a weaker prompt that needed correction during iteration?
15
+ 5. Did the self-review checklist catch real issues, or did it miss problems the user flagged?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the prompting skill directory where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know about prompt engineering
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the prompting skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -57,3 +57,7 @@ Present the draft prompt to the user.
57
57
  Ask: "Does this capture what you need? Any adjustments?"
58
58
 
59
59
  Incorporate feedback until the user is satisfied.
60
+
61
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
62
+
63
+ Read `references/create-reflect.md` now.
@@ -0,0 +1,33 @@
1
+ # Reflect on Prompt Review
2
+
3
+ **IMPORTANT: This step is mandatory. The prompt review workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience using this skill to review the prompt. The purpose is to improve the prompting skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any review criteria, analysis checks, or prompting principles in this skill wrong or incomplete?
12
+ 2. Did you apply a review technique that caught real issues but is not captured in the skill?
13
+ 3. Did any of the four checks (positive framing, clarity, context, over-specification) miss a category of prompt problem you encountered?
14
+ 4. Did the review presentation format work well, or did the user need a different structure?
15
+ 5. Did any guidance lead you to flag something that was actually fine, or miss something that was genuinely problematic?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the prompting skill directory where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know about prompt engineering
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the prompting skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -76,3 +76,7 @@ Format the review as:
76
76
  Ask: "Would you like me to adjust anything in the improved version?"
77
77
 
78
78
  Incorporate feedback and present updated version until the user is satisfied.
79
+
80
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
81
+
82
+ Read `references/review-reflect.md` now.
@@ -61,3 +61,7 @@ After writing the document:
61
61
  1. Confirm the research is complete
62
62
  2. Summarize the key takeaways
63
63
  3. Return to the invoking context (spec-interview or user)
64
+
65
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
66
+
67
+ Read `references/step-3-reflect.md` now.
@@ -0,0 +1,33 @@
1
+ # Step 3: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The research workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience using this skill. The purpose is to improve the research skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any research strategies, source evaluation criteria, or synthesis instructions in the research workflow wrong, incomplete, or misleading?
12
+ 2. Did you discover a research approach or information synthesis technique that should be encoded for next time?
13
+ 3. Did any steps send you down a wrong path or leave out critical guidance?
14
+ 4. Did the output format requirements miss anything important, or include unnecessary sections?
15
+ 5. Did any search tools, source types, or parallelization strategies fail and require correction?
16
+
17
+ ## Act
18
+
19
+ If you identified issues above, fix them now:
20
+
21
+ 1. Identify the specific file in the research skill directory where the issue lives
22
+ 2. Read that file
23
+ 3. Apply the fix — add what was missing, correct what was wrong
24
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know about conducting research
25
+ 5. Keep the file within its size target
26
+
27
+ If no issues were found, confirm that to the user.
28
+
29
+ ## Report
30
+
31
+ Tell the user:
32
+ - What you changed in the research skill and why, OR
33
+ - That no updates were needed and the skill performed correctly
@@ -56,3 +56,7 @@ Once user confirms no more review passes needed:
56
56
  - The `{spec_dir}/working/` directory remains on disk as reference for implementation
57
57
 
58
58
  If yes to task breakdown, invoke `spec-to-tasks` and specify which spec to break down.
59
+
60
+ **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
61
+
62
+ Read `references/step-8-reflect.md` now.
@@ -0,0 +1,34 @@
1
+ # Step 8: Reflect and Improve
2
+
3
+ **IMPORTANT: This step is mandatory. The spec interview workflow is not complete until this step is finished. Do not skip this.**
4
+
5
+ Reflect on your experience conducting this spec interview. The purpose is to improve the spec-interview skill itself based on what you just learned.
6
+
7
+ ## Assess
8
+
9
+ Answer these questions honestly:
10
+
11
+ 1. Were any interview steps wrong, incomplete, or misleading? Did any step send you down a wrong path or leave out critical guidance?
12
+ 2. Did the team coordination work smoothly? Were the checkpoint patterns (post-ideation, deep dive, finalize) at the right moments? Did any teammate produce findings too late or too early to be useful?
13
+ 3. Did the prompt templates (researcher, critic, pragmatist) give adequate direction? Did any teammate misunderstand its role or produce unhelpful output?
14
+ 4. Did you discover a question sequence, interview technique, or spec structure that worked better than what the skill prescribed?
15
+ 5. Did any commands, paths, tool interactions, or team communication patterns fail and require correction?
16
+ 6. Was the step ordering right? Should any steps be reordered, merged, or split?
17
+
18
+ ## Act
19
+
20
+ If you identified issues above, fix them now:
21
+
22
+ 1. Identify the specific file in the spec-interview skill where the issue lives
23
+ 2. Read that file
24
+ 3. Apply the fix -- add what was missing, correct what was wrong
25
+ 4. Apply the tribal knowledge test: only add what a fresh Claude instance would not already know about conducting spec interviews or coordinating agent teams
26
+ 5. Keep the file within its size target
27
+
28
+ If no issues were found, confirm that to the user.
29
+
30
+ ## Report
31
+
32
+ Tell the user:
33
+ - What you changed in the spec-interview skill and why, OR
34
+ - That no updates were needed and the skill performed correctly
@@ -81,6 +81,9 @@ Return the review as:
81
81
  ### Blocking Dependencies
82
82
  - [Dependency]: [What's needed before implementation can start]
83
83
 
84
+ ### Skill Observations (optional)
85
+ If any checklist items, evaluation criteria, or output format instructions in this skill were wrong, incomplete, or misleading during this review, note them here. Leave empty if no issues were found.
86
+
84
87
  ### Recommendation
85
88
  [Specific questions to ask the user, or "Spec is implementation-ready"]
86
89
  ```
@@ -71,6 +71,9 @@ Return findings as:
71
71
  ### Potential Pitfalls
72
72
  - [Pitfall]: [How to avoid]
73
73
 
74
+ ### Skill Observations (optional)
75
+ If any evaluation questions, check categories, or output format instructions in this skill were wrong, incomplete, or misleading during this review, note them here. Leave empty if no issues were found.
76
+
74
77
  ### Recommendation
75
78
  [Either "Plan is sound" or specific concerns to address]
76
79
  ```
@@ -41,6 +41,10 @@ After addressing critical issues, present:
41
41
 
42
42
  If the user wants changes, update the task files and re-run the review.
43
43
 
44
+ ## Skill Observations
45
+
46
+ If any task generation patterns, step instructions, or template formats in this skill were wrong, incomplete, or misleading during this run, include a note in your final output to the user. This helps the parent context decide whether to update the skill.
47
+
44
48
  ## Complete
45
49
 
46
50
  Once the user approves the task breakdown, the skill is complete. The tasks are ready for implementation.
@@ -147,6 +147,9 @@ Return findings as a structured list:
147
147
 
148
148
  ## Notes
149
149
  - [T004] Could merge with T005 since they share the same files
150
+
151
+ ## Skill Observations (optional)
152
+ If any checklist items, severity criteria, or review patterns in this skill were wrong, incomplete, or misleading during this review, note them here. Leave empty if no issues were found.
150
153
  ```
151
154
 
152
155
  If no issues found, state: "Task breakdown looks good. All criteria covered, dependencies valid, verification methods concrete."
@@ -1,27 +0,0 @@
1
- {
2
- "spinnerVerbs": {
3
- "mode": "replace",
4
- "verbs": [
5
- "Spreading democracy",
6
- "Liberating",
7
- "Deploying stratagems",
8
- "Calling in reinforcements",
9
- "Eliminating hostiles",
10
- "Securing perimeter",
11
- "Extracting intel",
12
- "Suppressing resistance",
13
- "Dispensing freedom",
14
- "Neutralizing threats",
15
- "Conducting reconnaissance",
16
- "Mobilizing forces",
17
- "Purging enemies",
18
- "Defending liberty",
19
- "Executing orbital strike",
20
- "Requesting extraction",
21
- "Fortifying position",
22
- "Engaging targets",
23
- "Invoking Super Earth",
24
- "Upholding managed democracy"
25
- ]
26
- }
27
- }