/superpowers-optimized:brainstormingfrom superpowers-optimized
Turns rough feature requests, architecture decisions, and refactoring ideas into an approved design before any code is written. Scales paperwork to match change size.
Ships in superpowers-optimized. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn rough requests into an approved design before implementation.
Do not write code, edit files, or invoke implementation skills until design approval is explicit. The one exception is small work under Declare and Proceed below, where a short statement of how you read the request comes before any code.
Every change that reaches this skill gets a design before any code — a todo list, a single-function utility, a config change. For small work whose behavior the user already fixed, that design is the short statement under Declare and Proceed. "Simple" work is where unexamined assumptions waste the most effort. What scales with the size of the work is the paperwork around the design:
test-driven-development, run requesting-code-review once on the finished diff, and finish with verification-before-completion. No spec file, no plan file.writing-plans.When you present the design, name the size you chose and why in one line, so the user can override it.
When the user's request already fixes the behavior, waiting for an OK on a design that only repeats it costs a round trip and tells them nothing. In that case:
test-driven-development in the same turn.It applies only when all of these hold:
Edge inputs the rules do not mention do not block. Example: rules for an email check that never say what happens with two @ signs. Implement the literal reading and name it, for example "split at the first @, so a@[email protected] passes". Put the edge cases in the final report as an offer: "Your rules accept a@[email protected] and [email protected]. Want those rejected?" Do not tighten them yourself.
Wait for approval instead when any of these is true:
When unsure whether a choice is core, wait.
CLAUDE.md / AGENTS.md and long-term collaboration is expected, consider using claude-md-creator to create a minimal, high-signal context file.docs/specs/YYYY-MM-DD-<topic>-design.md.writing-plans.digraph brainstorming {
"Explore project context" [shape=box];
"Assess scope" [shape=diamond];
"Decompose into sub-projects" [shape=box];
"Ask clarifying questions" [shape=box];
"Propose 2-3 approaches" [shape=box];
"Present design sections" [shape=box];
"User approves design?" [shape=diamond];
"Failure-mode check" [shape=box];
"Save design doc" [shape=box];
"Spec self-review\n(fix inline)" [shape=box];
"User reviews spec?" [shape=diamond];
"Invoke writing-plans" [shape=doublecircle];
"Explore project context" -> "Assess scope";
"Assess scope" -> "Decompose into sub-projects" [label="4+ subsystems"];
"Assess scope" -> "Ask clarifying questions" [label="manageable"];
"Decompose into sub-projects" -> "Ask clarifying questions";
"Ask clarifying questions" -> "Propose 2-3 approaches";
"Propose 2-3 approaches" -> "Present design sections";
"Present design sections" -> "Small, behavior fixed by the user?";
"Small, behavior fixed by the user?" [shape=diamond];
"Small, behavior fixed by the user?" -> "Failure-mode check" [label="yes: declare, no wait"];
"Small, behavior fixed by the user?" -> "User approves design?" [label="no"];
"User approves design?" -> "Present design sections" [label="no, revise"];
"User approves design?" -> "Failure-mode check" [label="yes"];
"Failure-mode check" -> "Small or larger?";
"Small or larger?" [shape=diamond];
"Implement: TDD, one code review,\nverification" [shape=doublecircle];
"Small or larger?" -> "Implement: TDD, one code review,\nverification" [label="small"];
"Small or larger?" -> "Save design doc" [label="larger"];
"Save design doc" -> "Spec self-review\n(fix inline)";
"Spec self-review\n(fix inline)" -> "Spec adds unapproved decisions?";
"Spec adds unapproved decisions?" [shape=diamond];
"Spec adds unapproved decisions?" -> "User reviews spec?" [label="yes"];
"Spec adds unapproved decisions?" -> "Invoke writing-plans" [label="no"];
"User reviews spec?" -> "Save design doc" [label="changes requested"];
"User reviews spec?" -> "Invoke writing-plans" [label="approved"];
}
Terminal state: larger work ends by invoking writing-plans; small work ends by starting implementation with test-driven-development. Do not jump from here to other implementation skills such as frontend-design — they apply during implementation, not instead of it.
After writing the spec document, look at it with fresh eyes:
Fix any issues inline. No need to re-review — just fix and move on.
After the spec self-review, compare the written spec with what the user approved in the conversation.
It holds decisions the user has not approved — ambiguities you resolved, non-goals from the failure-mode check, anything the self-review changed: list exactly those and ask for review.
"Spec written to
<path>. It adds these points you haven't approved yet: … Please review them (or the whole file) before I write the implementation plan."
Wait for the response. If they request changes, make them and re-run the self-review. Proceed once they approve.
It only records the approved design — say so with the path ("Spec written to <path>; it records the design you approved.") and invoke writing-plans. Asking for a second approval of text the user already approved costs a round trip and tells them nothing new.
Include:
Apply senior engineering judgment during design:
test-driven-development.docs/specs/).writing-plans is invoked as the next skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub repozy/superpowers-optimized --plugin superpowers-optimized24 skills in this plugin
/claude-md-creatorCreates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command, "create CLAUDE.md", "update CLAUDE.md", "write AGENTS.md", or "set up Claude Code for this project". Also invoked by brainstorming when repo lacks a context file. tools: Read, Glob, Grep, Bash, Edit
/context-managementUse in long or noisy sessions to persist durable state across session boundaries via state.md. Also generates project-map.md when asked to map the project. Triggers on: user explicitly asks to "save state", "compress context", "map this project", "generate project map", "create project map", cross-session handoff needed, or repeated failures indicate context is getting stale.
/Other plugins' skills for the same job