cc-dev-template 0.1.80 → 0.1.81

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 (70) hide show
  1. package/package.json +1 -1
  2. package/src/skills/agent-browser/SKILL.md +7 -133
  3. package/src/skills/agent-browser/references/common-patterns.md +64 -0
  4. package/src/skills/agent-browser/references/ios-simulator.md +25 -0
  5. package/src/skills/agent-browser/references/reflect.md +9 -0
  6. package/src/skills/agent-browser/references/semantic-locators.md +11 -0
  7. package/src/skills/claude-md/SKILL.md +1 -3
  8. package/src/skills/claude-md/references/audit-reflect.md +0 -4
  9. package/src/skills/claude-md/references/audit.md +1 -3
  10. package/src/skills/claude-md/references/create-reflect.md +0 -4
  11. package/src/skills/claude-md/references/create.md +1 -3
  12. package/src/skills/claude-md/references/modify-reflect.md +0 -4
  13. package/src/skills/claude-md/references/modify.md +1 -3
  14. package/src/skills/creating-agent-skills/SKILL.md +2 -2
  15. package/src/skills/creating-agent-skills/references/create-step-1-understand.md +1 -1
  16. package/src/skills/creating-agent-skills/references/create-step-2-design.md +3 -3
  17. package/src/skills/creating-agent-skills/references/create-step-3-write.md +42 -10
  18. package/src/skills/creating-agent-skills/references/create-step-4-review.md +2 -2
  19. package/src/skills/creating-agent-skills/references/create-step-5-install.md +1 -3
  20. package/src/skills/creating-agent-skills/references/create-step-6-reflect.md +1 -3
  21. package/src/skills/creating-agent-skills/references/fix-step-1-diagnose.md +5 -4
  22. package/src/skills/creating-agent-skills/references/fix-step-2-apply.md +2 -2
  23. package/src/skills/creating-agent-skills/references/fix-step-3-validate.md +1 -3
  24. package/src/skills/creating-agent-skills/references/fix-step-4-reflect.md +1 -3
  25. package/src/skills/creating-agent-skills/templates/router-skill.md +3 -3
  26. package/src/skills/creating-sub-agents/references/create-step-1-understand.md +1 -1
  27. package/src/skills/creating-sub-agents/references/create-step-2-design.md +1 -1
  28. package/src/skills/creating-sub-agents/references/create-step-3-write.md +1 -1
  29. package/src/skills/creating-sub-agents/references/create-step-4-review.md +1 -1
  30. package/src/skills/creating-sub-agents/references/create-step-5-install.md +1 -3
  31. package/src/skills/creating-sub-agents/references/create-step-6-reflect.md +0 -4
  32. package/src/skills/creating-sub-agents/references/fix-step-3-validate.md +1 -3
  33. package/src/skills/creating-sub-agents/references/fix-step-4-reflect.md +0 -4
  34. package/src/skills/execute-spec/SKILL.md +9 -17
  35. package/src/skills/execute-spec/references/phase-1-hydrate.md +4 -1
  36. package/src/skills/execute-spec/references/phase-2-build.md +5 -3
  37. package/src/skills/execute-spec/references/phase-3-validate.md +5 -4
  38. package/src/skills/execute-spec/references/phase-4-triage.md +4 -0
  39. package/src/skills/execute-spec/references/phase-5-reflect.md +1 -3
  40. package/src/skills/initialize-project/SKILL.md +2 -4
  41. package/src/skills/initialize-project/references/reflect.md +0 -4
  42. package/src/skills/project-setup/references/step-5-verify.md +1 -3
  43. package/src/skills/project-setup/references/step-6-reflect.md +0 -4
  44. package/src/skills/prompting/SKILL.md +1 -1
  45. package/src/skills/prompting/references/create-reflect.md +0 -4
  46. package/src/skills/prompting/references/create.md +1 -3
  47. package/src/skills/prompting/references/review-reflect.md +0 -4
  48. package/src/skills/prompting/references/review.md +1 -3
  49. package/src/skills/research/SKILL.md +1 -1
  50. package/src/skills/research/references/step-2-conduct-research.md +1 -3
  51. package/src/skills/research/references/step-3-reflect.md +0 -4
  52. package/src/skills/setup-lsp/SKILL.md +1 -1
  53. package/src/skills/setup-lsp/references/step-1-scan.md +1 -1
  54. package/src/skills/setup-lsp/references/step-2-install-configure.md +1 -3
  55. package/src/skills/setup-lsp/references/step-3-verify.md +1 -3
  56. package/src/skills/setup-lsp/references/step-4-reflect.md +0 -2
  57. package/src/skills/spec-interview/SKILL.md +1 -32
  58. package/src/skills/spec-interview/references/step-1-opening.md +32 -1
  59. package/src/skills/spec-interview/references/step-2-ideation.md +2 -2
  60. package/src/skills/spec-interview/references/step-4-deep-dive.md +18 -0
  61. package/src/skills/spec-interview/references/step-7-finalize.md +1 -3
  62. package/src/skills/spec-interview/references/step-8-reflect.md +1 -3
  63. package/src/skills/spec-review/SKILL.md +8 -9
  64. package/src/skills/spec-sanity-check/SKILL.md +2 -2
  65. package/src/skills/spec-to-tasks/SKILL.md +3 -3
  66. package/src/skills/spec-to-tasks/references/step-3-generate.md +5 -7
  67. package/src/skills/spec-to-tasks/references/step-4-review.md +9 -14
  68. package/src/skills/task-review/SKILL.md +2 -2
  69. package/src/skills/task-review/references/checklist.md +14 -16
  70. package/src/skills/execute-spec/references/workflow.md +0 -82
