一键导入
brainstorming
Use before spec writing when the approach is unclear, multiple designs are plausible, or the engineer wants to explore alternatives before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use before spec writing when the approach is unclear, multiple designs are plausible, or the engineer wants to explore alternatives before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | brainstorming |
| description | Use before spec writing when the approach is unclear, multiple designs are plausible, or the engineer wants to explore alternatives before committing. |
| type | skill |
| license | MIT |
| compatibility | ["claude-code","cursor","codex"] |
| trigger | unclear-approach|multiple-designs|architectural-decision|how-should-we |
| skip_when | approach-already-decided|narrow-scope|bug-fix |
| user-invocable | false |
| required-toolsets | ["read-only"] |
Explore the design space before committing to a single approach. Brainstorming produces 2-3 concrete alternatives with explicit tradeoffs, then converges on an approved direction. This phase prevents the most expensive mistake: building the wrong thing correctly.
Explore context before proposing anything:
CLAUDE.md and .claude/references/architecture-principles.md (if present)Ask clarifying questions one at a time:
Propose 2-3 concrete approaches with this structure for each:
Present a recommendation with reasoning:
Get approval on the direction before proceeding:
Persist the decision if the work will continue to spec:
docs/specs/YYYY-MM-DD-<topic>-brainstorm.md if docs/specs/ existsThe default workflow above runs in one context — which means every approach is generated under the same anchoring. For architecture-shaping decisions (a new boundary, a public contract, a migration strategy) or when the engineer asks for wide exploration, switch to divergence mode: generate approaches in isolated parallel subagents so they don't converge on the first obvious idea, then judge them with a separate critic pass.
When to enter divergence mode:
Cost gate (ask first). Divergence mode spends roughly 6–10 agent calls (one per divergent branch plus the critic deepening). Before running it, state that cost in one line and confirm — unless the engineer already explicitly asked for wide exploration, in which case proceed.
Phase 1 — Diverge (parallel, isolated).
.claude/references/divergence-frames.md. Always
include at least one adversarial/fintech frame when the work touches money,
auth, or audited state (F-REG regulator, F-FRD fraudster, F-AUD
auditor). Vary the frame selection across sessions so you don't always view
the problem the same way.{ "approach": "...", "how": "...", "load_bearing_assumption": "...", "risk": "..." }.
Branches must not see each other's output — isolation is the whole point.Phase 2 — Focus (critic pass, orchestrator-side). 3. Collect the branch JSON. Run a separate critic pass (you, the orchestrator, with a deliberately skeptical lens — not the generators):
Trap register carries forward. When this brainstorm proceeds to a spec, the
trap register becomes the spec's "Rejected alternatives" — spec-driven-development
reads it. Naming the seductive-but-wrong design is as valuable as naming the
chosen one.
See .claude/skills/context-engineering/SKILL.md for the shared table. Brainstorming-specific traps: "there's really only one way to do this" (then present that one approach and explain why alternatives don't apply — the discipline still helps), and "let me prototype and then we'll decide" (prototyping creates sunk-cost bias — decide on the approach first, then build).
Corrective batch of multiple small independent fixes (apply review findings, several/multiple fixes across >3 files, no new contract or architecture) — broader than fix, lighter than implement.
One-time repo setup that detects tech stack, audits the codebase, pulls coding guidelines, and generates a project-specific CLAUDE.md
Full feature implementation loop orchestrating planning, batching, verification, and review skills
Use when the task is a new feature, breaking change, multi-file change, or any work where approval should happen before coding begins.
Use to create, update, and read durable workflow state under .mtk/workflows/ so orchestration survives compaction, crash, and session handoff.
Use after a spec is approved and before multi-file implementation begins, to break work into verifiable batches with checkpoints.