@vpxa/aikit 0.1.73 → 0.1.75

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 (142) hide show
  1. package/package.json +9 -1
  2. package/packages/cli/dist/index.js +2 -2
  3. package/packages/cli/dist/{init-D_OGLUN1.js → init-CuRXmyD9.js} +4 -4
  4. package/packages/cli/dist/scaffold-WMQ2uQ48.js +2 -0
  5. package/packages/cli/dist/{templates-DJ7EC5vw.js → templates-ArdAVWoY.js} +13 -3
  6. package/packages/cli/dist/user-vbJwa7x2.js +5 -0
  7. package/packages/dashboard/dist/assets/index-C6D-PCp0.js.map +1 -1
  8. package/packages/flows/dist/index.d.ts +29 -0
  9. package/packages/flows/dist/index.js +1 -1
  10. package/packages/server/dist/index.js +1 -1
  11. package/packages/server/dist/{server-B9Mx1aK-.js → server-CVhVH5cT.js} +127 -127
  12. package/packages/tools/dist/index.d.ts +19 -1
  13. package/packages/tools/dist/index.js +39 -39
  14. package/scaffold/dist/adapters/claude-code.mjs +4 -0
  15. package/scaffold/dist/adapters/copilot.mjs +75 -0
  16. package/scaffold/dist/adapters/flows.mjs +1 -0
  17. package/scaffold/dist/adapters/skills.mjs +1 -0
  18. package/scaffold/dist/compiled/flows-data.mjs +1429 -0
  19. package/scaffold/dist/compiled/skills-data.mjs +9951 -0
  20. package/scaffold/dist/definitions/agents.mjs +9 -0
  21. package/scaffold/{definitions → dist/definitions}/bodies.mjs +6 -229
  22. package/scaffold/dist/definitions/exclusions.mjs +1 -0
  23. package/scaffold/dist/definitions/hooks.mjs +1 -0
  24. package/scaffold/dist/definitions/models.mjs +1 -0
  25. package/scaffold/dist/definitions/plugins.mjs +1 -0
  26. package/scaffold/{definitions → dist/definitions}/prompts.mjs +9 -149
  27. package/scaffold/{definitions → dist/definitions}/protocols.mjs +9 -37
  28. package/scaffold/dist/definitions/tools.mjs +1 -0
  29. package/packages/cli/dist/scaffold-CJwkHf-q.js +0 -2
  30. package/packages/cli/dist/user-BEmVW8Tp.js +0 -5
  31. package/scaffold/adapters/claude-code.mjs +0 -73
  32. package/scaffold/adapters/copilot.mjs +0 -292
  33. package/scaffold/definitions/agents.mjs +0 -266
  34. package/scaffold/definitions/hooks.mjs +0 -43
  35. package/scaffold/definitions/models.mjs +0 -84
  36. package/scaffold/definitions/plugins.mjs +0 -147
  37. package/scaffold/definitions/tools.mjs +0 -250
  38. package/scaffold/flows/_epilogue/steps/docs-sync/README.md +0 -120
  39. package/scaffold/flows/aikit-advanced/README.md +0 -70
  40. package/scaffold/flows/aikit-advanced/flow.json +0 -69
  41. package/scaffold/flows/aikit-advanced/steps/design/README.md +0 -178
  42. package/scaffold/flows/aikit-advanced/steps/execute/README.md +0 -145
  43. package/scaffold/flows/aikit-advanced/steps/plan/README.md +0 -122
  44. package/scaffold/flows/aikit-advanced/steps/spec/README.md +0 -121
  45. package/scaffold/flows/aikit-advanced/steps/task/README.md +0 -119
  46. package/scaffold/flows/aikit-advanced/steps/verify/README.md +0 -145
  47. package/scaffold/flows/aikit-basic/README.md +0 -51
  48. package/scaffold/flows/aikit-basic/flow.json +0 -45
  49. package/scaffold/flows/aikit-basic/steps/assess/README.md +0 -109
  50. package/scaffold/flows/aikit-basic/steps/design/README.md +0 -116
  51. package/scaffold/flows/aikit-basic/steps/implement/README.md +0 -131
  52. package/scaffold/flows/aikit-basic/steps/verify/README.md +0 -123
  53. package/scaffold/general/agents/Architect-Reviewer-Alpha.agent.md +0 -132
  54. package/scaffold/general/agents/Architect-Reviewer-Beta.agent.md +0 -132
  55. package/scaffold/general/agents/Code-Reviewer-Alpha.agent.md +0 -112
  56. package/scaffold/general/agents/Code-Reviewer-Beta.agent.md +0 -112
  57. package/scaffold/general/agents/Debugger.agent.md +0 -412
  58. package/scaffold/general/agents/Documenter.agent.md +0 -468
  59. package/scaffold/general/agents/Explorer.agent.md +0 -76
  60. package/scaffold/general/agents/Frontend.agent.md +0 -440
  61. package/scaffold/general/agents/Implementer.agent.md +0 -425
  62. package/scaffold/general/agents/Orchestrator.agent.md +0 -452
  63. package/scaffold/general/agents/Planner.agent.md +0 -481
  64. package/scaffold/general/agents/README.md +0 -57
  65. package/scaffold/general/agents/Refactor.agent.md +0 -435
  66. package/scaffold/general/agents/Researcher-Alpha.agent.md +0 -151
  67. package/scaffold/general/agents/Researcher-Beta.agent.md +0 -152
  68. package/scaffold/general/agents/Researcher-Delta.agent.md +0 -153
  69. package/scaffold/general/agents/Researcher-Gamma.agent.md +0 -152
  70. package/scaffold/general/agents/Security.agent.md +0 -433
  71. package/scaffold/general/agents/_shared/architect-reviewer-base.md +0 -104
  72. package/scaffold/general/agents/_shared/code-agent-base.md +0 -366
  73. package/scaffold/general/agents/_shared/code-reviewer-base.md +0 -87
  74. package/scaffold/general/agents/_shared/decision-protocol.md +0 -27
  75. package/scaffold/general/agents/_shared/forge-protocol.md +0 -90
  76. package/scaffold/general/agents/_shared/researcher-base.md +0 -114
  77. package/scaffold/general/agents/templates/adr-template.md +0 -28
  78. package/scaffold/general/agents/templates/execution-state.md +0 -26
  79. package/scaffold/general/prompts/aikit-ask.prompt.md +0 -13
  80. package/scaffold/general/prompts/aikit-debug.prompt.md +0 -15
  81. package/scaffold/general/prompts/aikit-design.prompt.md +0 -15
  82. package/scaffold/general/prompts/aikit-flow-add.prompt.md +0 -84
  83. package/scaffold/general/prompts/aikit-flow-create.prompt.md +0 -80
  84. package/scaffold/general/prompts/aikit-flow-manage.prompt.md +0 -24
  85. package/scaffold/general/prompts/aikit-implement.prompt.md +0 -17
  86. package/scaffold/general/prompts/aikit-plan.prompt.md +0 -15
  87. package/scaffold/general/prompts/aikit-review.prompt.md +0 -24
  88. package/scaffold/general/skills/adr-skill/SKILL.md +0 -335
  89. package/scaffold/general/skills/adr-skill/assets/templates/adr-madr.md +0 -89
  90. package/scaffold/general/skills/adr-skill/assets/templates/adr-readme.md +0 -20
  91. package/scaffold/general/skills/adr-skill/assets/templates/adr-simple.md +0 -46
  92. package/scaffold/general/skills/adr-skill/references/adr-conventions.md +0 -95
  93. package/scaffold/general/skills/adr-skill/references/examples.md +0 -193
  94. package/scaffold/general/skills/adr-skill/references/review-checklist.md +0 -77
  95. package/scaffold/general/skills/adr-skill/references/template-variants.md +0 -52
  96. package/scaffold/general/skills/adr-skill/scripts/bootstrap_adr.js +0 -259
  97. package/scaffold/general/skills/adr-skill/scripts/new_adr.js +0 -391
  98. package/scaffold/general/skills/adr-skill/scripts/set_adr_status.js +0 -169
  99. package/scaffold/general/skills/aikit/SKILL.md +0 -754
  100. package/scaffold/general/skills/brainstorming/SKILL.md +0 -265
  101. package/scaffold/general/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
  102. package/scaffold/general/skills/c4-architecture/SKILL.md +0 -389
  103. package/scaffold/general/skills/c4-architecture/references/advanced-patterns.md +0 -552
  104. package/scaffold/general/skills/c4-architecture/references/c4-syntax.md +0 -510
  105. package/scaffold/general/skills/c4-architecture/references/common-mistakes.md +0 -437
  106. package/scaffold/general/skills/c4-architecture/references/html-design-system.md +0 -337
  107. package/scaffold/general/skills/c4-architecture/references/html-template.html +0 -627
  108. package/scaffold/general/skills/docs/SKILL.md +0 -553
  109. package/scaffold/general/skills/docs/references/diataxis-anti-patterns.md +0 -147
  110. package/scaffold/general/skills/docs/references/diataxis-compass.md +0 -123
  111. package/scaffold/general/skills/docs/references/diataxis-quadrants.md +0 -192
  112. package/scaffold/general/skills/docs/references/diataxis-quality.md +0 -76
  113. package/scaffold/general/skills/docs/references/diataxis-templates.md +0 -120
  114. package/scaffold/general/skills/docs/references/flow-artifacts-guide.md +0 -70
  115. package/scaffold/general/skills/docs/references/project-knowledge-gotchas.md +0 -32
  116. package/scaffold/general/skills/docs/references/project-knowledge-templates.md +0 -281
  117. package/scaffold/general/skills/docs/references/project-knowledge-workflow.md +0 -80
  118. package/scaffold/general/skills/frontend-design/SKILL.md +0 -237
  119. package/scaffold/general/skills/lesson-learned/SKILL.md +0 -113
  120. package/scaffold/general/skills/lesson-learned/references/anti-patterns.md +0 -55
  121. package/scaffold/general/skills/lesson-learned/references/se-principles.md +0 -109
  122. package/scaffold/general/skills/multi-agents-development/SKILL.md +0 -448
  123. package/scaffold/general/skills/multi-agents-development/architecture-review-prompt.md +0 -81
  124. package/scaffold/general/skills/multi-agents-development/code-quality-review-prompt.md +0 -91
  125. package/scaffold/general/skills/multi-agents-development/implementer-prompt.md +0 -93
  126. package/scaffold/general/skills/multi-agents-development/parallel-dispatch-example.md +0 -167
  127. package/scaffold/general/skills/multi-agents-development/spec-review-prompt.md +0 -81
  128. package/scaffold/general/skills/present/SKILL.md +0 -616
  129. package/scaffold/general/skills/react/SKILL.md +0 -309
  130. package/scaffold/general/skills/repo-access/SKILL.md +0 -178
  131. package/scaffold/general/skills/repo-access/references/error-patterns.md +0 -116
  132. package/scaffold/general/skills/repo-access/references/platform-matrix.md +0 -142
  133. package/scaffold/general/skills/requirements-clarity/SKILL.md +0 -333
  134. package/scaffold/general/skills/session-handoff/SKILL.md +0 -199
  135. package/scaffold/general/skills/session-handoff/references/handoff-template.md +0 -139
  136. package/scaffold/general/skills/session-handoff/references/resume-checklist.md +0 -80
  137. package/scaffold/general/skills/session-handoff/scripts/check_staleness.js +0 -269
  138. package/scaffold/general/skills/session-handoff/scripts/create_handoff.js +0 -299
  139. package/scaffold/general/skills/session-handoff/scripts/list_handoffs.js +0 -113
  140. package/scaffold/general/skills/session-handoff/scripts/validate_handoff.js +0 -241
  141. package/scaffold/general/skills/typescript/SKILL.md +0 -405
  142. package/scaffold/generate.mjs +0 -82