@@ -1,9 +1,5 @@
1
1
  # Step 6: Reflect and Improve
2
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
3
  ## Assess
8
4
 
9
5
  Answer these questions honestly:
@@ -51,6 +51,4 @@ Summarize what was fixed:
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
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.
54
+ Use the Read tool on `references/fix-step-4-reflect.md` to reflect on the fix process and note any skill issues.
@@ -1,9 +1,5 @@
1
1
  # Step 4: Reflect and Improve
2
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
3
  ## Assess
8
4
 
9
5
  Answer these questions honestly:
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: execute-spec
3
+ description: Orchestrates implementation and validation of a spec's task breakdown by dispatching agents — never reads task files or edits code directly.
2
4
  allowed-tools: Grep, Glob, Task, TaskCreate, TaskList, TaskUpdate, TaskGet, AskUserQuestion, Bash
3
5
  hooks:
4
6
  PreToolUse:
@@ -12,8 +14,6 @@ hooks:
12
14
 
13
15
  Orchestrates the implementation and validation of a spec's task breakdown.
14
16
 
15
- **Important**: This skill is an orchestrator only. It does NOT read task files or edit code directly. It dispatches agents and receives minimal status responses. All detailed work happens in the agents; all detailed findings live in the task files.
16
-
17
17
  ## When to Use
18
18
 
19
19
  Invoke when you have a complete spec with a `tasks/` folder containing task files (T001-*.md, T002-*.md, etc.) ready for implementation.
@@ -23,26 +23,18 @@ Invoke when you have a complete spec with a `tasks/` folder containing task file
23
23
  This skill takes a spec path as an argument:
24
24
  - `docs/specs/my-feature` - path to the spec folder containing `spec.md` and `tasks/`
25
25
 
26
- ## Workflow
27
-
28
- Read `references/workflow.md` for the full orchestration flow.
29
-
30
- ## Phases
31
-
32
- 1. **Hydrate** - Run parse script, create tasks with dependencies (NO file reading)
33
- 2. **Build** - Dispatch spec-implementer agents, receive minimal status
34
- 3. **Validate** - Dispatch spec-validator agents, receive pass/fail
35
- 4. **Triage** - Re-dispatch implementers for failed tasks, loop until clean
36
- 5. **Reflect** - Assess orchestration experience, improve skill files (mandatory)
37
-
38
26
  ## Key Principles
39
27
 
