/beads-superpowers:brainstormingfrom beads-superpowers
Explores user intent, requirements, and design before implementation. Must be used before any creative work to turn ideas into specs through collaborative dialogue.
Ships in beads-superpowers. 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; scripts run unread.
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
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.
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.Production-Grade Doctrine applies with full force here — trade-offs are first chosen in brainstorming: you MUST NOT simplify a design by quietly cutting a required behavior; surface every material trade-off and let the user decide. Never weaken, bypass, or remove a security control — a security regression is never acceptable.
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.
You MUST create the session bead + step children up front via bd import: first bd create "Brainstorming: <topic>" -t task (the permanent session bead — the audit trail; note its id), then author each checklist step as JSONL (one issue per line, "issue_type":"chore", an explicit "priority", id omitted, and a parent-child dep to the session id) and pipe to bd import -. Read bd import --help on first use; confirm the output shows no Skipped dependency. Cleanup: close each step bead as you complete it; if you abandon the brainstorm, close or bd purge the open steps (import children are permanent, not self-cleaning). Then complete the steps in order:
.internal/specs/YYYY-MM-DD-<topic>-design.md and commitstress-test before writing-plansdigraph brainstorming {
"Explore project context" [shape=box];
"Ask clarifying questions" [shape=box];
"Propose 2-3 approaches" [shape=box];
"Present design sections" [shape=box];
"User approves design?" [shape=diamond];
"Write design doc" [shape=box];
"Spec self-review\n(fix inline)" [shape=box];
"User reviews spec?" [shape=diamond];
"Stress-test selected\nat gate?" [shape=diamond];
"Invoke stress-test skill" [shape=box];
"Invoke writing-plans skill" [shape=doublecircle];
"Explore project context" -> "Ask clarifying questions";
"Ask clarifying questions" -> "Propose 2-3 approaches";
"Propose 2-3 approaches" -> "Present design sections";
"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" -> "Spec self-review\n(fix inline)";
"Spec self-review\n(fix inline)" -> "User reviews spec?";
"User reviews spec?" -> "Write design doc" [label="changes requested"];
"User reviews spec?" -> "Stress-test selected\nat gate?" [label="approved"];
"Stress-test selected\nat gate?" -> "Invoke stress-test skill" [label="selected"];
"Stress-test selected\nat gate?" -> "Invoke writing-plans skill" [label="skipped"];
"Invoke stress-test skill" -> "Invoke writing-plans skill";
}
The terminal state is writing-plans. The only other skill brainstorming may invoke is stress-test (optional, between spec approval and writing-plans). Do NOT invoke frontend-design, mcp-builder, or any other implementation skill.
Understanding the idea:
bd list --label <topic> --status all + bd search "<keywords>" --status all + bd memories <keyword> (the memory half — lessons, patterns, root-causes; knowledge-beads alone miss it entirely) (body terms: add --desc-contains "<term>" — search matches titles only; >10 hits: narrow the query, never triage truncated titles). Then read — hits are pointers, not knowledge: bd show <id1> <id2> ... every hit that plausibly bears on this design (full bodies, never truncated below 50 lines; distilled <=2.5KB by design — sanctioned spend). 0 relevant does not mean none exist — re-angle the query once before emitting KB check: none. Emit KB check: N bead hits, M memory hits, K read (or KB check: none) plus a one-line disposition per read hit — folded in (what it changed) or ruled out (why). The check is complete when every plausibly-relevant hit is dispositioned. If a prior decision already covers this, surface it rather than re-litigating.Exploring approaches:
description field for trade-offs and reasoning. This is more efficient than text blocks that require the user to read and type a response.Presenting the design:
{
"questions": [{
"question": "Does the <section-name> section look right?",
"header": "Design",
"options": [
{"label": "Looks good", "description": "Approve this section and move to the next one"},
{"label": "Needs changes", "description": "I have feedback or revisions for this section"}
],
"multiSelect": false
}]
}
Design for isolation and clarity:
Working in existing codebases:
Documentation:
.internal/specs/YYYY-MM-DD-<topic>-design.md
When filing a bead for discovered/follow-up work, stamp it per Agent-Filed Bead Discipline (
verification-before-completion).
After the work is settled, present the Capture gate — mandatory every time; Skip is the default (most work leaves nothing worth keeping):
{
"questions": [{
"question": "Worth keeping anything from this?",
"header": "Capture",
"options": [
{"label": "Skip", "description": "Nothing here outlasts the work itself (usually the case)"},
{"label": "Record the decision", "description": "Pick this if the choice is hard to undo, non-obvious in hindsight, and had real trade-offs — so future-you knows why"},
{"label": "Remember the lesson", "description": "A specific, evidence-backed lesson worth reusing in later sessions"},
{"label": "Both", "description": "A lasting decision and a lesson worth reusing"}
],
"multiSelect": false
}]
}
Route on the answer. Record the decision / Both → this writes an ADR, so first confirm it clears the bar (hard-to-reverse AND surprising-without-context AND genuine trade-off); if it doesn't, say so and capture it as a memory instead (the lighter record) — unless the user confirms they want the full ADR. Write the ADR (docs/decisions/ADR-NNNN-<kebab>.md, sections Context/Decision/Rationale/Consequences, update docs/decisions/INDEX.md), then file a type=decision knowledge-bead so the decision stays retrievable: printf '%s' "<distilled 0.5-2.5KB decision summary — context, decision, consequences>" | bd create "<one-line summary>" -t decision -l kb,adr-process,<topic> --defer 2099-01-01 --metadata "$(jq -nc --arg d "<ADR-path>" '{doc:$d}')" --body-file - --silent (run the secret/PII scan on the summary first — flag for removal, never write a secret into a bead). Remember the lesson / Both → bd remember "<kind>: <durable, evidence-backed insight>". Skip → nothing.
Spec Self-Review: 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.
User Review Gate: After the spec review loop passes, open the spec file in the user's editor so they can review it, then gate progression with your structured question tool (content below; shape shown in Claude Code schema — adapt to your tool):
User's preferred editor: !echo ${VISUAL:-${EDITOR:-not-configured}}
⚠️ Run the open command as a standalone Bash call — never chain it after bd commands in the same invocation (e.g., bd close <id> && open file.md). The combination hangs.
# Open in user's preferred editor, with platform fallbacks
if [ -n "$VISUAL" ]; then
"$VISUAL" "<spec-file-path>"
elif [ -n "$EDITOR" ]; then
"$EDITOR" "<spec-file-path>"
elif command -v open >/dev/null 2>&1; then
open "<spec-file-path>"
else
xdg-open "<spec-file-path>" 2>/dev/null
fi
# If none available: just report the path
Then immediately ask via your structured question tool (content below; shape shown in Claude Code schema — adapt to your tool):
{
"questions": [{
"question": "Spec opened in your editor at `<path>`. Review it and let me know how to proceed.",
"header": "Spec review",
"options": [
{"label": "Approved + stress-test (Recommended)", "description": "Spec looks good — run an adversarial stress-test before writing the plan"},
{"label": "Approved", "description": "Spec looks good — skip stress-test and proceed to writing the implementation plan"},
{"label": "Needs changes", "description": "I want to revise the spec before proceeding"}
],
"multiSelect": false
}]
}
Route on the answer:
stress-test skill with the spec path (.internal/specs/YYYY-MM-DD-<topic>-design.md) as the Mode-A artifact; when it completes, invoke writing-plans.writing-plans directly.Implementation:
bd dep add <epic-id> <brainstorming-bead-id> --type discovered-fromA 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.
Offering the companion (just-in-time): Do NOT offer it upfront. Wait until a question would genuinely be clearer shown than told — a real mockup / layout / diagram question, not merely a UI topic. The first time that happens, offer it then for consent using your structured question tool. This offer MUST be its own message. Do not combine it with clarifying questions, context summaries, or any other content. If they decline, continue text-only and don't offer again unless they raise it.
{
"questions": [{
"question": "This next part might be easier to show than describe. I can put together mockups, diagrams, and comparisons in a web browser as we go. This feature is still new and can be token-intensive. Want me to? (Requires opening a local URL)",
"header": "Visual",
"options": [
{"label": "Yes, use visuals", "description": "Open a browser companion for mockups and diagrams during brainstorming"},
{"label": "No, text only", "description": "Continue with text-based brainstorming in the terminal"}
],
"multiSelect": false
}]
}
Wait for the user's response before continuing. If they decline, proceed with text-only brainstorming.
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?
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.
If they agree to the companion, read the detailed guide before proceeding:
skills/brainstorming/visual-companion.md
Invokes:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
brainstorming, design-spec, requirements-gathering, planning
21 skills in this plugin
/dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies/document-releaseUse when implementation on a branch is complete and it is about to be merged or PR'd — or when finishing-a-development-branch reaches its docs-audit gate — and after code changes are committed, to ensure all project documentation accurately reflects shipped code. Covers README, ARCHITECTURE, CONTRIBUTING, CHANGELOG, CLAUDE.md, TODOS, and VERSION files. Triggers on "update docs", "sync documentation", "post-ship docs", "document release", "documentation audit"./executing-plansUse when you have a written implementation plan to execute in a separate session with review checkpointsnpx claudepluginhub dollardill/beads-superpowers --plugin beads-superpowersOther plugins' skills for the same job