From sz-skills
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
/sz-skills: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 presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.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 a task for each of these items and complete them in order:
YYYY-MM-DD-<topic-slug> ID for this whole workflow before creating any companion, spec, or plan filesdocs/brainstorm/<artifact-id>/. See the Visual Companion and Structured HTML Companion sections below.docs/specs/<artifact-id>-design.md without committinggrill-with-docs for a deeper pass against project language and documented decisionsdigraph brainstorming {
"Choose artifact ID" [shape=box];
"Explore project context" [shape=box];
"Visual questions ahead?" [shape=diamond];
"Create HTML Visual Companion" [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 review loop" [shape=box];
"Spec review passed?" [shape=diamond];
"User reviews spec and wants grill-with-docs?" [shape=diamond];
"Run grill-with-docs?" [shape=diamond];
"Invoke grill-with-docs skill" [shape=box];
"Invoke writing-plans skill" [shape=doublecircle];
"Choose artifact ID" -> "Explore project context";
"Explore project context" -> "Visual questions ahead?";
"Visual questions ahead?" -> "Create HTML Visual Companion" [label="yes"];
"Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
"Create HTML Visual Companion" -> "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 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 and wants grill-with-docs?" [label="approved"];
"User reviews spec and wants grill-with-docs?" -> "Write design doc" [label="changes requested"];
"User reviews spec and wants grill-with-docs?" -> "Run grill-with-docs?" [label="approved"];
"Run grill-with-docs?" -> "Invoke grill-with-docs skill" [label="yes"];
"Invoke grill-with-docs skill" -> "Invoke writing-plans skill" [label="complete"];
"Run grill-with-docs?" -> "Invoke writing-plans skill" [label="no"];
}
The terminal state is invoking writing-plans. Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The only optional skill between brainstorming and writing-plans is grill-with-docs, and only when the user explicitly chooses that escalation.
Understanding the idea:
YYYY-MM-DD-<topic-slug> using the current date and a concise lowercase slug. Use the same ID for docs/brainstorm/<artifact-id>/, docs/specs/<artifact-id>-design.md, and the later implementation plan docs/plans/<artifact-id>.md.Tracking requirement sources:
As you ask questions and the user responds, mentally maintain two lists:
When proposing approaches: the user's choice of approach is a User Requirement. The implementation details you fill in around that choice are Agent Design Decisions.
When the user says "yes" or "looks good" to a design section: the items they originally requested remain User Requirements. The items you added remain Agent Design Decisions — approval of a section does not promote agent decisions to user requirements.
Exploring approaches:
Presenting the design:
Design for isolation and clarity:
Working in existing codebases:
Documentation:
docs/specs/<artifact-id>-design.md
Spec document structure — requirement source separation:
The spec MUST have two clearly labeled top-level sections that separate what the user specified from what the agent filled in:
## User Requirements
Items the user explicitly stated, chose, or confirmed during brainstorming.
Each item should be traceable to something the user actually said or selected.
- [requirement]: [brief trace — e.g., "user's initial request", "chose from options", "confirmed when asked"]
- ...
## Agent Design Decisions
Everything the agent inferred, recommended, or filled in to complete the design.
Each item notes which user requirement it serves.
- [decision]: serves [which user requirement]. [rationale]
- ...
Rules for classification:
Priority hierarchy: User Requirements are non-negotiable during implementation. Agent Design Decisions are flexible — they can be revised or dropped if they conflict with a User Requirement or if implementation reality demands it. This hierarchy carries forward into the plan and execution.
Spec Review Loop: After writing the spec document:
User Review Gate:
After the spec review loop passes, ask the user to review the written spec and choose whether to run grill-with-docs before proceeding:
"Spec written to
<path>and left uncommitted for your review. Please review it and let me know if you want to make any changes. Also, do you want to rungrill-with-docsfor a deeper pass against the project language, existing docs, and ADR-level decisions before we write 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.
If they approve the spec and say yes to grill-with-docs, invoke grill-with-docs and follow it before continuing. If they approve the spec and say no, proceed directly to writing-plans.
Implementation:
grill-with-docs escalation above. writing-plans is the next step after that choice is resolved.A browser-based companion for showing mockups, diagrams, visual options, and complex structured choices during brainstorming. Available as a tool — not a mode. Creating the companion means it's available for questions that benefit from visual or structured treatment; it does NOT mean every question goes through the browser.
Creating the companion: When you anticipate that upcoming questions will involve visual content (mockups, layouts, diagrams) or dense structured comparison, format your response in an HTML file. Do not ask whether the user wants a visual companion, and do not offer a text-only alternative.
Per-question decision: 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.
Before creating the HTML companion, read the detailed guide:
skills/brainstorming/visual-companion.md
Use a Structured HTML Companion when the brainstorming output will be easier to review as a visual artifact than as prose. This is most useful for complex specs, many options, or decisions with multiple tradeoffs.
HTML companion is a review aid, not the canonical spec. The Markdown spec in docs/specs/<artifact-id>-design.md remains the source of truth unless the user explicitly asks otherwise.
Good structured companion sections:
Create a structured companion for:
Skip HTML for short answers, ordinary clarification questions, simple scope decisions, commands, logs, or anything that is clearer as plain Markdown.
npx claudepluginhub stanley50z/sz-skills --plugin sz-skillsCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.