40
- - **Never read task files** - Use the parse script for hydration, pass paths to agents
41
- - **Minimal context** - Agent returns are pass/fail only, details in task files
42
- - **Delegate everything** - Fixes go to spec-implementer, not done by orchestrator
28
+ - **Never read task files** Use the parse script for hydration, pass paths to agents. A PreToolUse hook blocks task file reads.
29
+ - **Minimal context** Agent returns are pass/fail only, details live in task files.
30
+ - **Dispatch only** All implementation and fixes go to spec-implementer agents, all validation to spec-validator agents. The orchestrator dispatches and collects status.
43
31
 
44
32
  ## Requirements
45
33
 
46
34
  - Spec folder must contain `spec.md` and `tasks/` directory
47
35
  - Task files must have YAML frontmatter with `id`, `title`, `status`, `depends_on`
48
36
  - The `spec-implementer` and `spec-validator` agents must be installed
37
+
38
+ ## Start
39
+
40
+ Read `references/phase-1-hydrate.md` to begin the workflow.
@@ -68,4 +68,7 @@ Maintain a mapping of task IDs (T001, T002) to Claude task system IDs.
68
68
 
69
69
  - All tasks in Claude Code task system
70
70
  - Dependencies configured
71
- - Ready for Phase 2
71
+
72
+ ## Next
73
+
74
+ Use the Read tool on `references/phase-2-build.md` to start dispatching implementers.
@@ -25,8 +25,7 @@ Loop until all tasks complete:
25
25
  )
26
26
 
27
27
  4. Wait for completions:
28
- - Agents mark tasks complete when done
29
- - Poll TaskList periodically to check status
28
+ - Background agents will notify you when they finish — wait for their completion messages
30
29
  - As tasks complete, newly unblocked tasks become ready
31
30
 
32
31
  5. Repeat until no pending tasks remain
@@ -60,4 +59,7 @@ Build Progress:
60
59
 
61
60
  - All tasks implemented (or failed with notes)
62
61
  - Implementation Notes written to each task file
63
- - Ready for Phase 3: Validate
62
+
63
+ ## Next
64
+
65
+ Use the Read tool on `references/phase-3-validate.md` to validate the implementations.
@@ -29,9 +29,7 @@ Dispatch spec-validator agents for each completed task.
29
29
 
30
30
  4. Wait for all validators to complete
31
31
 
