create-agentic-app 1.1.52 → 1.1.54

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 (80) hide show
  1. package/package.json +1 -1
  2. package/template/AGENTS.md +43 -1
  3. package/template/skills-lock.json +0 -60
  4. package/template/.agents/skills/brainstorming/SKILL.md +0 -164
  5. package/template/.agents/skills/brainstorming/scripts/frame-template.html +0 -214
  6. package/template/.agents/skills/brainstorming/scripts/helper.js +0 -88
  7. package/template/.agents/skills/brainstorming/scripts/server.cjs +0 -354
  8. package/template/.agents/skills/brainstorming/scripts/start-server.sh +0 -148
  9. package/template/.agents/skills/brainstorming/scripts/stop-server.sh +0 -56
  10. package/template/.agents/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
  11. package/template/.agents/skills/brainstorming/visual-companion.md +0 -287
  12. package/template/.agents/skills/dispatching-parallel-agents/SKILL.md +0 -182
  13. package/template/.agents/skills/executing-plans/SKILL.md +0 -70
  14. package/template/.agents/skills/finishing-a-development-branch/SKILL.md +0 -200
  15. package/template/.agents/skills/receiving-code-review/SKILL.md +0 -213
  16. package/template/.agents/skills/requesting-code-review/SKILL.md +0 -105
  17. package/template/.agents/skills/requesting-code-review/code-reviewer.md +0 -146
  18. package/template/.agents/skills/subagent-driven-development/SKILL.md +0 -277
  19. package/template/.agents/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -26
  20. package/template/.agents/skills/subagent-driven-development/implementer-prompt.md +0 -113
  21. package/template/.agents/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
  22. package/template/.agents/skills/systematic-debugging/CREATION-LOG.md +0 -119
  23. package/template/.agents/skills/systematic-debugging/SKILL.md +0 -296
  24. package/template/.agents/skills/systematic-debugging/condition-based-waiting-example.ts +0 -158
  25. package/template/.agents/skills/systematic-debugging/condition-based-waiting.md +0 -115
  26. package/template/.agents/skills/systematic-debugging/defense-in-depth.md +0 -122
  27. package/template/.agents/skills/systematic-debugging/find-polluter.sh +0 -63
  28. package/template/.agents/skills/systematic-debugging/root-cause-tracing.md +0 -169
  29. package/template/.agents/skills/systematic-debugging/test-academic.md +0 -14
  30. package/template/.agents/skills/systematic-debugging/test-pressure-1.md +0 -58
  31. package/template/.agents/skills/systematic-debugging/test-pressure-2.md +0 -68
  32. package/template/.agents/skills/systematic-debugging/test-pressure-3.md +0 -69
  33. package/template/.agents/skills/test-driven-development/SKILL.md +0 -371
  34. package/template/.agents/skills/test-driven-development/testing-anti-patterns.md +0 -299
  35. package/template/.agents/skills/using-superpowers/SKILL.md +0 -117
  36. package/template/.agents/skills/using-superpowers/references/codex-tools.md +0 -100
  37. package/template/.agents/skills/using-superpowers/references/copilot-tools.md +0 -52
  38. package/template/.agents/skills/using-superpowers/references/gemini-tools.md +0 -33
  39. package/template/.agents/skills/verification-before-completion/SKILL.md +0 -139
  40. package/template/.agents/skills/writing-plans/SKILL.md +0 -152
  41. package/template/.agents/skills/writing-plans/plan-document-reviewer-prompt.md +0 -49
  42. package/template/.claude/commands/publish-to-github.md +0 -304
  43. package/template/.claude/skills/brainstorming/SKILL.md +0 -164
  44. package/template/.claude/skills/brainstorming/scripts/frame-template.html +0 -214
  45. package/template/.claude/skills/brainstorming/scripts/helper.js +0 -88
  46. package/template/.claude/skills/brainstorming/scripts/server.cjs +0 -354
  47. package/template/.claude/skills/brainstorming/scripts/start-server.sh +0 -148
  48. package/template/.claude/skills/brainstorming/scripts/stop-server.sh +0 -56
  49. package/template/.claude/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
  50. package/template/.claude/skills/brainstorming/visual-companion.md +0 -287
  51. package/template/.claude/skills/dispatching-parallel-agents/SKILL.md +0 -182
  52. package/template/.claude/skills/executing-plans/SKILL.md +0 -70
  53. package/template/.claude/skills/finishing-a-development-branch/SKILL.md +0 -200
  54. package/template/.claude/skills/receiving-code-review/SKILL.md +0 -213
  55. package/template/.claude/skills/requesting-code-review/SKILL.md +0 -105
  56. package/template/.claude/skills/requesting-code-review/code-reviewer.md +0 -146
  57. package/template/.claude/skills/subagent-driven-development/SKILL.md +0 -277
  58. package/template/.claude/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -26
  59. package/template/.claude/skills/subagent-driven-development/implementer-prompt.md +0 -113
  60. package/template/.claude/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
  61. package/template/.claude/skills/systematic-debugging/CREATION-LOG.md +0 -119
  62. package/template/.claude/skills/systematic-debugging/SKILL.md +0 -296
  63. package/template/.claude/skills/systematic-debugging/condition-based-waiting-example.ts +0 -158
  64. package/template/.claude/skills/systematic-debugging/condition-based-waiting.md +0 -115
  65. package/template/.claude/skills/systematic-debugging/defense-in-depth.md +0 -122
  66. package/template/.claude/skills/systematic-debugging/find-polluter.sh +0 -63
  67. package/template/.claude/skills/systematic-debugging/root-cause-tracing.md +0 -169
  68. package/template/.claude/skills/systematic-debugging/test-academic.md +0 -14
  69. package/template/.claude/skills/systematic-debugging/test-pressure-1.md +0 -58
  70. package/template/.claude/skills/systematic-debugging/test-pressure-2.md +0 -68
  71. package/template/.claude/skills/systematic-debugging/test-pressure-3.md +0 -69
  72. package/template/.claude/skills/test-driven-development/SKILL.md +0 -371
  73. package/template/.claude/skills/test-driven-development/testing-anti-patterns.md +0 -299
  74. package/template/.claude/skills/using-superpowers/SKILL.md +0 -117
  75. package/template/.claude/skills/using-superpowers/references/codex-tools.md +0 -100
  76. package/template/.claude/skills/using-superpowers/references/copilot-tools.md +0 -52
  77. package/template/.claude/skills/using-superpowers/references/gemini-tools.md +0 -33
  78. package/template/.claude/skills/verification-before-completion/SKILL.md +0 -139
  79. package/template/.claude/skills/writing-plans/SKILL.md +0 -152
  80. package/template/.claude/skills/writing-plans/plan-document-reviewer-prompt.md +0 -49
