Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions skills/brainstorming/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ You MUST create a task for each of these items and complete them in order:
6. **Write design doc** β€” save to `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md` and commit
7. **Spec review loop** β€” dispatch spec-document-reviewer subagent with precisely crafted review context (never your session history); fix issues and re-dispatch until approved (max 3 iterations, then surface to human)
8. **User reviews written spec** β€” ask user to review the spec file before proceeding
9. **Transition to implementation** β€” invoke writing-plans skill to create implementation plan
9. **Create isolated worktree** β€” invoke superpowers:using-git-worktrees skill
10. **Transition to implementation** β€” invoke writing-plans skill to create implementation plan

## Process Flow

Expand All @@ -46,6 +47,7 @@ digraph brainstorming {
"Spec review loop" [shape=box];
"Spec review passed?" [shape=diamond];
"User reviews spec?" [shape=diamond];
"Create worktree" [shape=box];
"Invoke writing-plans skill" [shape=doublecircle];

"Explore project context" -> "Visual questions ahead?";
Expand All @@ -62,7 +64,8 @@ digraph brainstorming {
"Spec review passed?" -> "Spec review loop" [label="issues found,\nfix and re-dispatch"];
"Spec review passed?" -> "User reviews spec?" [label="approved"];
"User reviews spec?" -> "Write design doc" [label="changes requested"];
"User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
"User reviews spec?" -> "Create worktree" [label="approved"];
"Create worktree" -> "Invoke writing-plans skill";
}
```

Expand Down Expand Up @@ -130,6 +133,11 @@ After the spec review loop passes, ask the user to review the written spec befor

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.

**Worktree:**

- Invoke superpowers:using-git-worktrees to create an isolated workspace
- This ensures implementation happens in a clean branch, not on main

**Implementation:**

- Invoke the writing-plans skill to create a detailed implementation plan
Expand Down