32
- 5. Collect results:
33
- - Read Review Notes from each task file
34
- - Aggregate issues by severity
32
+ 5. Collect results from validator returns (pass/fail status only)
35
33
  ```
36
34
 
37
35
  ## Validator Behavior
@@ -69,4 +67,7 @@ Validation Results:
69
67
 
70
68
  - Validation complete for all tasks
71
69
  - Issues collected and categorized
72
- - Ready for Phase 4: Triage
70
+
71
+ ## Next
72
+
73
+ Use the Read tool on `references/phase-4-triage.md` to process results and fix any failures.
@@ -73,3 +73,7 @@ Phase completes when:
73
73
  1. All validators return "Pass: TXXX"
74
74
  2. User explicitly defers remaining issues
75
75
  3. Max retry limit reached (suggest user intervention)
76
+
77
+ ## Next
78
+
79
+ Use the Read tool on `references/phase-5-reflect.md` to present final results to the user and reflect on the workflow.
@@ -1,8 +1,6 @@
1
1
  # Phase 5: Reflect and Improve
2
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.
3
+ Reflect on your experience orchestrating this spec execution.
6
4
 
7
5
  ## Assess
8
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: initialize-project
3
- description: Scaffold docs structure for Claude Code sessions. Use when starting a new project, when "docs/CURRENT_WORK.md is missing", or when user says "initialize this project" or "set up session tracking".
3
+ description: Scaffold docs structure for Claude Code sessions. Use when starting a new project, when the project lacks docs/CURRENT_WORK.md, or when the user wants session tracking initialized.
4
4
  ---
5
5
 
6
6
  # Initialize Project
@@ -32,6 +32,4 @@ Report what was created:
32
32
 
33
33
  End with: "Run `/prime` to start a session."
34
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.
35
+ Use the Read tool on `references/reflect.md` to reflect on the setup and note any skill issues.
@@ -1,9 +1,5 @@
1
1
  # Reflect and Improve
2
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
3
  ## Assess
8
4
 
9
5
  Answer these questions honestly:
@@ -69,6 +69,4 @@ Tell the user:
69
69
 
70
70
  If everything passed, the setup is complete.
71
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.
72
+ Use the Read tool on `references/step-6-reflect.md` to reflect on the setup experience and note any skill issues.
@@ -1,9 +1,5 @@
1
1
  # Step 6: Reflect and Improve
2
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
3
  ## Assess
8
4
 
9
5
  Answer these questions honestly:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: prompting
3
- description: Invoked when user says "review my prompt", "help me write a prompt", "improve this prompt", or "create a prompt for...". Guides prompt creation and improvement using Claude 4.x best practices.
3
+ description: Guide prompt creation and improvement using Claude 4.x best practices. Use for reviewing existing prompts, creating new prompts, or improving prompt effectiveness.
4
4
  ---
5
5
 
6
6
  # Prompting
@@ -1,9 +1,5 @@
1
1
  # Reflect on Prompt Creation
2
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
3
  ## Assess
8
4
 
9
5
  Answer these questions honestly:
@@ -58,6 +58,4 @@ Ask: "Does this capture what you need? Any adjustments?"
58
58
 
59
59
  Incorporate feedback until the user is satisfied.
60
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.
61
+ Use the Read tool on `references/create-reflect.md` to reflect on the prompt creation and note any skill issues.
@@ -1,9 +1,5 @@
1
1
  # Reflect on Prompt Review
2
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
3
  ## Assess
8
4
 
9
5
  Answer these questions honestly:
@@ -77,6 +77,4 @@ 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
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.
80
+ Use the Read tool on `references/review-reflect.md` to reflect on the prompt review and note any skill issues.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: research
3
- description: Deep research on unfamiliar paradigms, libraries, or patterns before implementation. Activates when the user says "research X", "how should we implement X", "best practices for X", or when spec-interview identifies research needs. Outputs to docs/research/ with YAML frontmatter.
3
+ description: Deep research on unfamiliar paradigms, libraries, or patterns before implementation. Use when a topic needs investigation before coding, or when spec-interview identifies research needs. Outputs to docs/research/ with YAML frontmatter.
4
4
  ---
5
5
 
6
6
  # Research
@@ -62,6 +62,4 @@ After writing the document:
62
62
  2. Summarize the key takeaways
63
63
  3. Return to the invoking context (spec-interview or user)
64
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.
65
+ Use the Read tool on `references/step-3-reflect.md` to reflect on the research process and note any skill issues.
@@ -1,9 +1,5 @@
1
1
  # Step 3: Reflect and Improve
2
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
3
  ## Assess
8
4
 
9
5
  Answer these questions honestly:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: setup-lsp
3
- description: Set up LSP language servers for the current project. Use when the user says "setup LSP", "configure LSP", "enable LSP", "install language servers", or "add code intelligence". Use "verify" argument after restart to confirm LSP is working.
3
+ description: Set up LSP language servers for the current project. Use when the project needs code intelligence configured, or to verify an existing LSP setup. Pass "verify" argument after restart to confirm LSP is working.
4
4
  disable-model-invocation: true
5
5
  argument-hint: "[verify]"
6
6
  ---
@@ -25,4 +25,4 @@ Show the user:
25
25
 
26
26
  Ask the user to confirm which LSPs to install. They may want to skip some languages.
27
27
 
28
- Read `references/step-2-install-configure.md`.
28
+ Use the Read tool on `references/step-2-install-configure.md` to install language server binaries and configure Claude Code plugins.
@@ -80,6 +80,4 @@ Tell the user:
80
80
  2. Restart Claude Code in this project directory
81
81
  3. Run `/setup-lsp verify` to confirm LSP is working
82
82
 
83
- **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
84
-
85
- Read `references/step-4-reflect.md` now.
83
+ Use the Read tool on `references/step-4-reflect.md` to reflect on the setup and capture any workarounds for future runs.
@@ -38,6 +38,4 @@ Tell the user:
38
38
  - Which operations were tested and their results
39
39
  - Any operations that didn't work (with explanation)
40
40
 
41
- **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
42
-
43
- Read `references/step-4-reflect.md` now.
41
+ Use the Read tool on `references/step-4-reflect.md` to reflect on the setup and capture any workarounds for future runs.
@@ -1,7 +1,5 @@
1
1
  # Step 4: Reflect
2
2
 
3
- **IMPORTANT: This step is mandatory. The setup-lsp workflow is not complete until this step is finished. Do not skip this.**
4
-
5
3
  ## Assess
6
4
 
7
5
  - Were any install commands wrong, outdated, or platform-specific in a way the registry didn't account for?
@@ -6,38 +6,7 @@ argument-hint: <spec-name>
6
6
 
7
7
  # Spec Interview
8
8
 
9
- ## Team-Based Approach
10
-
11
- **IMPORTANT:** This skill uses an agent team for collaborative spec development. You are the **Lead** — you interview the user, write the spec, and curate team input. Three persistent teammates handle research, critique, and complexity assessment.
12
-
13
- ### Team Composition
14
-
15
- All teammates run on Opus:
16
- - **Researcher** (researcher): Continuously explores the codebase, maps file landscape, integration points, data model. Drafts technical sections.
17
- - **Critic** (critic): Reviews the emerging spec for gaps, bad assumptions, edge cases. Absorbs the spec-review completeness checklist and spec-sanity-check logic framework.
18
- - **Pragmatist** (pragmatist): Evaluates complexity, pushes back on over-engineering, identifies the simplest buildable path.
19
-
20
- ### Working Directory
21
-
22
- The team shares `{spec_dir}/working/`:
23
- - `context.md` — You (the Lead) write interview updates here. Append-only — each update is a new section with a heading (e.g., `## Step 1: Feature Overview`). This replaces broadcasting — teammates read this file to stay current.
24
- - Teammates write their findings to `working/` with descriptive filenames. Read these at checkpoints.
25
- - `spec.md` (parent dir) — The living spec. You own this file. Teammates read it but never write to it.
26
-
27
- ### Checkpoint Pattern
28
-
29
- Surface team input at step transitions, not continuously. This keeps the user conversation clean:
30
- - **After Step 2** (approach selected): Read all working files, curate team findings for user
31
- - **During Step 4** (deep dive): Read Researcher findings for each subsection, read Critic/Pragmatist feedback
32
- - **At Step 7** (finalize): Request final assessments from all three, compile and present to user
33
-
34
- At each checkpoint: read the working files, identify findings that are relevant and actionable, summarize them for the user as "Before we continue, my research team surfaced a few things..." Skip trivial items.
35
-
36
- ### Team Lifecycle
37
-
38
- 1. **Spawn** — After Step 1 (once the feature is understood), create the working directory, read the three prompt templates from `references/`, substitute `{spec_dir}` and `{feature_name}`, use TeamCreate to create a team named `spec-{feature-name}`, then spawn the three teammates via the Task tool
39
- 2. **Communicate** — Update context.md after each step. Message teammates for specific questions. Read their working files at checkpoints.
40
- 3. **Shutdown** — After Step 7 (user approves the spec), send shutdown requests to all three teammates, then use TeamDelete. Leave the `working/` directory in place as reference for implementation.
9
+ Conduct a structured interview to produce an implementation-ready feature spec. This skill uses an agent team — three persistent teammates (Researcher, Critic, Pragmatist) handle codebase exploration, quality review, and complexity assessment while you lead the interview.
41
10
 