@@ -1,304 +0,0 @@
1
- ---
2
- description: Publish a feature from /specs to GitHub Issues and Projects
3
- ---
4
-
5
- # Publish Feature to GitHub
6
-
7
- This command publishes a feature from the /specs folder to GitHub, creating:
8
-
9
- - An Epic issue containing the full requirements
10
- - Phase issues for each phase in the implementation plan (with task checklists)
11
- - A GitHub Project to track progress
12
- - Labels for organization
13
- - A `github.md` file in the specs folder with all references
14
-
15
- ## Prerequisites
16
-
17
- - The GitHub CLI (`gh`) must be authenticated: `gh auth status`
18
- - The GitHub CLI must have project scopes: Token scopes should include `project` and `read:project`. If missing, run: `gh auth refresh -s project,read:project`
19
- - A feature folder must exist in /specs with `requirements.md` and `implementation-plan.md`
20
-
21
- ## Instructions
22
-
23
- ### 1. Identify the Feature
24
-
25
- Look for the feature folder attached to the conversation or specified by the user.
26
- The folder should be at `/specs/{feature-name}/` and contain:
27
-
28
- - `requirements.md` - Feature requirements
29
- - `implementation-plan.md` - Task breakdown with phases
30
-
31
- If no folder is specified, ask the user which feature to publish.
32
-
33
- ### 2. Extract Feature Information
34
-
35
- - **Feature name**: Use the folder name (e.g., `answer-scoring`)
36
- - **Feature title**: Parse the main heading from `requirements.md`
37
- - **Phases**: Parse all phases from `implementation-plan.md`, including phase title, description, and task checklists
38
-
39
- ### 3. Get Repository Information
40
-
41
- Run: `gh repo view --json nameWithOwner,owner -q '.nameWithOwner + " " + .owner.login'`
42
-
43
- This returns both values, e.g., `leonvanzyl/json-anything leonvanzyl`
44
-
45
- Store the results as:
46
-
47
- - `{repository}` - Full repo name (e.g., `leonvanzyl/json-anything`)
48
- - `{owner}` - Repository owner (e.g., `leonvanzyl`)
49
-
50
- ### 4. Create Labels (if they don't exist)
51
-
52
- ```bash
53
- gh label create "epic" --color "7057ff" --description "Feature epic" 2>/dev/null || true
54
- gh label create "feature/{feature-name}" --color "0E8A16" --description "Feature: {feature-title}" 2>/dev/null || true
55
- gh label create "phase-1" --color "C5DEF5" --description "Phase 1 tasks" 2>/dev/null || true
56
- gh label create "phase-2" --color "BFD4F2" --description "Phase 2 tasks" 2>/dev/null || true
57
- gh label create "phase-3" --color "A2C4E0" --description "Phase 3 tasks" 2>/dev/null || true
58
- ```
59
-
60
- ### 5. Create the Epic Issue
61
-
62
- Create an Epic issue with the full requirements:
63
-
64
- ```bash
65
- gh issue create \
66
- --title "Epic: {Feature Title}" \
67
- --label "epic" \
68
- --label "feature/{feature-name}" \
69
- --body-file specs/{feature-name}/requirements.md
70
- ```
71
-
72
- Capture the issue number from the output (e.g., `#100`).
73
-
74
- ### 6. Create Phase Issues
75
-
76
- For each phase in the implementation plan, create an issue containing all tasks for that phase:
77
-
78
- **Issue body template:**
79
-
80
- ```markdown
81
- ## Context
82
-
83
- Part of Epic: #{epic-number}
84
-
85
- ## Overview
86
-
87
- {Phase description/focus from implementation plan}
88
-
89
- ## Tasks
90
-
91
- {Copy the full task checklist from the implementation plan for this phase, preserving markdown checkboxes}
92
-
93
- ## Technical Details
94
-
95
- [Copy the full technical details section from the implementation plan for this phase]
96
-
97
- ## Acceptance Criteria
98
-
99
- - [ ] All tasks in this phase completed
100
- - [ ] Code passes lint and typecheck
101
- - [ ] Changes follow project conventions
102
- ```
103
-
104
- **Command:**
105
-
106
- ```bash
107
- gh issue create \
108
- --title "Phase {n}: {Phase Title}" \
109
- --label "feature/{feature-name}" \
110
- --label "phase-{n}" \
111
- --body "{issue-body}"
112
- ```
113
-
114
- Capture each phase issue number for linking.
115
-
116
- ### 6a. Handle Complex Phases (Optional)
117
-
118
- If a phase meets any of these criteria, consider breaking out individual tasks as separate issues:
119
-
120
- - Phase has **more than 15 tasks**
121
- - A task has **nested sub-tasks** (indented checkboxes)
122
- - A task is marked with `[complex]` in the implementation plan
123
-
124
- **For complex phases:**
125
-
126
- 1. Create the phase issue as normal (it becomes the parent)
127
- 2. For each complex task, create a separate task issue:
128
-
129
- ```bash
130
- gh issue create \
131
- --title "{Task description}" \
132
- --label "feature/{feature-name}" \
133
- --label "phase-{n}" \
134
- --body "## Context
135
-
136
- Part of Phase: #{phase-issue-number}
137
- Part of Epic: #{epic-number}
138
-
139
- ## Task
140
-
141
- {Task description with any sub-tasks}
142
-
143
- ## Acceptance Criteria
144
-
145
- - [ ] Implementation complete
146
- - [ ] Code passes lint and typecheck
147
- - [ ] Changes follow project conventions"
148
- ```
149
-
150
- 3. Update the phase issue to replace the task checkbox with a linked issue reference:
151
-
152
- **Before:**
153
-
154
- ```markdown
155
- - [ ] Create complex authentication system [complex]
156
- ```
157
-
158
- **After:**
159
-
160
- ```markdown
161
- - [ ] #{task-issue-number} Create complex authentication system
162
- ```
163
-
164
- This way the phase issue still tracks all work, but complex tasks get their own issue for detailed discussion and tracking.
165
-
166
- ### 7. Update Epic with Phase List
167
-
168
- Edit the Epic issue to include a list linking all phase issues:
169
-
170
- ```bash
171
- gh issue edit {epic-number} --body "{original-body}
172
-
173
- ---
174
-
175
- ## Phases
176
-
177
- - [ ] #{phase-1-number} Phase 1: {Phase 1 Title}
178
- - [ ] #{phase-2-number} Phase 2: {Phase 2 Title}
179
- - [ ] #{phase-3-number} Phase 3: {Phase 3 Title}
180
- ...
181
- "
182
- ```
183
-
184
- ### 8. Create GitHub Project and Link to Repository
185
-
186
- Create the project under the repository owner:
187
-
188
- ```bash
189
- gh project create --title "Feature: {Feature Title}" --owner {owner}
190
- ```
191
-
192
- Note: If the project already exists or the user prefers to use an existing project, skip this step. You can list projects with: `gh project list --owner {owner}`
193
-
194
- Capture the project number from the output (you may need to run `gh project list --owner {owner}` to get it).
195
-
196
- Then link the project to the repository so it appears in the repo's Projects tab:
197
-
198
- ```bash
199
- gh project link {project-number} --owner {owner} --repo {repository}
200
- ```
201
-
202
- ### 9. Add Issues to Project
203
-
204
- ```bash
205
- gh project item-add {project-number} --owner {owner} --url "https://github.com/{repository}/issues/{epic-number}"
206
- gh project item-add {project-number} --owner {owner} --url "https://github.com/{repository}/issues/{phase-1-number}"
207
- # ... repeat for all phase issues
208
- # ... also add any complex task issues that were broken out
209
- ```
210
-
211
- ### 10. Create github.md
212
-
213
- Create `specs/{feature-name}/github.md` with all the GitHub references:
214
-
215
- ```markdown
216
- ---
217
- feature_name: { feature-name }
218
- feature_title: { Feature Title }
219
- repository: { repository }
220
- epic_issue: { epic-number }
221
- project_number: { project-number }
222
- labels:
223
- - epic
224
- - feature/{feature-name}
225
- published_at: { current-date }
226
- ---
227
-
228
- # GitHub References
229
-
230
- This feature has been published to GitHub.
231
-
232
- ## Links
233
-
234
- - [Epic Issue](https://github.com/{repository}/issues/{epic-number})
235
- - [Project Board](https://github.com/users/{owner}/projects/{project-number}) (also linked to repository)
236
-
237
- ## Phase Issues
238
-
239
- | # | Title | Tasks | Status |
240
- | ---------- | ------------------------ | ----- | ------ |
241
- | #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open |
242
- | #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open |
243
- | ... | ... | ... | ... |
244
-
245
- ## Complex Task Issues (if any)
246
-
247
- | # | Title | Phase | Status |
248
- | --------- | ------------ | ----- | ------ |
249
- | #{task-1} | {Task title} | 1 | Open |
250
- | ... | ... | ... | ... |
251
-
252
- _(Omit this section if no complex tasks were broken out)_
253
-
254
- ## Labels
255
-
256
- - `epic` - Feature epic marker
257
- - `feature/{feature-name}` - Feature-specific label
258
- - `phase-1`, `phase-2`, `phase-3` - Phase markers
259
- ```
260
-
261
- ### 11. Report Summary
262
-
263
- After completion, report:
264
-
265
- - Epic issue URL
266
- - Number of phase issues created
267
- - Number of complex task issues created (if any)
268
- - Total number of tasks across all phases
269
- - Project board URL
270
- - Location of github.md file
271
-
272
- Example output:
273
-
274
- ```
275
- Feature "{Feature Title}" published to GitHub!
276
-
277
- Epic: https://github.com/{repository}/issues/{epic-number}
278
- Project: https://github.com/users/{owner}/projects/{project-number} (linked to repo)
279
- Phases created: 4
280
- Complex task issues: 2 (optional, only if any were created)
281
- Total tasks: 46
282
-
283
- The github.md file has been created at specs/{feature-name}/github.md
284
-
285
- To continue implementing, drag the specs/{feature-name}/ folder into a new conversation
286
- and say "continue with this feature" or use /continue-feature.
287
- ```
288
-
289
- ## Error Handling
290
-
291
- - If `gh auth status` fails, inform user to run `gh auth login`
292
- - If project creation fails with "missing required scopes [project read:project]", inform user to run `gh auth refresh -s project,read:project`
293
- - If the feature folder doesn't exist, ask user to run `/create-feature` first
294
- - If labels/issues fail to create, report the error and continue with remaining items
295
- - If github.md already exists, ask user if they want to overwrite or update it
296
-
297
- ## Notes
298
-
299
- - Each phase issue contains the full task checklist from the implementation plan
300
- - Tasks within a phase issue can be checked off as they're completed
301
- - Phases should be executed sequentially (Phase 1 → Phase 2 → Phase 3, etc.)
302
- - The Epic provides a high-level view with links to all phase issues
303
- - Use the `[complex]` marker in implementation plans to flag tasks that need their own issue
304
- - When breaking out complex tasks, the phase issue remains the parent tracker
@@ -1,164 +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
- ---
5
-
6
- # Brainstorming Ideas Into Designs
7
-
8
- Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
9
-
10
- 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.
11
-
12
- <HARD-GATE>
13
- 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.
14
- </HARD-GATE>
15
-
16
- ## Anti-Pattern: "This Is Too Simple To Need A Design"
17
-
18
- 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.
19
-
20
- ## Checklist
21
-
22
- You MUST create a task for each of these items and complete them in order:
23
-
24
- 1. **Explore project context** — check files, docs, recent commits
25
- 2. **Offer visual companion** (if topic will involve visual questions) — this is its own message, not combined with a clarifying question. See the Visual Companion section below.
26
- 3. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
27
- 4. **Propose 2-3 approaches** — with trade-offs and your recommendation
28
- 5. **Present design** — in sections scaled to their complexity, get user approval after each section
29
- 6. **Write design doc** — save to `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md` and commit
30
- 7. **Spec self-review** — quick inline check for placeholders, contradictions, ambiguity, scope (see below)
31
- 8. **User reviews written spec** — ask user to review the spec file before proceeding
32
- 9. **Transition to implementation** — invoke writing-plans skill to create implementation plan
33
-
34
- ## Process Flow
35
-
36
- ```dot
37
- digraph brainstorming {
38
- "Explore project context" [shape=box];
39
- "Visual questions ahead?" [shape=diamond];
40
- "Offer Visual Companion\n(own message, no other content)" [shape=box];
41
- "Ask clarifying questions" [shape=box];
42
- "Propose 2-3 approaches" [shape=box];
43
- "Present design sections" [shape=box];
44
- "User approves design?" [shape=diamond];
45
- "Write design doc" [shape=box];
46
- "Spec self-review\n(fix inline)" [shape=box];
47
- "User reviews spec?" [shape=diamond];
48
- "Invoke writing-plans skill" [shape=doublecircle];
49
-
50
- "Explore project context" -> "Visual questions ahead?";
51
- "Visual questions ahead?" -> "Offer Visual Companion\n(own message, no other content)" [label="yes"];
52
- "Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
53
- "Offer Visual Companion\n(own message, no other content)" -> "Ask clarifying questions";
54
- "Ask clarifying questions" -> "Propose 2-3 approaches";
55
- "Propose 2-3 approaches" -> "Present design sections";
56
- "Present design sections" -> "User approves design?";
57
- "User approves design?" -> "Present design sections" [label="no, revise"];
58
- "User approves design?" -> "Write design doc" [label="yes"];
59
- "Write design doc" -> "Spec self-review\n(fix inline)";
60
- "Spec self-review\n(fix inline)" -> "User reviews spec?";
61
- "User reviews spec?" -> "Write design doc" [label="changes requested"];
62
- "User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
63
- }
64
- ```
65
-
66
- **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.
67
-
68
- ## The Process
69
-
70
- **Understanding the idea:**
71
-
72
- - Check out the current project state first (files, docs, recent commits)
73
- - 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.
74
- - 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.
75
- - For appropriately-scoped projects, ask questions one at a time to refine the idea
76
- - Prefer multiple choice questions when possible, but open-ended is fine too
77
- - Only one question per message - if a topic needs more exploration, break it into multiple questions
78
- - Focus on understanding: purpose, constraints, success criteria
79
-
80
- **Exploring approaches:**
81
-
82
- - Propose 2-3 different approaches with trade-offs
83
- - Present options conversationally with your recommendation and reasoning
84
- - Lead with your recommended option and explain why
85
-
86
- **Presenting the design:**
87
-
88
- - Once you believe you understand what you're building, present the design
89
- - Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
90
- - Ask after each section whether it looks right so far
91
- - Cover: architecture, components, data flow, error handling, testing
92
- - Be ready to go back and clarify if something doesn't make sense
93
-
94
- **Design for isolation and clarity:**
95
-
96
- - Break the system into smaller units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
97
- - For each unit, you should be able to answer: what does it do, how do you use it, and what does it depend on?
98
- - 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.
99
- - Smaller, well-bounded units are also easier for you to work with - you reason better about code you can hold in context at once, and your edits are more reliable when files are focused. When a file grows large, that's often a signal that it's doing too much.
100
-
101
- **Working in existing codebases:**
102
-
103
- - Explore the current structure before proposing changes. Follow existing patterns.
104
- - 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.
105
- - Don't propose unrelated refactoring. Stay focused on what serves the current goal.
106
-
107
- ## After the Design
108
-
109
- **Documentation:**
110
-
111
- - Write the validated design (spec) to `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md`
112
- - (User preferences for spec location override this default)
113
- - Use elements-of-style:writing-clearly-and-concisely skill if available
114
- - Commit the design document to git
115
-
116
- **Spec Self-Review:**
117
- After writing the spec document, look at it with fresh eyes:
118
-
119
- 1. **Placeholder scan:** Any "TBD", "TODO", incomplete sections, or vague requirements? Fix them.
120
- 2. **Internal consistency:** Do any sections contradict each other? Does the architecture match the feature descriptions?
121
- 3. **Scope check:** Is this focused enough for a single implementation plan, or does it need decomposition?
122
- 4. **Ambiguity check:** Could any requirement be interpreted two different ways? If so, pick one and make it explicit.
123
-
124
- Fix any issues inline. No need to re-review — just fix and move on.
125
-
126
- **User Review Gate:**
127
- After the spec review loop passes, ask the user to review the written spec before proceeding:
128
-
129
- > "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."
130
-
131
- Wait for the user's response. If they request changes, make them and re-run the spec review loop. Only proceed once the user approves.
132
-
133
- **Implementation:**
134
-
135
- - Invoke the writing-plans skill to create a detailed implementation plan
136
- - Do NOT invoke any other skill. writing-plans is the next step.
137
-
138
- ## Key Principles
139
-
140
- - **One question at a time** - Don't overwhelm with multiple questions
141
- - **Multiple choice preferred** - Easier to answer than open-ended when possible
142
- - **YAGNI ruthlessly** - Remove unnecessary features from all designs
143
- - **Explore alternatives** - Always propose 2-3 approaches before settling
144
- - **Incremental validation** - Present design, get approval before moving on
145
- - **Be flexible** - Go back and clarify when something doesn't make sense
146
-
147
- ## Visual Companion
148
-
149
- A browser-based companion for showing mockups, diagrams, and visual options during brainstorming. Available as a tool — not a mode. Accepting the companion means it's available for questions that benefit from visual treatment; it does NOT mean every question goes through the browser.
150
-
151
- **Offering the companion:** When you anticipate that upcoming questions will involve visual content (mockups, layouts, diagrams), offer it once for consent:
152
- > "Some of what we're working on might be easier to explain if I can show it to you in a web browser. I can put together mockups, diagrams, comparisons, and other visuals as we go. This feature is still new and can be token-intensive. Want to try it? (Requires opening a local URL)"
153
-
154
- **This offer MUST be its own message.** Do not combine it with clarifying questions, context summaries, or any other content. The message should contain ONLY the offer above and nothing else. Wait for the user's response before continuing. If they decline, proceed with text-only brainstorming.
155
-
156
- **Per-question decision:** Even after the user accepts, decide FOR EACH QUESTION whether to use the browser or the terminal. The test: **would the user understand this better by seeing it than reading it?**
157
-
158
- - **Use the browser** for content that IS visual — mockups, wireframes, layout comparisons, architecture diagrams, side-by-side visual designs
159
- - **Use the terminal** for content that is text — requirements questions, conceptual choices, tradeoff lists, A/B/C/D text options, scope decisions
160
-
161
- A question about a UI topic is not automatically a visual question. "What does personality mean in this context?" is a conceptual question — use the terminal. "Which wizard layout works better?" is a visual question — use the browser.
162
-
163
- If they agree to the companion, read the detailed guide before proceeding:
164
- `skills/brainstorming/visual-companion.md`
@@ -1,214 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <title>Superpowers Brainstorming</title>
6
- <style>
7
- /*
8
- * BRAINSTORM COMPANION FRAME TEMPLATE
9
- *
10
- * This template provides a consistent frame with:
11
- * - OS-aware light/dark theming
12
- * - Fixed header and selection indicator bar
13
- * - Scrollable main content area
14
- * - CSS helpers for common UI patterns
15
- *
16
- * Content is injected via placeholder comment in #claude-content.
17
- */
18
-
19
- * { box-sizing: border-box; margin: 0; padding: 0; }
20
- html, body { height: 100%; overflow: hidden; }
21
-
22
- /* ===== THEME VARIABLES ===== */
23
- :root {
24
- --bg-primary: #f5f5f7;
25
- --bg-secondary: #ffffff;
26
- --bg-tertiary: #e5e5e7;
27
- --border: #d1d1d6;
28
- --text-primary: #1d1d1f;
29
- --text-secondary: #86868b;
30
- --text-tertiary: #aeaeb2;
31
- --accent: #0071e3;
32
- --accent-hover: #0077ed;
33
- --success: #34c759;
34
- --warning: #ff9f0a;
35
- --error: #ff3b30;
36
- --selected-bg: #e8f4fd;
37
- --selected-border: #0071e3;
38
- }
39
-
40
- @media (prefers-color-scheme: dark) {
41
- :root {
42
- --bg-primary: #1d1d1f;
43
- --bg-secondary: #2d2d2f;
44
- --bg-tertiary: #3d3d3f;
45
- --border: #424245;
46
- --text-primary: #f5f5f7;
47
- --text-secondary: #86868b;
48
- --text-tertiary: #636366;
49
- --accent: #0a84ff;
50
- --accent-hover: #409cff;
51
- --selected-bg: rgba(10, 132, 255, 0.15);
52
- --selected-border: #0a84ff;
53
- }
54
- }
55
-
56
- body {
57
- font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
58
- background: var(--bg-primary);
59
- color: var(--text-primary);
60
- display: flex;
61
- flex-direction: column;
62
- line-height: 1.5;
63
- }
64
-
65
- /* ===== FRAME STRUCTURE ===== */
66
- .header {
67
- background: var(--bg-secondary);
68
- padding: 0.5rem 1.5rem;
69
- display: flex;
70
- justify-content: space-between;
71
- align-items: center;
72
- border-bottom: 1px solid var(--border);
73
- flex-shrink: 0;
74
- }
75
- .header h1 { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
76
- .header .status { font-size: 0.7rem; color: var(--success); display: flex; align-items: center; gap: 0.4rem; }
77
- .header .status::before { content: ''; width: 6px; height: 6px; background: var(--success); border-radius: 50%; }
78
-
79
- .main { flex: 1; overflow-y: auto; }
80
- #claude-content { padding: 2rem; min-height: 100%; }
81
-
82
- .indicator-bar {
83
- background: var(--bg-secondary);
84
- border-top: 1px solid var(--border);
85
- padding: 0.5rem 1.5rem;
86
- flex-shrink: 0;
87
- text-align: center;
88
- }
89
- .indicator-bar span {
90
- font-size: 0.75rem;
91
- color: var(--text-secondary);
92
- }
93
- .indicator-bar .selected-text {
94
- color: var(--accent);
95
- font-weight: 500;
96
- }
97
-
98
- /* ===== TYPOGRAPHY ===== */
99
- h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
100
- h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
101
- .subtitle { color: var(--text-secondary); margin-bottom: 1.5rem; }
102
- .section { margin-bottom: 2rem; }
103
- .label { font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
104
-
105
- /* ===== OPTIONS (for A/B/C choices) ===== */
106
- .options { display: flex; flex-direction: column; gap: 0.75rem; }
107
- .option {
108
- background: var(--bg-secondary);
109
- border: 2px solid var(--border);
110
- border-radius: 12px;
111
- padding: 1rem 1.25rem;
112
- cursor: pointer;
113
- transition: all 0.15s ease;
114
- display: flex;
115
- align-items: flex-start;
116
- gap: 1rem;
117
- }
118
- .option:hover { border-color: var(--accent); }
119
- .option.selected { background: var(--selected-bg); border-color: var(--selected-border); }
120
- .option .letter {
121
- background: var(--bg-tertiary);
122
- color: var(--text-secondary);
123
- width: 1.75rem; height: 1.75rem;
124
- border-radius: 6px;
125
- display: flex; align-items: center; justify-content: center;
126
- font-weight: 600; font-size: 0.85rem; flex-shrink: 0;
127
- }
128
- .option.selected .letter { background: var(--accent); color: white; }
129
- .option .content { flex: 1; }
130
- .option .content h3 { font-size: 0.95rem; margin-bottom: 0.15rem; }
131
- .option .content p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }
132
-
133
- /* ===== CARDS (for showing designs/mockups) ===== */
134
- .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
135
- .card {
136
- background: var(--bg-secondary);
137
- border: 1px solid var(--border);
138
- border-radius: 12px;
139
- overflow: hidden;
140
- cursor: pointer;
141
- transition: all 0.15s ease;
142
- }
143
- .card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
144
- .card.selected { border-color: var(--selected-border); border-width: 2px; }
145
- .card-image { background: var(--bg-tertiary); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
146
- .card-body { padding: 1rem; }
147
- .card-body h3 { margin-bottom: 0.25rem; }
148
- .card-body p { color: var(--text-secondary); font-size: 0.85rem; }
149
-
150
- /* ===== MOCKUP CONTAINER ===== */
151
- .mockup {
152
- background: var(--bg-secondary);
153
- border: 1px solid var(--border);
154
- border-radius: 12px;
155
- overflow: hidden;
156
- margin-bottom: 1.5rem;
157
- }
158
- .mockup-header {
159
- background: var(--bg-tertiary);
160
- padding: 0.5rem 1rem;
161
- font-size: 0.75rem;
162
- color: var(--text-secondary);
163
- border-bottom: 1px solid var(--border);
164
- }
165
- .mockup-body { padding: 1.5rem; }
166
-
167
- /* ===== SPLIT VIEW (side-by-side comparison) ===== */
168
- .split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
169
- @media (max-width: 700px) { .split { grid-template-columns: 1fr; } }
170
-
171
- /* ===== PROS/CONS ===== */
172
- .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
173
- .pros, .cons { background: var(--bg-secondary); border-radius: 8px; padding: 1rem; }
174
- .pros h4 { color: var(--success); font-size: 0.85rem; margin-bottom: 0.5rem; }
175
- .cons h4 { color: var(--error); font-size: 0.85rem; margin-bottom: 0.5rem; }
176
- .pros ul, .cons ul { margin-left: 1.25rem; font-size: 0.85rem; color: var(--text-secondary); }
177
- .pros li, .cons li { margin-bottom: 0.25rem; }
178
-
179
- /* ===== PLACEHOLDER (for mockup areas) ===== */
180
- .placeholder {
181
- background: var(--bg-tertiary);
182
- border: 2px dashed var(--border);
183
- border-radius: 8px;
184
- padding: 2rem;
185
- text-align: center;
186
- color: var(--text-tertiary);
187
- }
188
-
189
- /* ===== INLINE MOCKUP ELEMENTS ===== */
190
- .mock-nav { background: var(--accent); color: white; padding: 0.75rem 1rem; display: flex; gap: 1.5rem; font-size: 0.9rem; }
191
- .mock-sidebar { background: var(--bg-tertiary); padding: 1rem; min-width: 180px; }
192
- .mock-content { padding: 1.5rem; flex: 1; }
193
- .mock-button { background: var(--accent); color: white; border: none; padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; }
194
- .mock-input { background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem; width: 100%; }
195
- </style>
196
- </head>
197
- <body>
198
- <div class="header">
199
- <h1><a href="https://github.com/obra/superpowers" style="color: inherit; text-decoration: none;">Superpowers Brainstorming</a></h1>
200
- <div class="status">Connected</div>
201
- </div>
202
-
203
- <div class="main">
204
- <div id="claude-content">
205
- <!-- CONTENT -->
206
- </div>
207
- </div>
208
-
209
- <div class="indicator-bar">
210
- <span id="indicator-text">Click an option above, then return to the terminal</span>
211
- </div>
212
-
213
- </body>
214
- </html>