Skip to content

An agentic skills framework & software development methodology that works.

Fix brainstorming skill: add spec review loop to checklist and flow diagram

Jesse Vincent9d2b88621105
diff --git a/skills/brainstorming/SKILL.md b/skills/brainstorming/SKILL.md
index 562749fd6..b108aa34c 100644
--- a/skills/brainstorming/SKILL.md
+++ b/skills/brainstorming/SKILL.md
@@ -27,8 +27,9 @@ You MUST create a task for each of these items and complete them in order:
4. **Propose 2-3 approaches** — with trade-offs and your recommendation
5. **Present design** — in sections scaled to their complexity, get user approval after each section
6. **Write design doc** — save to `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md` and commit
-7. **User reviews written spec** — ask user to review the spec file before proceeding
-8. **Transition to implementation** — invoke writing-plans skill to create implementation plan
+7. **Spec review loop** — dispatch spec-document-reviewer subagent; fix issues and re-dispatch until approved (max 5 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
## Process Flow
@@ -42,6 +43,8 @@ digraph brainstorming {
"Present design sections" [shape=box];
"User approves design?" [shape=diamond];
"Write design doc" [shape=box];
+ "Spec review loop" [shape=box];
+ "Spec review passed?" [shape=diamond];
"User reviews spec?" [shape=diamond];
"Invoke writing-plans skill" [shape=doublecircle];
@@ -54,7 +57,10 @@ digraph brainstorming {
"Present design sections" -> "User approves design?";
"User approves design?" -> "Present design sections" [label="no, revise"];
"User approves design?" -> "Write design doc" [label="yes"];
- "Write design doc" -> "User reviews spec?";
+ "Write design doc" -> "Spec review loop";
+ "Spec review loop" -> "Spec review passed?";
+ "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"];
}