42
11
  ## What To Do Now
43
12
 
@@ -22,7 +22,38 @@ Move on when:
22
22
 
23
23
  ## Initialize the Team
24
24
 
25
- Before proceeding to Step 2, set up the agent team:
25
+ You are the **Lead** you interview the user, write the spec, and curate team input. Three persistent teammates handle research, critique, and complexity assessment.
26
+
27
+ ### Team Composition
28
+
29
+ All teammates run on Opus:
30
+ - **Researcher** (researcher): Continuously explores the codebase, maps file landscape, integration points, data model. Drafts technical sections.
31
+ - **Critic** (critic): Reviews the emerging spec for gaps, bad assumptions, edge cases. Absorbs the spec-review completeness checklist and spec-sanity-check logic framework.
32
+ - **Pragmatist** (pragmatist): Evaluates complexity, pushes back on over-engineering, identifies the simplest buildable path.
33
+
34
+ ### Working Directory
35
+
36
+ The team shares `{spec_dir}/working/`:
37
+ - `context.md` — You (the Lead) write interview updates here. Append-only — each update is a new section with a heading (e.g., `## Step 1: Feature Overview`). This replaces broadcasting — teammates read this file to stay current.
38
+ - Teammates write their findings to `working/` with descriptive filenames. Read these at checkpoints.
39
+ - `spec.md` (parent dir) — The living spec. You own this file. Teammates read it but never write to it.
40
+
41
+ ### Checkpoint Pattern
42
+
43
+ Surface team input at step transitions, not continuously. This keeps the user conversation clean:
44
+ - **After Step 2** (approach selected): Read all working files, curate team findings for user
45
+ - **During Step 4** (deep dive): Read Researcher findings for each subsection, read Critic/Pragmatist feedback
46
+ - **At Step 7** (finalize): Request final assessments from all three, compile and present to user
47
+
48
+ At each checkpoint: read the working files, identify findings that are relevant and actionable, summarize them for the user as "Before we continue, my research team surfaced a few things..." Skip trivial items.
49
+
50
+ ### Team Lifecycle
51
+
52
+ 1. **Spawn** — After the opening questions (once the feature is understood), create the working directory, read the three prompt templates from `references/`, substitute `{spec_dir}` and `{feature_name}`, use TeamCreate to create a team named `spec-{feature-name}`, then spawn the three teammates via the Task tool
53
+ 2. **Communicate** — Update context.md after each step. Message teammates for specific questions. Read their working files at checkpoints.
54
+ 3. **Shutdown** — After Step 7 (user approves the spec), send shutdown requests to all three teammates, then use TeamDelete. Leave the `working/` directory in place as reference for implementation.
55
+
56
+ ### Spawn Steps
26
57
 
