From razorback
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/razorback:brainstormingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
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 a design and the user has approved it.Three paths, scaled to the situation:
| Path | When | Steps | Exit to |
|---|---|---|---|
| Full process | Requirements unclear, multiple approaches | Q&A → approaches → design → doc | writing-plans |
| Fast path | Design agreed, but task is large or multi-session | Summarize → confirm → doc | writing-plans |
| Lightweight | Design agreed AND task is moderate (< ~300 lines new code, same-session) | Summarize → confirm → doc with acceptance criteria | dispatch implementer directly |
How to tell the difference:
The anti-rationalization check: can you articulate the agreed design in concrete terms (components, data flow, key decisions)? If yes, fast path or lightweight. If you're hand-waving with "it's basically just X," you need the full process. The choice between fast path and lightweight depends on task size and complexity, not on how well you understand it.
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 for truly simple projects, but you MUST present it and get approval. Note: the fast path above still produces a design; it just doesn't force re-discovery of things already agreed.
Lightweight (design agreed, moderate task, same-session):
docs/plans/YYYY-MM-DD-<topic>-design.md and commit. Include acceptance criteria checklist; this is the implementer's spec.Fast path (design agreed, large or multi-session task):
docs/plans/YYYY-MM-DD-<topic>-design.md and commitFull process (requirements unclear or multiple approaches):
razorback:architecture-quality - for non-trivial work, capture the approved module/interface shape before presenting the design. If the task has no architecture impact, note No Architecture Impact.docs/plans/YYYY-MM-DD-<topic>-design.md and commitrazorback:cross-model-convergence and fold surviving objections into the spec. This is lead work inside the flow, not a user gate.digraph brainstorming {
"Design already agreed?" [shape=diamond];
"Task moderate + same-session?" [shape=diamond];
"Explore project context" [shape=box];
"Run architecture-quality gate\n(or note No Architecture Impact)" [shape=box];
"Summarize agreed design" [shape=box];
"Visual questions ahead?" [shape=diamond];
"Offer Visual Companion\n(own message, no other content)" [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];
"Doubt pass\n(if architecture risk medium/high)" [shape=box];
"User reviews spec?" [shape=diamond];
"Invoke writing-plans skill" [shape=doublecircle];
"Lightweight implementation" [shape=doublecircle];
"Design already agreed?" -> "Explore project context" [label="yes"];
"Design already agreed?" -> "Explore project context" [label="no (full process)"];
"Explore project context" -> "Summarize agreed design" [label="agreed"];
"Explore project context" -> "Visual questions ahead?" [label="unclear"];
"Visual questions ahead?" -> "Offer Visual Companion\n(own message, no other content)" [label="yes"];
"Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
"Offer Visual Companion\n(own message, no other content)" -> "Ask clarifying questions";
"Ask clarifying questions" -> "Propose 2-3 approaches";
"Propose 2-3 approaches" -> "Run architecture-quality gate\n(or note No Architecture Impact)";
"Run architecture-quality gate\n(or note No Architecture Impact)" -> "Present design sections";
"Present design sections" -> "User approves design?";
"Summarize agreed design" -> "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)" -> "Doubt pass\n(if architecture risk medium/high)";
"Doubt pass\n(if architecture risk medium/high)" -> "User reviews spec?";
"User reviews spec?" -> "Write design doc" [label="changes requested"];
"User reviews spec?" -> "Task moderate + same-session?" [label="approved"];
"Task moderate + same-session?" -> "Lightweight implementation" [label="yes"];
"Task moderate + same-session?" -> "Invoke writing-plans skill" [label="no"];
}
Terminal states: Either invoke writing-plans (full/fast path) or proceed to lightweight implementation (see below). These are the only two exits from brainstorming.
Understanding the idea:
context for token-budgeted codebase context, inspect to understand file structure and key symbols, and trace when references matter. Do NOT fall back to Glob → Read → Grep chains.razorback:architecture-quality after that orientation and once requirements are clear enough to assess structure, before presenting the design. If the task has no architecture impact, record No Architecture Impact and continue.git log --oneline -10Exploring approaches:
Presenting the design:
Documentation (all paths):
docs/plans/YYYY-MM-DD-<topic>-design.mdSpec 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, ask the user to review the written spec before proceeding:
"Spec written and committed to
<path>. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."
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.
Full/fast path → writing-plans:
Lightweight → direct implementation:
For moderate, well-understood tasks executed in the same session. Skips writing-plans — dispatches directly to implementation.
The design doc IS the plan. Make sure it includes:
If the task has 2+ independent parts: Use razorback:subagent-driven-development. The design doc serves as the plan. Dispatch one implementer subagent per independent part in parallel, assigning file ownership to prevent conflicts.
If the task is a single coherent unit: Dispatch one implementer using the prompt template from razorback:subagent-driven-development.
Agent / Task tool:
description: "Implement [feature name]"
prompt: |
[Follow subagent-driven-development/implementer-prompt.md template]
Task description = the design doc
Context = conversational agreement
Review: Lead does inline review when the implementer reports back (spec compliance + code quality). If issues found, route the fix per razorback:subagent-driven-development (resume on Claude Code, fresh dispatch with fix context on opencode).
Done: After review passes, use razorback:finishing-a-development-branch.
A 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: When you anticipate that upcoming questions will involve visual content (mockups, layouts, diagrams), offer it once for consent:
"Some of what we're working on might be easier to explain if I can show it to you in a web browser. I can put together mockups, diagrams, comparisons, and other visuals as we go. This feature is still new and can be token-intensive. Want to try it? (Requires opening a local URL)"
This offer MUST be its own message. Do not combine it with clarifying questions, context summaries, or any other content. The message should contain ONLY the offer above and nothing else. 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?
If they agree to the companion, read the detailed guide before proceeding:
skills/brainstorming/visual-companion.md
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub anortham/razorback --plugin razorback