From wukong-code
You MUST use this before creative or behavior-changing work — creating features, building components, adding functionality, modifying behavior, or ambiguous product intent. Explores user intent, requirements and design before implementation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wukong-code: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 — whenever this skill applies (new features, behavior changes, or ambiguous product intent).If you are about to build a feature, change user-facing behavior, or invent a design, you do not get to skip this skill because it "feels small." A todo list, a new utility module, or a behavior tweak still needs design approval (Full or Condensed below)—never skip the HARD-GATE by calling the work "simple."
Fast path (does not use this skill): the human named an exact mechanical edit with no design choices (typo, rename already agreed, clear one-line fix in a specified file). Config or behavior changes are NOT fast path. That path is routed in using-wukong-code Scope routing — do not force brainstorming onto it.
Pick a depth before running the checklist. Condensed shortens ceremony; it does not skip design approval.
| Depth | When | Behavior |
|---|---|---|
| Full | Requirements ambiguous, product/behavior intent unclear, or no acceptance criteria | Full checklist below (2–3 approaches, sectioned approval, persist spec, user reviews spec → writing-plans) |
| Condensed | Human gave a clear request and acceptance criteria, but work is still a feature/behavior change (not mechanical fast path) | Explore context → state the chosen approach in at most 5 bullets → one approval → exit per Condensed exits. Do not require 2–3 alternatives. Do not write/commit a design doc unless the human asks or the work spans multiple subsystems. |
Offer alternatives only when they materially change cost, risk, or UX. Visual companion rules still apply (just-in-time, never required).
You MUST create a task for each of these and complete them in order:
After approval:
writing-plans (do not start implementation skills yet)When Depth routing selected Full, you MUST create a task for each of these items and complete them in order:
docs/wukong-code/specs/YYYY-MM-DD-<topic>-design.md and commitDocumentation:
docs/wukong-code/specs/YYYY-MM-DD-<topic>-design.md
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, 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.
Implementation (Full depth):
Full-depth terminal state is invoking writing-plans. Do NOT invoke frontend-design, mcp-builder, or any other implementation skill before that. (Condensed single-module exit may implement after approval—see Condensed exits.)
skills/brainstorming/references/process-depth.md
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 (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, as its own message:
"This next part might be easier if I show you — I can put together mockups, diagrams, and comparisons in a browser tab as we go. It's still new and can be token-intensive. Want me to? I'll open it for you."
This offer MUST be its own message. Only the offer — no clarifying question, summary, or other content. Wait for the user's response. If they accept, start the server with --open so their browser opens to the first screen automatically. If they decline, continue text-only and don't offer again unless they raise it.
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
npx claudepluginhub wukongnotnull/wukong-code --plugin wukong-codeCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.