27
58
  1. Create the spec directory at `docs/specs/<feature-name>/` if not already created
28
59
  2. Create `docs/specs/<feature-name>/working/` subdirectory
@@ -14,7 +14,7 @@ Use AskUserQuestion to ask:
14
14
 
15
15
  ## Hybrid Brainstorming
16
16
 
17
- Research shows that combining human and AI ideas produces more original solutions than either alone. The key: get human ideas first, before AI suggestions anchor their thinking.
17
+ Get human ideas first, before AI suggestions anchor their thinking.
18
18
 
19
19
  ### 1. Collect User Ideas First
20
20
 
@@ -22,7 +22,7 @@ Use AskUserQuestion:
22
22
 
23
23
  > "Before I suggest anything - what approaches have you been considering? Even rough or half-formed ideas are valuable."
24
24
 
25
- Let them share freely. Don't evaluate yet. The goal is to capture their independent thinking before AI ideas influence it.
25
+ Capture ideas without evaluating. The goal is to capture their independent thinking before AI ideas influence it.
26
26
 
27
27
  ### 2. Generate AI Alternatives
28
28
 
@@ -42,6 +42,15 @@ This becomes the File Landscape section of the spec, which spec-to-tasks uses di
42
42
  - Triggers and resulting actions
43
43
  - Different modes or variations
44
44
 
45
+ ### Constraints
46
+ - What is explicitly out of scope (features, users, flows to NOT build)
47
+ - Technology boundaries (must use X, must not introduce Y)
48
+ - Performance requirements (latency, throughput, resource limits)
49
+ - Security requirements (auth, PII handling, logging restrictions)
50
+ - Compatibility requirements (browsers, platforms, API versions)
51
+
52
+ Constraints that aren't written down don't exist during implementation. If the spec doesn't say "don't introduce a new ORM" or "must stay under 200ms," those boundaries won't be respected downstream.
53
+
45
54
  ### Edge Cases & Error Handling
46
55
  - Failure modes and how to handle them
47
56
  - Invalid input handling
