From Superpowers
Turns rough ideas into implementation-ready designs via autonomous codebase research and BDD specs, then commits the design for your review (it runs to completion without pausing for mid-design questions). This skill should be used when the user has a new idea, feature request, ambiguous requirement, or asks to "brainstorm a solution" before implementation begins.
How this command is triggered — by the user, by Claude, or both
Slash command
/superpowers:SKILLbrainstorming/Files this command reads when invoked
This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Brainstorming Ideas Into Designs Turn rough ideas into implementation-ready designs through structured codebase-grounded research. The full pipeline (parallel research sub-agents + evaluator) is calibrated for **open-ended multi-component problems**. Trivial work bypasses via the bail-out check below. The skill runs phase-by-phase in a single turn for normal-sized work; for unattended long runs, wrap in `/goal` (see below). ## For unattended multi-turn runs Wrap the invocation in Claude Code's built-in `/goal` (v2.1.139+): `/goal` provides multi-turn continuation — a fresh fast mode...
Turn rough ideas into implementation-ready designs through structured codebase-grounded research. The full pipeline (parallel research sub-agents + evaluator) is calibrated for open-ended multi-component problems. Trivial work bypasses via the bail-out check below. The skill runs phase-by-phase in a single turn for normal-sized work; for unattended long runs, wrap in /goal (see below).
Wrap the invocation in Claude Code's built-in /goal (v2.1.139+):
/goal "Claude has narrated a successful design commit (with commit hash) and the evaluator's verdict is PASS" /superpowers:brainstorming "<problem>"
/goal provides multi-turn continuation — a fresh fast model checks the condition against the conversation transcript after each turn and re-prompts until satisfied. The evaluator does NOT read files or run commands (upstream docs) — phrase the condition as something Claude's own narration will demonstrate (commit-hash narration from git-agent commit, the literal verdict line from the evaluator agent, an explicit "Phase 3 wrap-up complete" statement). Conditions written against filesystem state (_index.md exists, git commit clean) are unverifiable and will time out. For most reasonable-sized brainstorms (a few minutes of work), /goal is unnecessary; the skill runs to completion in one turn.
Classify $ARGUMENTS into one of three buckets. Do NOT default to "proceed when in doubt" — that biases the agent single-direction toward over-engineering.
Bucket A — Strong trivial-scope signals (bail out: do NOT write design files, do NOT spawn evaluator):
/superpowers:systematic-debuggingBucket B — Strong open-ended signals (proceed to Initialization):
Bucket C — Ambiguous (default to Bucket B, do NOT pause to ask):
$ARGUMENTS is brief and could go either way (e.g., a single sentence with no scope cues)For Bucket A, output the bail-out response below and stop. For Bucket B (including all Bucket C cases), proceed to Initialization. The --force token (literal in $ARGUMENTS) is preserved for backward compatibility; it now no-ops since the bail-out is per-invocation. If the user later signals the scope is wrong, the Phase 1 rejection-handling block at the bottom of this section absorbs the pivot.
Bail-out response (Bucket A, output verbatim, then proceed with direct edit OR hand off):
Detected trivial-scope work. Skipping the brainstorming pipeline (calibrated for open-ended multi-component problems). To force the full pipeline, re-invoke as
/superpowers:brainstorming --force "<task>".
$ARGUMENTS to a single declarative sentence under ~150 chars — the problem to brainstorm, in the user's own framing. Do NOT paraphrase, summarize away constraints, or introduce vocabulary the user did not use. Strip a leading --force token if present (already consumed by the bail-out check). If $ARGUMENTS is empty, use the open problem the user just described in conversation.CLAUDE.md and README.md to understand project constraints.superpowers:behavior-driven-development skillExplore codebase, lock the approach inline, proceed to Phase 2 in the same iteration.
Actions:
Open-Ended Problems: When the problem requires challenging assumptions or radical innovation, apply first-principles reasoning inline in the sprint contract — name the assumption being challenged, the alternative framing, and why the new framing changes the chosen approach. The user's global CLAUDE.md "Challenge the premise before implementing" rule already covers this surface; no separate skill load is needed.
Exit: Sprint contract recorded inline with a single chosen approach, clear requirements and constraints, ready for Phase 2.
Mid-stream pivots (only possible when wrapped in /goal; on a re-prompt turn the user injects "actually this is about X" or "wrong direction"):
/superpowers:brainstorming with the new framing.See ./references/scope-alignment.md for exploration patterns, question guidelines, and trade-off templates.
Create design documents with integrated quality assurance, then reconcile cross-sub-agent vocabulary into a canonical glossary before integration. All research runs in fresh sub-agent contexts; the main agent only synthesizes and reconciles — it does not author content.
Step 1: Create Design Documents
Folder: docs/plans/YYYY-MM-DD-<topic>-design/ (the -design suffix is REQUIRED)
Required files (4):
_index.md -- Context, Discovery Results, Requirements, Rationale, Detailed Design, Design Documents (links to companions)bdd-specs.md -- Full Gherkin scenarios (happy path, edge cases, error conditions)architecture.md -- System overview, components, data structures, integration pointsbest-practices.md -- Security, performance, code quality, common pitfalls_index.md MUST use these exact section headings in order: Context, Discovery Results, Glossary, Requirements, Rationale, Detailed Design, Design Documents. The ## Glossary section is populated by the vocabulary reconciliation pass below — required even when no divergence was found, so canonical labels are recorded for future readers.
bdd-specs.md: Write all Gherkin scenarios directly in this file. Do NOT create separate .feature files -- those belong to the implementation phase.
Sub-agent strategy (mandatory): Launch 3+ sub-agents in parallel via the Agent tool. Each sub-agent runs in an isolated fresh context (context reset — research transcripts never pollute the main agent):
superpowers:behavior-driven-development. Returns BDD scenarios, testing strategy, best practices.Vocabulary reconciliation (MANDATORY, before integration): After all sub-agents return and before integrating their outputs into design files, the main agent runs one explicit pass:
_index.md / architecture.md / bdd-specs.md / best-practices.md. Do not write the four files first and reconcile after — divergent labels in the integrated output are an outcome to prevent at write time._index.md under a ## Glossary section directly after ## Discovery Results.Verification (after integration): grep -oE "<concept-noun>" across the four files must return only the canonical label, never any rejected variant. If any rejected variant appears in any file, the integration step has not closed the loop — return to step 4 above.
Why this exists: The 2026-05-09 v3.x knowledge platform brainstorm produced three different privacy-tier vocabularies across _index.md (public/project/local), architecture.md (local-only/cross-session/cross-project/external), and bdd-specs.md (the latter). The divergence was not a content disagreement — sub-agents independently filled in vocabulary gaps and the main agent integrated all three without reconciliation. See docs/retros/2026-05-09-v3-considered-deferred.md for the inciting case.
Integration: After reconciliation, the main agent integrates returned results, resolves remaining conflicts favoring codebase patterns, and writes the 4 design files.
Step 2: Integrated QA
Resolve the latest checklist from docs/retros/checklists/design-v{N}.md (highest N). Spawn superpowers:superpowers-evaluator agent (design mode) with the checklist path. The evaluator outputs report content as text; write it to the design folder as evaluation-design-round-{N}.md. Then read the report verdict:
git show if they want a check.evaluation-design-round-2.md, etc.)Auto-seed when missing: If docs/retros/checklists/design-v{N}.md does not exist, do NOT abort. Run bash "${CLAUDE_PLUGIN_ROOT}/lib/seed-checklists.sh" design docs/retros/checklists/design-v1.md, log Auto-seeded design-v1.md, then proceed with the new file. Exit code handling: 0 = seeded, 3 = already exists (treat as success and proceed with the existing file), 1/2 = real failure (disk/usage error → abort).
Exit: Design folder created with all required files, QA passed.
See ./references/design-and-qa.md for output structure details, sub-agent patterns, and QA procedures.
See ./references/evaluation-checklist-reference.md for evaluator checklist calibration.
Commit the design and transition to implementation planning.
Actions:
git add docs/plans/YYYY-MM-DD-<topic>-design/git-agent commit --no-stage --intent "add design for <topic>" --co-author "Claude <Model> <Version> <[email protected]>"--free flaggit commit with conventional format/superpowers:writing-plans."Do NOT add a review/polish iteration after the commit. The four design files + evaluator PASS + commit are the complete exit conditions.
See ../../skills/references/git-commit.md for detailed commit patterns.
./references/scope-alignment.md -- Exploration patterns, sprint contract model, question guidelines./references/design-and-qa.md -- Output structures, sub-agent patterns, QA procedures./references/evaluation-checklist-reference.md -- Design evaluation checklist reference for evaluator../../skills/references/git-commit.md -- Git commit patterns (shared)npx claudepluginhub est7/dotclaude --plugin superpowers/SKILLEnables work verification for a task. Claude completes the work, verifies it, and appends a verified tag before session exit.
/SKILLResolves a GitHub issue by creating an isolated worktree, implementing a TDD fix, and opening a PR with auto-closing keywords.
/SKILLSurfaces the current session task from a state file and evaluates its clarity and completeness. Reports completion status or identifies remaining steps.