/autopilot:autopilot-brainstormfrom autopilot
Guides requirement exploration during the design phase by clarifying user intent, proposing 2-3 options, and outputting consensus to brainstorm.md before handing off to the main skill.
Ships in autopilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
在写任何设计文档之前,通过自然的协作对话将用户意图转化为清晰共识。逐个澄清问题,提出 2-3 种方案,输出 brainstorm.md 后交回主 skill 接力。
在输出 brainstorm.md 之前,禁止写设计文档、禁止更新 state.md 的 ## 设计文档 / ## 实现计划区域、禁止调用任何实现 skill。无论任务看起来多简单,都必须完整走完探索流程。每个任务都必须走这个流程——一个配置改动、一个工具函数、一个"明显"的需求。"简单"是返工的根源:未经检验的假设在小任务里造成最多浪费。探索可以很短(真正简单的任务 2-3 个问题即可),但必须走完。
你必须为以下每项创建 Task 并依序完成:
.autopilot/knowledge/references/visual-companion-guide.md)$TASK_DIR/brainstorm.md,然后退出,由主 skill 接力写设计文档理解用户意图:
历史知识消费(<=15s,最多 3 个文件;本会话已加载过的条目直接复用,不重复 Read):
.autopilot/knowledge/ 存在时两跳发现:有 index.md → 用目标关键词匹配 tags 按需加载命中文件 + ls inbox/ 按需读未收编条目;无 index.md → 全量加载 decisions.md + patterns.md。目录不存在或无匹配条目则跳过,不阻断。消费方式:
探索方案:
视觉伴侣(可选):
评估后续问题是否涉及视觉内容时,单独一条消息征求同意:
"后续可能涉及视觉内容(mockup、布局对比等),可以在浏览器中展示。需要启用视觉伴侣吗?"
用户同意后参见 references/visual-companion-guide.md 操作。判断标准:
写入 $TASK_DIR/brainstorm.md(task_dir 从 frontmatter 读取):
## 探索的目的与约束
(用户目标一句话 + 项目上下文探索关键发现 + 明确约束 + 相关历史知识条目及沿用/冲突结论;无命中写 N/A)
## 候选方案与权衡
### 方案 A:...
- 优势:...
- 劣势:...
### 方案 B:...
- 优势:...
- 劣势:...
### 方案 C(如有):...
## 选择与理由
选定方案:X
选择理由:...
被排除方案及原因:...
## 待主 SKILL 接力的设计决策
(列出用户已确认的决策、关键约束、需要在设计文档中深化的点)
必须遵守:
task_dir,将 brainstorm.md 写入 $TASK_DIR/brainstorm.md/autopilot:autopilot-brainstorm 直接调用)时:task_dir 落点先判 worktree([[ -f .git ]] 为真即在 worktree):
.autopilot/runtime/requirements/<slug>.autopilot/runtime/sessions/<worktree名>/requirements/<slug>(worktree 名 = basename "$(git rev-parse --show-toplevel)")。严禁写 .autopilot/runtime/requirements/——worktree 里它是指向主仓的 symlink,隔离会话的 Write/Edit 会被 harness 守卫拒绝("isolated in the worktree"),Bash 绕写等于污染主仓共享目录YYYYMMDD-<任务关键词>(参考 task_dir 同级已有目录命名)。严禁写到顶层 .autopilot/requirements/:那是 v3.35 前旧路径,已被 .gitignore 拦截,落那里等于丢失产物(不入库、主流程读不到)phase、gate 等字段由主 skill 控制)## 设计文档 或 ## 实现计划 区域What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub strzhao/autopilot --plugin autopilot5 skills in this plugin
/autopilot当用户需要从目标描述到代码合并的端到端自动化、或说"自动驾驶"时使用。/autopilot-commit当用户需要提交代码、运行 git commit、或说"提交"时使用。/autopilot-doctor诊断项目工程健康度,评估 autopilot 兼容性并提供改进建议。当用户说"诊断"、"doctor"、"工程健康"、"为什么 autopilot 效果不好"时使用。/autopilot-project管理 autopilot 项目模式的任务 DAG。当用户运行 /autopilot status(有项目时)或 /autopilot next 时提供上下文参考。Other plugins' skills for the same job