@@ -67,6 +76,15 @@ Write to `docs/specs/<name>/spec.md` with this structure:
67
76
  - [Primary goal]
68
77
  - [Secondary goals]
69
78
 
79
+ ## Approach
80
+ [Chosen approach and rationale. What alternatives were considered and why this one was selected.]
81
+
82
+ ## Constraints
83
+ - **Out of scope:** [What this feature explicitly does NOT do]
84
+ - **Technology:** [Must use / must not introduce]
85
+ - **Performance:** [Latency, throughput, resource limits]
86
+ - **Security:** [Auth, PII, logging restrictions]
87
+
70
88
  ## Integration Points
71
89
  - Touches: [existing components]
72
90
  - External: [APIs, services, libraries]
@@ -57,6 +57,4 @@ Once user confirms no more review passes needed:
57
57
 
58
58
  If yes to task breakdown, invoke `spec-to-tasks` and specify which spec to break down.
59
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.
60
+ Use the Read tool on `references/step-8-reflect.md` to reflect on the interview process and note any skill issues.
@@ -1,8 +1,6 @@
1
1
  # Step 8: Reflect and Improve
2
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.
3
+ Reflect on this spec interview to improve the skill itself.
6
4
 
7
5
  ## Assess
8
6
 
@@ -1,22 +1,21 @@
1
1
  ---
2
2
  name: spec-review
3
- description: This skill should be used when the user says "review the spec", "check spec completeness", or "is this spec ready". Also invoked by spec-interview when a spec is complete.
3
+ description: Review a feature spec for completeness and implementation readiness. Checks data models, integration points, acceptance criteria, CLAUDE.md alignment, and duplication.
4
4
  argument-hint: <spec-name>
5
5
  context: fork
6
6
  ---
7
7
 
8
8
  # Spec Review
9
9
 
10
- ## Steps
10
+ ## Find the Spec
11
11
 
12
- 1. **Find the spec** - Use the path from the prompt if provided. Otherwise, find the most recently modified file in `docs/specs/`. If no specs exist, inform the user and stop.
13
- 2. **Read the spec file**
14
- 3. **Find all CLAUDE.md files** - Search for every CLAUDE.md in the project (root and subdirectories)
15
- 4. **Read all CLAUDE.md files** - These contain project constraints and conventions
16
- 5. **Evaluate against the checklist below** - Including CLAUDE.md alignment
17
- 6. **Return structured feedback using the output format**
12
+ Use the path from the prompt if provided. Otherwise, find the most recently modified file in `docs/specs/`. If no specs exist, inform the user and stop.
18
13
 
19
- ## Completeness Checklist
14
+ ## Read Context
15
+
16
+ Read the spec file and all CLAUDE.md files in the project (root and subdirectories). CLAUDE.md files contain project constraints and conventions to check alignment against.
17
+
18
+ ## Evaluate Against Checklist
20
19
 
21
20
  A spec is implementation-ready when ALL of these are satisfied:
22
21
 
@@ -1,13 +1,13 @@
1
1
  ---
2
2
  name: spec-sanity-check
3
- description: This skill should be used alongside spec-review to catch logic gaps and incorrect assumptions. Invoked when the user says "sanity check this spec", "does this plan make sense", or "what am I missing". Also auto-invoked by spec-interview during finalization.
3
+ description: Fresh-eyes review of a spec's logic and assumptions. Checks for logic gaps, incorrect assumptions about existing systems, unconsidered scenarios, and implementation pitfalls.
4
4
  argument-hint: <spec-path>
5
5
  context: fork
6
6
  ---
7
7
 
8
8
  # Spec Sanity Check
9
9
 
10
- Provide a "fresh eyes" review of the spec. This is different from spec-review — you're not checking format or completeness. You're checking whether the plan will actually work.
10
+ Review the spec with fresh eyes. Focus on whether the plan will actually work, not format or completeness.
11
11
 
12
12
  ## Find the Spec
13
13
 
@@ -13,11 +13,11 @@ This skill has 5 steps. **You must complete ALL steps. Do not stop early or skip
13
13
 
14
14
  1. **Identify Spec** - Find and verify the spec file
