从脑到文档
karanmrn2026-10-26查看 593复制 86
当用户想要通过来回问答循环,将项目愿景、决策和偏好从头脑中提取为清晰的文档(README + ADR)时使用。触发词包括 "brain-to-docs"、"build out the docs"、"extract the vision"、"let's document this project"。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md1754 chars
--- name: brain-to-docs description: Use when the user wants to extract project vision, decisions, and preferences from his head into clear documentation (README + ADRs) through a back-and-forth Q&A loop. Triggers on "brain-to-docs", "build out the docs", "extract the vision", "let's document this project". --- # brain-to-docs The whole purpose: extract as much of the user's taste, judgment, knowledge, vision, preferences, and decisions as possible into text — saved as clear, concise markdown docs for the project. README holds the vision; `docs/adr/` holds the decisions. ## The loop 1. **Check docs first, every time.** Read `docs/adr/` (and `README.md`) before doing anything — other agents and people add/edit ADRs constantly. 2. **Ask 5 different questions** in plain text (never a questions UI) — default 5 unless the user asks for a different number. Make them high-variety: a wide, creative spectrum of unique angles, not all the same type (e.g. not all "tech stack" or all "product" or all "monetization"). Exception: if the user asks for a specific focus area, follow it. The user answers whichever he finds most useful. 3. **Update docs after EVERY answer** — no exceptions. You decide whether it updates `README.md` or becomes a new ADR — whatever makes sense. 4. Repeat until the user says "we're done" (or similar). ## Rules - All answers & responses during this "brain to docs" process must be VERY CONCISE, all sentences should be SHORT, and everything should be written in PLAIN ENGLISH. - ADRs: short, numbered `NNNN-slug.md`, Status + Context + Decision + Consequences. - README: vision only. Decisions go in ADRs. - Don't challenge the user's thinking unless he asks, or he's making a severe mistake.