super-brainstorm
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen this skill is activated, always start your first response with the brain emoji.
激活此技能时,你的第一条回复必须以大脑表情🤯开头。
Super Brainstorm
超级头脑风暴
Activation Banner
激活横幅
At the very start of every super-brainstorm invocation, before any other output, display this ASCII art banner:
███████╗██╗ ██╗██████╗ ███████╗██████╗
██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗
███████╗██║ ██║██████╔╝█████╗ ██████╔╝
╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗
███████║╚██████╔╝██║ ███████╗██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
██████╗ ██████╗ █████╗ ██╗███╗ ██╗███████╗████████╗ ██████╗ ██████╗ ███╗ ███╗
██╔══██╗██╔══██╗██╔══██╗██║████╗ ██║██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗████╗ ████║
██████╔╝██████╔╝███████║██║██╔██╗ ██║███████╗ ██║ ██║ ██║██████╔╝██╔████╔██║
██╔══██╗██╔══██╗██╔══██║██║██║╚██╗██║╚════██║ ██║ ██║ ██║██╔══██╗██║╚██╔╝██║
██████╔╝██║ ██║██║ ██║██║██║ ╚████║███████║ ██║ ╚██████╔╝██║ ██║██║ ╚═╝ ██║
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝Follow the banner immediately with:
Entering plan mode - ultrathink enabledA relentless, ultrathink-powered design interview that turns vague ideas into
bulletproof specs. This is not a casual brainstorm - it is a structured
interrogation of every assumption, every dependency, and every design branch
until the AI and user reach a shared understanding that a staff engineer would
approve.
在每次调用超级头脑风暴的最开始,在输出任何其他内容之前,显示以下ASCII艺术横幅:
███████╗██╗ ██╗██████╗ ███████╗██████╗
██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗
███████╗██║ ██║██████╔╝█████╗ ██████╔╝
╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗
███████║╚██████╔╝██║ ███████╗██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
██████╗ ██████╗ █████╗ ██╗███╗ ██╗███████╗████████╗ ██████╗ ██████╗ ███╗ ███╗
██╔══██╗██╔══██╗██╔══██╗██║████╗ ██║██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗████╗ ████║
██████╔╝██████╔╝███████║██║██╔██╗ ██║███████╗ ██║ ██║ ██║██████╔╝██╔████╔██║
██╔══██╗██╔══██╗██╔══██║██║██║╚██╗██║╚════██║ ██║ ██║ ██║██╔══██╗██║╚██╔╝██║
██████╔╝██║ ██║██║ ██║██║██║ ╚████║███████║ ██║ ╚██████╔╝██║ ██║██║ ╚═╝ ██║
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝横幅之后立即跟上:
Entering plan mode - ultrathink enabled这是一个由超深度思考驱动的、持续的设计访谈,可将模糊的想法转化为可靠的规范。这不是随意的头脑风暴——它是对每个假设、每个依赖项和每个设计分支的结构化审视,直到AI与用户达成资深工程师认可的共识。
Hard Gates
硬性规则
<HARD-GATE>
1. ALWAYS enter plan mode at the start of this skill. Do not proceed in normal mode.
2. ALWAYS use extended thinking (ultrathink / think hard) before every question,
every decision, every approach proposal, and every design section. No exceptions.
3. Do NOT invoke any implementation skill, write any code, scaffold any project,
or take any implementation action until the spec is written and the user has
approved it. This applies to EVERY project regardless of perceived simplicity.
</HARD-GATE>
<HARD-GATE>
1. 激活此技能时,始终从进入规划模式开始。不要以普通模式进行操作。
2. 在提出每个问题、做出每个决策、提出每个方案和编写每个设计部分之前,必须进行超深度思考(ultrathink / 深度思考)。无例外。
3. 在规范编写完成并获得用户批准之前,不得调用任何实现技能、编写任何代码、搭建任何项目框架或采取任何实现行动。无论项目看起来多么简单,此规则都适用于所有项目。
</HARD-GATE>
Anti-Pattern: "This Is Too Simple To Need A Design"
反模式:“这个太简单了,不需要设计”
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.
每个项目都必须经过此流程。待办事项列表、单一功能工具、配置变更——全部都要。“简单”项目正是未审视的假设导致最多无效工作的地方。设计可以很简短(对于真正简单的项目,几句话即可),但你必须提交设计并获得批准。
Checklist
检查清单
You MUST complete these steps in order:
- Enter plan mode
- Deep context scan - read docs/, README.md, CLAUDE.md, CONTRIBUTING.md, recent commits, project structure
- Codebase-first exploration - before every question, check if the codebase already answers it
- Scope assessment - if the request spans multiple independent subsystems, decompose first
- Relentless interview - one question at a time, strictly linear, dependency-resolved, ultrathink every decision
- Approach proposal - only when there's a genuine fork; mark one (Recommended) with rationale
- Design presentation - section by section, user approval per section
- Write spec - save to
docs/plans/YYYY-MM-DD-<topic>-design.md - Spec review loop - dispatch reviewer subagent, fix issues, max 3 iterations
- User reviews spec - gate before proceeding
- Flexible exit - user chooses next step (writing-plans, superhuman, direct implementation, etc.)
你必须按顺序完成以下步骤:
- 进入规划模式
- 深度上下文扫描 - 阅读docs/、README.md、CLAUDE.md、CONTRIBUTING.md、最近的提交记录、项目结构
- 代码库优先探索 - 在提出每个问题之前,检查代码库是否已经给出了答案
- 范围评估 - 如果请求涉及多个独立子系统,先进行分解
- 持续访谈 - 一次一个问题,严格按线性顺序,解决依赖关系,每个决策都经过超深度思考
- 方案提议 - 仅当存在真正的分支时才提出;标记一个**(推荐)**选项并说明理由
- 设计展示 - 分部分展示,每部分都需获得用户批准
- 编写规范 - 保存到
docs/plans/YYYY-MM-DD-<topic>-design.md - 规范审查循环 - 调用审查子Agent,修复问题,最多3次迭代
- 用户审查规范 - 进入下一阶段前的必经关卡
- 灵活退出 - 用户选择下一步(编写计划、超能力模式、直接实现等)
Process Flow
流程
dot
digraph super_brainstorm {
rankdir=TB;
node [shape=box];
"Enter plan mode" -> "Deep context scan";
"Deep context scan" -> "Scope assessment";
"Scope assessment" -> "Decompose into sub-projects" [label="too large"];
"Scope assessment" -> "Relentless interview" [label="right-sized"];
"Decompose into sub-projects" -> "Relentless interview" [label="first sub-project"];
"Relentless interview" -> "Genuine fork?" [shape=diamond];
"Genuine fork?" -> "Propose approaches\n(mark Recommended)" [label="yes"];
"Genuine fork?" -> "Next question or\ndesign presentation" [label="no, obvious answer"];
"Propose approaches\n(mark Recommended)" -> "Next question or\ndesign presentation";
"Next question or\ndesign presentation" -> "Relentless interview" [label="more branches"];
"Next question or\ndesign presentation" -> "Present design sections" [label="tree resolved"];
"Present design sections" -> "User approves section?" [shape=diamond];
"User approves section?" -> "Present design sections" [label="no, revise"];
"User approves section?" -> "Write spec to docs/plans/" [label="yes, all sections"];
"Write spec to docs/plans/" -> "Spec review loop\n(subagent, max 3)";
"Spec review loop\n(subagent, max 3)" -> "User reviews spec";
"User reviews spec" -> "Write spec to docs/plans/" [label="changes requested"];
"User reviews spec" -> "User chooses next step" [label="approved"];
}dot
digraph super_brainstorm {
rankdir=TB;
node [shape=box];
"Enter plan mode" -> "Deep context scan";
"Deep context scan" -> "Scope assessment";
"Scope assessment" -> "Decompose into sub-projects" [label="too large"];
"Scope assessment" -> "Relentless interview" [label="right-sized"];
"Decompose into sub-projects" -> "Relentless interview" [label="first sub-project"];
"Relentless interview" -> "Genuine fork?" [shape=diamond];
"Genuine fork?" -> "Propose approaches\n(mark Recommended)" [label="yes"];
"Genuine fork?" -> "Next question or\ndesign presentation" [label="no, obvious answer"];
"Propose approaches\n(mark Recommended)" -> "Next question or\ndesign presentation";
"Next question or\ndesign presentation" -> "Relentless interview" [label="more branches"];
"Next question or\ndesign presentation" -> "Present design sections" [label="tree resolved"];
"Present design sections" -> "User approves section?" [shape=diamond];
"User approves section?" -> "Present design sections" [label="no, revise"];
"User approves section?" -> "Write spec to docs/plans/" [label="yes, all sections"];
"Write spec to docs/plans/" -> "Spec review loop\n(subagent, max 3)";
"Spec review loop\n(subagent, max 3)" -> "User reviews spec";
"User reviews spec" -> "Write spec to docs/plans/" [label="changes requested"];
"User reviews spec" -> "User chooses next step" [label="approved"];
}Phase 1: Deep Context Scan
第一阶段:深度上下文扫描
Before asking the user a single question, build comprehensive project awareness.
Mandatory reads (if they exist):
- directory - read README.md first, then scan all files
docs/ - at project root
README.md - /
CLAUDE.mdconfiguration.claude/ CONTRIBUTING.md- - existing design docs that might overlap
docs/plans/ - Recent git commits (last 10-20)
- Package manifests (,
package.json,Cargo.toml, etc.)pyproject.toml - Project structure overview (top-level directories)
What you're looking for:
- Existing patterns, conventions, and architectural decisions
- Tech stack and dependencies
- Testing patterns and CI setup
- Overlapping or related design docs
- Code style and organizational conventions
Output to the user: A brief summary of what you found, highlighting anything
relevant to the task at hand. Do NOT dump a file listing - synthesize what matters.
在向用户提出任何问题之前,先全面了解项目情况。
必须阅读的内容(如果存在):
- 目录 - 先读README.md,然后扫描所有文件
docs/ - 项目根目录下的
README.md - /
CLAUDE.md配置.claude/ CONTRIBUTING.md- - 可能存在重叠的现有设计文档
docs/plans/ - 最近的Git提交记录(最近10-20条)
- 包清单(,
package.json,Cargo.toml等)pyproject.toml - 项目结构概述(顶级目录)
你需要查找的信息:
- 现有模式、约定和架构决策
- 技术栈和依赖项
- 测试模式和CI设置
- 重叠或相关的设计文档
- 代码风格和组织约定
向用户输出: 你发现的内容的简要摘要,重点突出与当前任务相关的信息。不要只是罗列文件,要整合关键信息。
Phase 2: Codebase-First Intelligence
第二阶段:代码库优先智能
Before asking ANY question, check if the codebase already answers it.
This is the core differentiator. The AI must:
- Identify what it needs to know to make the next design decision
- Search the codebase for the answer (grep, glob, read relevant files)
- Only ask the user if the code genuinely cannot answer the question
Examples:
- "What database are you using?" - DON'T ASK. Check package.json, config files, existing code.
- "How do you handle authentication?" - DON'T ASK. Search for auth middleware, JWT usage, session handling.
- "What testing framework?" - DON'T ASK. Check test files, config, package.json.
- "What's the visual style you want?" - ASK. Code can't answer aesthetic preferences.
- "Should this be real-time or batch?" - ASK. This is a product decision the codebase can't resolve.
When you DO find the answer in the codebase, tell the user what you found:
"I see you're using Prisma with PostgreSQL (from). I'll design around that."prisma/schema.prisma
This builds confidence and saves the user from answering questions they already answered in code.
在提出任何问题之前,先检查代码库是否已经给出了答案。
这是此技能的核心差异化点。AI必须:
- 确定做出下一个设计决策需要了解的信息
- 在代码库中搜索答案(使用grep、glob、阅读相关文件)
- 只有当代码库确实无法回答时,才向用户提问
示例:
- “你们用的是什么数据库?” - 不要问。检查package.json、配置文件、现有代码。
- “你们如何处理身份验证?” - 不要问。搜索认证中间件、JWT使用、会话处理相关代码。
- “用的是什么测试框架?” - 不要问。检查测试文件、配置、package.json。
- “你们想要什么视觉风格?” - 可以问。代码无法回答审美偏好。
- “这个应该是实时的还是批量的?” - 可以问。这是代码库无法解决的产品决策。
当你在代码库中找到答案时,告诉用户你发现的内容:
“我看到你们正在使用Prisma和PostgreSQL(来自)。我会基于此进行设计。”prisma/schema.prisma
这能建立信任,同时节省用户的时间,避免他们回答已经在代码中给出的问题。
Phase 3: Scope Assessment
第三阶段:范围评估
Before diving into detailed questions, assess scope.
If the request describes multiple independent subsystems (e.g., "build a platform
with chat, file storage, billing, and analytics"):
- Flag this immediately
- Help decompose into sub-projects: what are the independent pieces, how do they relate, what order should they be built?
- Each sub-project gets its own brainstorm -> spec -> plan -> implementation cycle
- Brainstorm the first sub-project through the normal design flow
If the request is appropriately scoped, proceed to the interview.
在深入细节问题之前,先评估范围。
如果请求涉及多个独立子系统(例如:“构建一个包含聊天、文件存储、计费和分析的平台”):
- 立即指出这一点
- 帮助分解为子项目:独立部分是什么,它们之间的关系如何,应该按什么顺序构建?
- 每个子项目都要经过自己的头脑风暴->规范->计划->实现周期
- 先对第一个子项目进行正常的设计流程头脑风暴
如果请求的范围合适,则进入访谈阶段。
Phase 4: Relentless Interview
第四阶段:持续访谈
This is the heart of the skill. Walk down every branch of the design tree,
resolving dependencies between decisions one by one.
Rules:
- Use the tool for every question - this is a built-in Claude Code tool that pauses execution and waits for the user's response. Use it for every interview question, every section approval, and every decision point. Never just print a question in your output - always use the tool so the conversation properly blocks until the user responds.
AskUserQuestion - One question at a time - never overwhelm with multiple questions
- Ultrathink before every question - reason deeply about what you need to know next, what depends on what, and whether the codebase can answer it
- Strictly linear - if decision B depends on decision A, never ask about B until A is locked
- Prefer multiple choice when possible - easier to answer. Include your recommendation marked as (Recommended) with a clear rationale
- Never fake options - only propose multiple approaches when there's a genuine fork in the road. If the codebase and interview clearly point to one right answer, present it with reasoning for why alternatives were dismissed
- Codebase check before every question - search the code first, only ask what code can't tell you
- Keep going until every decision node is resolved - don't shortcut, don't assume, don't hand-wave. If a branch of the design tree hasn't been explored, explore it.
What to interview about:
- Purpose and success criteria
- User/consumer personas
- Data model and relationships
- Component boundaries and interfaces
- State management and data flow
- Error handling and edge cases
- Performance requirements and constraints
- Security considerations
- Testing strategy
- Migration path (if modifying existing systems)
- Backwards compatibility concerns
Design tree traversal:
Think of the design as a tree of decisions. Each decision may open new branches.
Walk the tree depth-first, resolving each branch fully before moving to siblings.
Feature X
- Who is this for? (resolve)
- What's the core interaction? (resolve)
- How does data flow? (resolve)
- What are the edge cases? (resolve)
- What are the error states? (resolve)
- What's the secondary interaction? (resolve)
- How does this integrate with existing system? (resolve)这是此技能的核心。遍历设计树的每个分支,逐个解决决策之间的依赖关系。
规则:
- 每个问题都必须使用工具 - 这是Claude Code的内置工具,会暂停执行并等待用户回复。每个访谈问题、每个部分的批准请求、每个决策点都要使用此工具。永远不要只是在输出中打印问题 - 始终使用该工具,确保对话会等待用户回复后再继续。
AskUserQuestion - 一次一个问题 - 不要用多个问题 overwhelm 用户
- 每个问题之前都要进行超深度思考 - 深入思考下一步需要了解什么、依赖关系是什么,以及代码库是否能给出答案
- 严格线性 - 如果决策B依赖于决策A,在A确定之前永远不要问B的问题
- 尽可能使用选择题 - 更容易回答。标记你的**(推荐)**选项并给出清晰理由
- 不要伪造选项 - 只有当存在真正的设计分支时才提出多种方案。如果代码库和访谈明确指向一个正确答案,直接呈现该答案并说明为什么其他方案被排除
- 每个问题之前都要检查代码库 - 先搜索代码,只问代码无法回答的问题
- 持续进行直到所有决策节点都解决 - 不要走捷径,不要假设,不要含糊。如果设计树的某个分支尚未探索,就去探索它。
访谈内容包括:
- 目的和成功标准
- 用户/消费者角色
- 数据模型和关系
- 组件边界和接口
- 状态管理和数据流
- 错误处理和边缘情况
- 性能要求和约束
- 安全考虑
- 测试策略
- 迁移路径(如果修改现有系统)
- 向后兼容性问题
设计树遍历:
将设计视为决策树。每个决策可能会开启新的分支。深度优先遍历树,在移动到兄弟分支之前完全解决每个分支。
Feature X
- 这是给谁用的?(解决)
- 核心交互是什么?(解决)
- 数据流是怎样的?(解决)
- 边缘情况有哪些?(解决)
- 错误状态有哪些?(解决)
- 次要交互是什么?(解决)
- 这如何与现有系统集成?(解决)Phase 5: Approach Proposals
第五阶段:方案提议
Only propose multiple approaches when there is a genuine design fork.
When the answer is obvious:
Present the single approach with reasoning. Briefly mention why you dismissed
alternatives:
"Given your existing Express + Prisma stack and the read-heavy access pattern, a new Prisma model with a cached read path is the clear approach. A separate microservice would add complexity without benefit at this scale, and a raw SQL approach would lose Prisma's type safety."
When there's a genuine fork:
Present each option with:
- What it is (1-2 sentences)
- Pros and cons
- When you'd pick it
- Mark one as (Recommended) with clear rationale
只有当存在真正的设计分支时,才提出多种方案。
当答案很明显时:
呈现单一方案并说明理由。简要提及为什么排除其他方案:
“考虑到你们现有的Express + Prisma技术栈以及读密集型的访问模式,新的Prisma模型加缓存读取路径是明确的方案。单独的微服务会增加复杂性而没有任何好处,而原始SQL方案会失去Prisma的类型安全性。”
当存在真正的分支时:
呈现每个选项,包括:
- 方案内容(1-2句话)
- 优缺点
- 适用场景
- 标记一个**(推荐)**选项并给出清晰理由
Phase 6: Design Presentation
第六阶段:设计展示
Once the design tree is fully resolved, present the design section by section.
Rules:
- Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
- Ask after each section whether it looks right so far
- Cover: architecture, components, data flow, error handling, testing approach
- Be ready to go back and revise if something doesn't fit
- Reference existing codebase patterns you're building on
Design for isolation and clarity:
- Break the system into smaller units with one clear purpose each
- Well-defined interfaces between units
- Each unit should be understandable and testable independently
- For each unit: what does it do, how do you use it, what does it depend on?
Working in existing codebases:
- Follow existing patterns. Don't fight the codebase.
- Where existing code has problems that affect the work (e.g., a file that's grown too large, unclear boundaries), include targeted improvements as part of the design - the way a good developer improves code they're working in.
- Don't propose unrelated refactoring. Stay focused on what serves the current goal.
设计树完全解决后,分部分展示设计。
规则:
- 根据复杂度调整每个部分的篇幅:简单的内容用几句话,复杂的内容最多200-300字
- 每个部分展示后询问用户是否符合预期
- 涵盖:架构、组件、数据流、错误处理、测试方案
- 随时准备返回修改不符合的内容
- 引用你所基于的现有代码库模式
设计要注重隔离性和清晰性:
- 将系统分解为多个功能单一的小单元
- 单元之间定义清晰的接口
- 每个单元都应该可以独立理解和测试
- 对于每个单元:它的功能是什么,如何使用它,它依赖什么?
在现有代码库中工作:
- �ollowing现有模式。不要与代码库作对。
- 如果现有代码存在影响当前工作的问题(例如,文件过大、边界不清晰),在设计中包含针对性的改进 - 就像优秀的开发人员在修改代码时会做的那样。
- 不要提出无关的重构。专注于服务当前目标。
Phase 7: Write Spec
第七阶段:编写规范
After user approves the full design:
- Write to
docs/plans/YYYY-MM-DD-<topic>-design.md - Clear, concise prose. No fluff.
- Sections should mirror what was discussed and approved
- Include: summary, architecture, components, data model, interfaces, error handling, testing strategy, migration path (if applicable)
用户批准完整设计后:
- 写入
docs/plans/YYYY-MM-DD-<topic>-design.md - 清晰、简洁的文字。不要冗余。
- 章节应与讨论并批准的内容一致
- 包括:摘要、架构、组件、数据模型、接口、错误处理、测试策略、迁移路径(如适用)
Phase 8: Spec Review Loop
第八阶段:规范审查循环
After writing the spec, dispatch a reviewer subagent:
Agent tool (general-purpose):
description: "Review spec document"
prompt: |
You are a spec document reviewer. Verify this spec is complete and ready
for implementation planning.
Spec to review: [SPEC_FILE_PATH]
| Category | What to Look For |
|------------- |---------------------------------------------------------------|
| Completeness | TODOs, placeholders, "TBD", incomplete sections |
| Consistency | Internal contradictions, conflicting requirements |
| Clarity | Requirements ambiguous enough to cause building the wrong thing|
| Scope | Focused enough for a single plan |
| YAGNI | Unrequested features, over-engineering |
Only flag issues that would cause real problems during implementation.
Approve unless there are serious gaps.
Output format:
## Spec Review
**Status:** Approved | Issues Found
**Issues (if any):**
- [Section X]: [specific issue] - [why it matters]
**Recommendations (advisory, do not block approval):**
- [suggestions]- If issues found: fix them, re-dispatch, repeat
- Max 3 iterations. If still failing, surface to the user for guidance.
编写规范后,调用审查子Agent:
Agent tool (general-purpose):
description: "Review spec document"
prompt: |
You are a spec document reviewer. Verify this spec is complete and ready
for implementation planning.
Spec to review: [SPEC_FILE_PATH]
| Category | What to Look For |
|------------- |---------------------------------------------------------------|
| Completeness | TODOs, placeholders, "TBD", incomplete sections |
| Consistency | Internal contradictions, conflicting requirements |
| Clarity | Requirements ambiguous enough to cause building the wrong thing|
| Scope | Focused enough for a single plan |
| YAGNI | Unrequested features, over-engineering |
Only flag issues that would cause real problems during implementation.
Approve unless there are serious gaps.
Output format:
## Spec Review
**Status:** Approved | Issues Found
**Issues (if any):**
- [Section X]: [specific issue] - [why it matters]
**Recommendations (advisory, do not block approval):**
- [suggestions]- 如果发现问题:修复问题,重新调用,重复此过程
- 最多3次迭代。如果仍然不通过,将问题提交给用户寻求指导.
Phase 9: User Reviews Spec
第九阶段:用户审查规范
After the review loop passes:
"Spec written to. Please review it and let me know if you want to make any changes before we proceed."<path>
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.
审查循环通过后:
“规范已写入。请审查并告诉我在继续之前是否需要进行任何修改。”<path>
等待用户回复。如果用户要求修改,进行修改并重新运行规范审查循环。只有在用户批准后才能继续。
Phase 10: Flexible Exit
第十阶段:灵活退出
Once the spec is approved, present the user with options:
"Spec is approved. What would you like to do next?"
- A) Writing plans - create a detailed implementation plan (invoke writing-plans skill)
- B) Superhuman - full AI-native SDLC with task decomposition and parallel execution (invoke superhuman skill)
- C) Direct implementation - start building right away
- D) Something else - your call
Let the user decide the next step. Do not auto-invoke any skill.
规范批准后,向用户提供选项:
“规范已批准。接下来你想做什么?”
- A) 编写计划 - 创建详细的实现计划(调用writing-plans技能)
- B) 超能力模式 - 全AI原生的软件开发生命周期,包括任务分解和并行执行(调用superhuman技能)
- C) 直接实现 - 立即开始构建
- D) 其他 - 由你决定
让用户决定下一步。不要自动调用任何技能。
Key Principles
核心原则
- Ultrathink everything - deep reasoning before every decision, no lazy shortcuts
- Codebase before questions - respect the user's time, only ask genuine unknowns
- One question at a time via tool - never overwhelm, always use the built-in tool to ask
AskUserQuestion - Strictly linear - resolve dependencies before moving forward
- Honest options - real forks get multiple approaches, obvious answers get presented directly
- Always mark (Recommended) - every set of options includes a clear recommendation with rationale
- YAGNI ruthlessly - remove unnecessary features from all designs
- Incremental validation - present design section by section, get approval before moving on
- Plan mode always - this skill operates entirely in plan mode
- 所有决策都要超深度思考 - 每个决策、每个问题、每个提议之前都要深入思考,不要偷懒走捷径
- 先查代码库再提问 - 尊重用户的时间,只问真正未知的问题
- 通过工具一次问一个问题 - 不要 overwhelm 用户,始终使用内置工具提问
AskUserQuestion - 严格线性 - 解决依赖关系后再推进
- 诚实提供选项 - 只有真正的分支才提供多种方案,明显的答案直接呈现
- 始终标记(推荐) - 每个选项集都要包含清晰的推荐选项及理由
- 严格遵循YAGNI原则 - 从所有设计中移除不必要的功能
- 增量验证 - 分部分展示设计,获得批准后再继续
- 始终处于规划模式 - 此技能完全在规划模式下运行
Gotchas
注意事项
-
tool not available in all environments - The
AskUserQuestiontool is a Claude Code-specific built-in. In other environments (Gemini CLI, OpenAI Codex), it may not exist. Fall back to printing the question as a clearly demarcated output block and waiting for user response, but track that you are waiting for an answer before proceeding.AskUserQuestion -
Deep context scan can consume the entire context window - Reading every file inand every recent commit in a large codebase can exhaust the context window before the first question is asked. Be selective: read README, CLAUDE.md, and recent commits first; only go deeper on files directly relevant to the task.
docs/ -
Spec saved toin the wrong repo - If the skill is invoked in a monorepo or a workspace with multiple
docs/plans/directories, saving the spec to the wrong subdirectory means it will never be found during future DISCOVER phases. Confirm the targetdocs/path with the user before writing.docs/plans/ -
Reviewer subagent approves incomplete specs - The reviewer subagent is prompted to "approve unless there are serious gaps," which means minor incompleteness often passes. Do not treat reviewer approval as a substitute for user approval. The user gate in Phase 9 is mandatory regardless of the reviewer's verdict.
-
Flexible exit auto-invokes the next skill - Presenting the exit options and then immediately invoking a skill without waiting for user input defeats the purpose of a flexible exit. Always use(or equivalent) to receive the user's choice before taking any post-spec action.
AskUserQuestion
-
工具并非在所有环境中可用 -
AskUserQuestion是Claude Code特有的内置工具。在其他环境(Gemini CLI、OpenAI Codex)中可能不存在。回退方案是将问题作为明确标记的输出块打印,并等待用户回复,但要记录你正在等待答案才能继续。AskUserQuestion -
深度上下文扫描可能耗尽整个上下文窗口 - 在大型代码库中阅读中的所有文件和所有最近的提交记录可能会在提出第一个问题之前耗尽上下文窗口。要有所选择:先读README、CLAUDE.md和最近的提交记录;只深入阅读与当前任务直接相关的文件。
docs/ -
规范保存到错误仓库的目录 - 如果在单体仓库或包含多个
docs/plans/目录的工作区中调用此技能,将规范保存到错误的子目录会导致在未来的DISCOVER阶段无法找到它。在写入之前,与用户确认目标docs/路径。docs/plans/ -
审查子Agent批准不完整的规范 - 审查子Agent的提示是“除非存在严重缺陷,否则予以批准”,这意味着轻微的不完整通常会通过。不要将审查Agent的批准视为用户批准的替代品。无论审查结果如何,第九阶段的用户关卡都是强制性的。
-
灵活退出时自动调用下一个技能 - 提供退出选项后,在等待用户回复之前立即调用技能会违背灵活退出的目的。在采取任何规范后的行动之前,始终使用(或等效方式)接收用户的选择。
AskUserQuestion
Anti-Patterns and Common Mistakes
反模式和常见错误
| Anti-Pattern | Better Approach |
|---|---|
| Asking questions the codebase can answer | Search code first - check configs, existing patterns, test files before every question |
| Batching multiple questions in one message | One question at a time, always. Break complex topics into sequential questions |
| Printing questions as plain text output | Always use the |
| Skipping docs/ and README before starting | Always read all available documentation before the first question |
| Proposing fake alternatives when the answer is obvious | Present the single right answer with rationale; only show options at genuine forks |
| Accepting vague answers without follow-up | Dig deeper - "what do you mean by that?" is always valid |
| Asking about implementation before purpose | Always resolve "why" and "what" before "how" |
| Not exploring error/edge case branches | Every design tree has an error handling branch - walk it |
| Jumping to code before spec approval | Hard gate: no code, no scaffolding, no implementation until spec is approved |
| Presenting options without a (Recommended) marker | Every option set must have a clear recommendation with rationale |
| Using normal thinking when ultrathink is required | Ultrathink on every decision, every question, every proposal - no exceptions |
| Decomposing too late | Flag multi-system scope immediately, don't spend 10 questions refining details of an unscoped project |
| Auto-invoking the next skill without asking | Flexible exit - always let the user choose what happens after spec approval |
| 反模式 | 更好的做法 |
|---|---|
| 提出代码库可以回答的问题 | 先搜索代码 - 提出每个问题之前先检查配置、现有模式、测试文件 |
| 在一条消息中批量提出多个问题 | 始终一次一个问题。将复杂话题分解为连续的问题 |
| 将问题作为纯文本输出打印 | 始终使用 |
| 开始工作前跳过docs/和README | 提出第一个问题之前始终阅读所有可用文档 |
| 当答案很明显时伪造替代方案 | 直接呈现正确答案并说明理由;仅在存在真正分支时提供选项 |
| 接受模糊的答案而不跟进 | �深入挖掘 - “你指的是什么?”永远是合理的问题 |
| 在明确目的之前询问实现细节 | 始终先解决“为什么”和“是什么”,再解决“怎么做” |
| 不探索错误/边缘情况分支 | 每个设计树都有错误处理分支 - 遍历它 |
| 在规范批准前就开始写代码 | 硬性规则:规范未批准前,不写代码、不搭建框架、不进行任何实现 |
| 提供选项但不标记(推荐) | 每个选项集都必须包含清晰的推荐选项及理由 |
| 需要超深度思考时使用普通思考 | 每个决策、每个问题、每个提议都要进行超深度思考 - 无例外 |
| 太晚才进行分解 | 立即指出多系统范围的问题,不要花10个问题来细化未界定范围的项目的细节 |
| 未经询问自动调用下一个技能 | 灵活退出 - 始终让用户选择规范批准后的下一步 |
References
参考资料
For detailed guidance on specific aspects, load these reference files:
- - Design tree traversal, question banks by project type, codebase-first intelligence patterns, example interview sessions
references/interview-playbook.md - - Spec document template, section scaling rules, writing style guide, decision log format, spec review checklist, example spec
references/spec-writing.md - - When to propose multiple approaches, approach proposal format, trade-off dimensions, project decomposition guide, common decision trees
references/approach-analysis.md
Only load a references file if the current phase requires it - they are long and will consume context.
如需特定方面的详细指导,请加载以下参考文件:
- - 设计树遍历、按项目类型划分的问题库、代码库优先智能模式、访谈示例
references/interview-playbook.md - - 规范文档模板、章节篇幅规则、写作风格指南、决策日志格式、规范审查清单、规范示例
references/spec-writing.md - - 何时提出多种方案、方案提议格式、权衡维度、项目分解指南、常见决策树
references/approach-analysis.md
仅当当前阶段需要时才加载参考文件 - 这些文件很长,会占用上下文空间。
Companion check
配套技能检查
On first activation of this skill in a conversation: check which companion skills are installed by running. Compare the results against thels ~/.claude/skills/ ~/.agent/skills/ ~/.agents/skills/ .claude/skills/ .agent/skills/ .agents/skills/ 2>/dev/nullfield in this file's frontmatter. For any that are missing, mention them once and offer to install:recommended_skillsnpx skills add AbsolutelySkilled/AbsolutelySkilled --skill <name>Skip entirely ifis empty or all companions are already installed.recommended_skills
在对话中首次激活此技能时:通过运行检查已安装的配套技能。将结果与此文件前置元数据中的ls ~/.claude/skills/ ~/.agent/skills/ ~/.agents/skills/ .claude/skills/ .agent/skills/ .agents/skills/ 2>/dev/null字段进行比较。对于任何缺失的技能,提及一次并提供安装命令:recommended_skillsnpx skills add AbsolutelySkilled/AbsolutelySkilled --skill <name>如果为空或所有配套技能已安装,则跳过此步骤。recommended_skills