@@ -1,265 +0,0 @@
1
- ---
2
- name: brainstorming
3
- description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation."
4
- metadata:
5
- category: cross-cutting
6
- domain: general
7
- applicability: always
8
- inputs: [requirements, user-intent]
9
- outputs: [design, decisions]
10
- requires: [aikit]
11
- relatedSkills: [requirements-clarity]
12
- argument-hint: "Feature, component, or behavior to design"
13
- ---
14
-
15
- # Brainstorming Ideas Into Designs
16
-
17
- Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
18
-
19
- Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.
20
-
21
- <HARD-GATE>
22
- Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
23
- </HARD-GATE>
24
-
25
- ## Anti-Pattern: "This Is Too Simple To Need A Design"
26
-
27
- Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
28
-
29
- ---
30
-
31
- ## Mode Selection
32
-
33
- This skill operates in two modes. **You decide which mode to use** based on the task characteristics — do NOT ask the user which mode.
34
-
35
- ### Simple Mode
36
-
37
- Use when **all** of these are true:
38
- - Affects ≤3 files
39
- - Single component or concern
40
- - No new service/package/module boundaries
41
- - No cross-service data flow changes
42
- - Clear, well-understood domain
43
-
44
- Examples: config change, utility function, bug fix with design ambiguity, small feature in existing component.
45
-
46
- ### Advanced Mode
47
-
48
- Use when **any** of these are true:
49
- - Affects >3 files or crosses service boundaries
50
- - Introduces new packages, services, or modules
51
- - Multiple independent subsystems involved
52
- - Architectural decisions with multiple viable approaches
53
- - Changes data models, APIs, or interfaces used by other services
54
- - User explicitly requests thorough exploration
55
-
56
- Examples: new notification channel, new API service, platform redesign, multi-service feature, infrastructure changes.
57
-
58
- ---
59
-
60
- ## Simple Mode Process
61
-
62
- ### Checklist
63
-
64
- 1. **Explore project context** — check files, docs, recent commits
65
- 2. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
66
- 3. **Propose 2-3 approaches** — with trade-offs and your recommendation
67
- 4. **Present design** — in sections scaled to their complexity, get user approval after each section
68
- 5. **Write design doc** — save to `docs/plans/YYYY-MM-DD-<topic>-design.md` and commit
69
- 6. **Transition to implementation** — invoke writing-plans skill to create implementation plan
70
-
71
- ### Process Flow
72
-
73
- ```dot
74
- digraph brainstorming_simple {
75
- "Explore project context" [shape=box];
76
- "Ask clarifying questions" [shape=box];
77
- "Propose 2-3 approaches" [shape=box];
78
- "Present design sections" [shape=box];
79
- "User approves design?" [shape=diamond];
80
- "Write design doc" [shape=box];
81
- "Invoke writing-plans skill" [shape=doublecircle];
82
-
83
- "Explore project context" -> "Ask clarifying questions";
84
- "Ask clarifying questions" -> "Propose 2-3 approaches";
85
- "Propose 2-3 approaches" -> "Present design sections";
86
- "Present design sections" -> "User approves design?";
87
- "User approves design?" -> "Present design sections" [label="no, revise"];
88
- "User approves design?" -> "Write design doc" [label="yes"];
89
- "Write design doc" -> "Invoke writing-plans skill";
90
- }
91
- ```
92
-
93
- ---
94
-
95
- ## Advanced Mode Process
96
-
97
- ### Checklist
98
-
99
- 1. **Explore project context** — check files, docs, recent commits
100
- 2. **Assess scope** — if multiple independent subsystems, decompose before detailing (see below)
101
- 3. **Offer visual presentation support** (if topic will involve visual questions) — this is its own message, not combined with a clarifying question. Use `present({ format: "html" })` to display brainstorming results as a rich visual dashboard.
102
- 4. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
103
- 5. **Propose 2-3 approaches via Decision Protocol** — launch ALL 4 Researcher variants in parallel to independently generate approaches. Synthesize their output into deduplicated options with trade-offs and your recommendation. Present agreements and disagreements to the user. *(See "Decision Protocol Integration" below.)*
104
- 6. **Present design** — in sections scaled to their complexity, get user approval after each section
105
- 7. **Write design doc** — save to `docs/plans/YYYY-MM-DD-<topic>-design.md` and commit
106
- 8. **Spec review loop** — review the spec for completeness, consistency, clarity, scope, and YAGNI. Fix issues. Max 3 iterations, then surface to user.
107
- 9. **User reviews written spec** — ask user to review the spec file before proceeding
108
- 10. **Transition to implementation** — invoke writing-plans skill to create implementation plan
109
-
110
- ### Decision Protocol Integration (Advanced Mode Only)
111
-
112
- When Advanced Mode reaches step 5 ("Propose approaches"), invoke the **multi-model decision protocol**:
113
-
114
- 1. Frame the design question with full context gathered from steps 1-4
115
- 2. Launch ALL 4 Researcher variants **in parallel** with identical framing:
116
- > Independently analyze this design question. Propose 2-3 approaches with trade-offs, complexity, risks, and your recommendation.
117
- 3. After all return, synthesize:
118
- - **Strong agreements** (3+ models align) → Accept as validated direction
119
- - **Disagreements** → Present each position to the user with reasoning
120
- 4. Present the deduplicated approaches to the user for choice
121
- 5. If a decision produces an ADR, write it to `docs/decisions/`
122
-
123
- This replaces the single-agent "propose approaches" step with 4 independent perspectives, producing higher-quality options.
124
-
125
- ### Process Flow
126
-
127
- ```dot
128
- digraph brainstorming_advanced {
129
- "Explore project context" [shape=box];
130
- "Assess scope" [shape=diamond];
131
- "Decompose into sub-projects" [shape=box];
132
- "Visual questions ahead?" [shape=diamond];
133
- "Offer Visual Presentation\n(own message)" [shape=box];
134
- "Ask clarifying questions" [shape=box];
135
- "Decision Protocol:\n4 Researchers in parallel" [shape=box, style=bold];
136
- "Synthesize approaches" [shape=box];
137
- "Present design sections" [shape=box];
138
- "User approves design?" [shape=diamond];
139
- "Write design doc" [shape=box];
140
- "Spec review loop" [shape=box];
141
- "Spec review passed?" [shape=diamond];
142
- "User reviews spec?" [shape=diamond];
143
- "Invoke writing-plans skill" [shape=doublecircle];
144
-
145
- "Explore project context" -> "Assess scope";
146
- "Assess scope" -> "Decompose into sub-projects" [label="too large"];
147
- "Assess scope" -> "Visual questions ahead?" [label="right-sized"];
148
- "Decompose into sub-projects" -> "Visual questions ahead?" [label="first sub-project"];
149
- "Visual questions ahead?" -> "Offer Visual Presentation\n(own message)" [label="yes"];
150
- "Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
151
- "Offer Visual Presentation\n(own message)" -> "Ask clarifying questions";
152
- "Ask clarifying questions" -> "Decision Protocol:\n4 Researchers in parallel";
153
- "Decision Protocol:\n4 Researchers in parallel" -> "Synthesize approaches";
154
- "Synthesize approaches" -> "Present design sections";
155
- "Present design sections" -> "User approves design?";
156
- "User approves design?" -> "Present design sections" [label="no, revise"];
157
- "User approves design?" -> "Write design doc" [label="yes"];
158
- "Write design doc" -> "Spec review loop";
159
- "Spec review loop" -> "Spec review passed?";
160
- "Spec review passed?" -> "Spec review loop" [label="issues found, fix"];
161
- "Spec review passed?" -> "User reviews spec?" [label="approved"];
162
- "User reviews spec?" -> "Write design doc" [label="changes requested"];
163
- "User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
164
- }
165
- ```
166
-
167
- ### Large Project Decomposition
168
-
169
- Before asking detailed questions, assess scope: if the request describes multiple independent subsystems (e.g., "build a platform with chat, file storage, billing, and analytics"), flag this immediately. Don't spend questions refining details of a project that needs to be decomposed first.
170
-
171
- If the project is too large for a single spec, help the user decompose into sub-projects: what are the independent pieces, how do they relate, what order should they be built? Then brainstorm the first sub-project through the normal design flow. Each sub-project gets its own spec → plan → implementation cycle.
172
-
173
- ### Spec Review Loop
174
-
175
- After writing the spec document, review it yourself for:
176
-
177
- | Category | What to Look For |
178
- |----------|------------------|
179
- | Completeness | TODOs, placeholders, "TBD", incomplete sections |
180
- | Consistency | Internal contradictions, conflicting requirements |
181
- | Clarity | Requirements ambiguous enough to cause someone to build the wrong thing |
182
- | Scope | Focused enough for a single plan — not covering multiple independent subsystems |
183
- | YAGNI | Unrequested features, over-engineering |
184
-
185
- **Only flag issues that would cause real problems during implementation planning.** A missing section, a contradiction, or a requirement so ambiguous it could be interpreted two different ways — those are issues. Minor wording improvements and stylistic preferences are not.
186
-
187
- Fix issues and re-review. Max 3 iterations, then surface remaining concerns to the user.
188
-
189
- ### User Review Gate
190
-
191
- After the spec review passes, ask the user to review:
192
-
193
- > "Spec written and committed to `<path>`. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."
194
-
195
- Wait for the user's response. If they request changes, make them and re-run the spec review. Only proceed once the user approves.
196
-
197
- ---
198
-
199
- ## The Process (Both Modes)
200
-
201
- **Understanding the idea:**
202
- - Check out the current project state first (files, docs, recent commits)
203
- - Ask questions one at a time to refine the idea
204
- - Prefer multiple choice questions when possible, but open-ended is fine too
205
- - Only one question per message — if a topic needs more exploration, break it into multiple questions
206
- - Focus on understanding: purpose, constraints, success criteria
207
-
208
- **Exploring approaches:**
209
- - Propose 2-3 different approaches with trade-offs
210
- - Present options conversationally with your recommendation and reasoning
211
- - Lead with your recommended option and explain why
212
-
213
- **Presenting the design:**
214
- - Once you believe you understand what you're building, present the design
215
- - Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
216
- - Ask after each section whether it looks right so far
217
- - Cover: architecture, components, data flow, error handling, testing
218
- - Be ready to go back and clarify if something doesn't make sense
219
-
220
- **Design for isolation and clarity** (Advanced mode emphasis, but good practice always):
221
- - Break the system into smaller units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
222
- - For each unit, you should be able to answer: what does it do, how do you use it, and what does it depend on?
223
- - Can someone understand what a unit does without reading its internals? Can you change the internals without breaking consumers? If not, the boundaries need work.
224
-
225
- **Working in existing codebases:**
226
- - Explore the current structure before proposing changes. Follow existing patterns.
227
- - Where existing code has problems that affect the work (e.g., a file that's grown too large, unclear boundaries, tangled responsibilities), include targeted improvements as part of the design — the way a good developer improves code they're working in.
228
- - Don't propose unrelated refactoring. Stay focused on what serves the current goal.
229
-
230
- ## After the Design
231
-
232
- **Documentation:**
233
- - Write the validated design to `docs/plans/YYYY-MM-DD-<topic>-design.md`
234
- - (User preferences for spec location override this default)
235
- - Use elements-of-style:writing-clearly-and-concisely skill if available
236
- - Commit the design document to git
237
-
238
- **Implementation:**
239
- - Invoke the writing-plans skill to create a detailed implementation plan
240
- - Do NOT invoke any other skill. writing-plans is the next step.
241
-
242
- **The terminal state is invoking writing-plans.** Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.
243
-
244
- ## Key Principles
245
-
246
- - **One question at a time** — Don't overwhelm with multiple questions
247
- - **Multiple choice preferred** — Easier to answer than open-ended when possible
248
- - **YAGNI ruthlessly** — Remove unnecessary features from all designs
249
- - **Explore alternatives** — Always propose 2-3 approaches before settling
250
- - **Incremental validation** — Present design, get approval before moving on
251
- - **Be flexible** — Go back and clarify when something doesn't make sense
252
-
253
- ## Visual Presentation Support (Advanced Mode Only)
254
-
255
- Use the `present` MCP tool for showing mockups, diagrams, and visual options during brainstorming. It is available as a tool, not a separate mode. Choosing this means you can present rich visual output when it helps; it does NOT mean every question should become visual.
256
-
257
- **Offering visual presentation:** When you anticipate that upcoming questions will involve visual content (mockups, layouts, diagrams), offer it once for consent:
258
- > "Some of what we're working on might be easier to explain visually. I can use `present({ format: \"html\" })` to show mockups, diagrams, comparisons, and other visuals as we go. Want me to use that when helpful?"
259
-
260
- **This offer MUST be its own message.** Do not combine it with clarifying questions, context summaries, or any other content. Wait for the user's response before continuing. If they decline, proceed with text-only brainstorming.
261
-
262
- **Per-question decision:** Even after the user accepts, decide FOR EACH QUESTION whether to use visual output or plain chat. The test: **would the user understand this better by seeing it than reading it?**
263
-
264
- - **Use `present({ format: "html" })`** for visual content — mockups, wireframes, layout comparisons, architecture diagrams, side-by-side visual designs
265
- - **Use regular chat** for text content — requirements questions, conceptual choices, tradeoff lists, A/B/C/D text options, scope decisions
@@ -1,49 +0,0 @@
1
- # Spec Document Reviewer Prompt Template
2
-
3
- Use this template when dispatching a spec document reviewer subagent.
4
-
5
- **Purpose:** Verify the spec is complete, consistent, and ready for implementation planning.
6
-
7
- **Dispatch after:** Spec document is written to docs/specs/
8
-
9
- ```
10
- Task tool (general-purpose):
11
- description: "Review spec document"
12
- prompt: |
13
- You are a spec document reviewer. Verify this spec is complete and ready for planning.
14
-
15
- **Spec to review:** [SPEC_FILE_PATH]
16
-
17
- ## What to Check
18
-
19
- | Category | What to Look For |
20
- |----------|------------------|
21
- | Completeness | TODOs, placeholders, "TBD", incomplete sections |
22
- | Consistency | Internal contradictions, conflicting requirements |
23
- | Clarity | Requirements ambiguous enough to cause someone to build the wrong thing |
24
- | Scope | Focused enough for a single plan — not covering multiple independent subsystems |
25
- | YAGNI | Unrequested features, over-engineering |
26
-
27
- ## Calibration
28
-
29
- **Only flag issues that would cause real problems during implementation planning.**
30
- A missing section, a contradiction, or a requirement so ambiguous it could be
31
- interpreted two different ways — those are issues. Minor wording improvements,
32
- stylistic preferences, and "sections less detailed than others" are not.
33
-
34
- Approve unless there are serious gaps that would lead to a flawed plan.
35
-
36
- ## Output Format
37
-
38
- ## Spec Review
39
-
40
- **Status:** Approved | Issues Found
41
-
42
- **Issues (if any):**
43
- - [Section X]: [specific issue] - [why it matters for planning]
44
-
45
- **Recommendations (advisory, do not block approval):**
46
- - [suggestions for improvement]
47
- ```
48
-
49
- **Reviewer returns:** Status, Issues (if any), Recommendations