15
15
  2. **Verify File Landscape** - Map files to acceptance criteria
16
- 3. **Generate Tasks** - Create task files in `tasks/` directory
17
- 4. **Review Tasks** - Run review checklist in a loop until no critical issues remain
16
+ 3. **Draft Tasks** - Create draft task files in `tasks/` directory
17
+ 4. **Review and Present** - Review drafts, auto-fix issues, then present final results to the user
18
18
  5. **Reflect** - Note any skill issues observed during this run
19
19
 
20
- Steps 4 and 5 are mandatory. The review loop in step 4 is automated fix issues and re-check until clean, with no user input required.
20
+ Step 4 is where you present results to the user. Step 3 produces drafts; step 4 reviews, fixes, and presents them.
21
21
 
22
22
  ## What To Do Now
23
23
 
@@ -1,6 +1,6 @@
1
- # Step 3: Generate Task Files
1
+ # Step 3: Draft Task Files
2
2
 
3
- Create individual task files based on the spec and codebase exploration.
3
+ Create draft task files based on the spec and codebase exploration. These are drafts — you will review, fix, and present them in the next step.
4
4
 
5
5
  ## Task Principles
6
6
 
@@ -60,10 +60,8 @@ docs/specs/<name>/
60
60
 
61
61
  Use the template in `templates/task.md` for each file. Name files in dependency order so alphabetical sorting reflects execution order.
62
62
 
63
- ## Do NOT Present Results Yet
63
+ After writing all draft task files, use the Read tool on `references/step-4-review.md` to review and present your results to the user.
64
64
 
65
- You have generated task files but you are NOT done. The review step is next and it is mandatory.
65
+ ## Continue to Review
66
66
 
67
- **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
68
-
69
- Read `references/step-4-review.md` now.
67
+ Draft task files are ready. Use the Read tool on `references/step-4-review.md` now that is where you review the drafts and present the final results to the user.
@@ -1,8 +1,8 @@
1
- # Step 4: Review Task Breakdown
1
+ # Step 4: Review and Present Tasks
2
2
 
3
- **IMPORTANT: This step is mandatory. The spec-to-tasks workflow is not complete until this step is finished. Do not skip this.**
3
+ Review the draft tasks, auto-fix all issues, then present the final results to the user. This is the step where the user sees your output.
4
4
 
5
- You must review the generated tasks, fix any issues, and re-review until the breakdown is clean. This is fully automated — do not ask the user for input during this step.
5
+ This is fully automated fix every issue you find without asking the user. Do not ask for input during this step.
6
6
 
7
7
  ## Review Checklist
8
8
 
@@ -71,24 +71,19 @@ Compare acceptance criteria in the spec to tasks generated.
71
71
  - No two tasks create components with similar names, purposes, or overlapping structure
72
72
  - Shared patterns use a single shared component with configuration, not separate implementations
73
73
 
74
- ## Review Loop
74
+ ## Review and Fix Loop
75
75
 
76
- Run the checklist above against all task files. Then:
76
+ Run the checklist above against all task files. Fix every issue you find — Critical, Warning, and fixable Notes — by editing the task files directly. Then re-run the full checklist from the top. Repeat until no issues remain.
77
77
 
78
- 1. **If Critical issues found:** Fix them by editing the task files. Then re-run the full checklist again from the top. Repeat until no Critical issues remain.
79
- 2. **If only Warnings/Notes remain:** Proceed — you will present these to the user.
80
- 3. **If no issues found:** Proceed.
78
+ Do not present results until the loop is clean.
81
79
 
82
- Do NOT present results after a single pass if Critical issues exist. The loop must continue until clean.
80
+ ## Present Results to User
83
81
 
84
- ## Present to User
85
-
86
- After the review loop completes with no Critical issues, present:
82
+ After the review loop completes clean, present:
87
83
 
88
84
  1. Number of tasks generated
89
85
  2. Task dependency tree (visual format)
90
- 3. Any Warnings from the review (with your recommendation)
91
- 4. Offer to show task files or proceed to implementation
86
+ 3. Summary of review findings and fixes applied (what you found, what you fixed)
92
87
 
93
88
  **IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
94
89