brain
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBrain
Brain
Persistent memory across sessions. Obsidian vault at .
brain/The brain is the foundation of the entire workflow — every agent, skill, and session reads it. Low-quality or speculative content degrades everything downstream. Before adding anything, ask: "Does this genuinely improve how the system operates?" If the answer isn't a clear yes, don't write it.
跨会话的持久化记忆。Obsidian库位于目录。
brain/Brain是整个工作流的基础——所有Agent、Skill和会话都会读取它。低质量或推测性内容会影响下游所有环节。在添加任何内容之前,请先问自己:"这是否真的能改善系统的运行方式?"如果答案不是明确的"是",就不要写入。
Before Writing
写入前准备
Read first. Then read the relevant entrypoint for your topic:
brain/index.md- for principle updates
brain/principles.md - for plan-related notes
brain/plans/index.md
For directories without a dedicated index file yet (, ), scan nearby files directly and edit an existing note when possible.
brain/codebase/brain/audits/请先阅读。然后阅读与你的主题相关的入口文件:
brain/index.md- 若要更新原则,请查看
brain/principles.md - 若要添加计划相关笔记,请查看
brain/plans/index.md
对于尚未有专用索引文件的目录(如、),请直接浏览附近的文件,并尽可能编辑现有笔记。
brain/codebase/brain/audits/Structure
结构
brain/
├── index.md ← root entry point, links to everything
├── principles.md ← index for principles/
├── todos.md ← product backlog
├── vision.md ← elevator pitch + link to architecture
├── architecture.md ← full technical reference
├── principles/ ← engineering and design principles
├── codebase/ ← project-specific knowledge and gotchas
├── plans/ ← numbered feature plans (02-arrow-bindings/, etc.)
└── audits/ ← design and quality audits (date-prefixed filenames, e.g. 2026-02-20-quality-audit.md)Rules:
- One topic per file. , not a mega-file.
brain/codebase/noodle-spawn-gotchas.md - Maintain existing index entrypoints: ,
brain/index.md,brain/principles.md.brain/plans/index.md - If you introduce a new top-level category, add an index-style entrypoint for it (links only, no inlined content).
- is the root. Every brain file must be reachable from it.
brain/index.md - File names: lowercase, hyphenated. .
worktree-gotchas.md - Plan directories: prefixed with the todo ID from .
brain/todos.mdwith02-arrow-bindings/andoverview.mdinside.phase-N-*.md
brain/
├── index.md ← 根入口文件,链接到所有内容
├── principles.md ← principles/目录的索引
├── todos.md ← 产品待办事项列表
├── vision.md ← 电梯游说文案 + 架构链接
├── architecture.md ← 完整技术参考文档
├── principles/ ← 工程与设计原则
├── codebase/ ← 项目专属知识与注意事项
├── plans/ ← 编号的功能计划(如02-arrow-bindings/等)
└── audits/ ← 设计与质量审计(文件名以日期为前缀,例如2026-02-20-quality-audit.md)规则:
- 每个文件对应一个主题。例如使用,而非大文件。
brain/codebase/noodle-spawn-gotchas.md - 维护现有索引入口文件:、
brain/index.md、brain/principles.md。brain/plans/index.md - 若新增顶级分类,请为其添加索引式入口文件(仅包含链接,无内嵌内容)。
- 是根入口,所有Brain文件必须能从这里访问到。
brain/index.md - 文件名:小写,连字符分隔。例如。
worktree-gotchas.md - 计划目录:以中的待办事项ID为前缀。例如
brain/todos.md目录下包含02-arrow-bindings/和overview.md文件。phase-N-*.md
Wikilinks
维基链接
Format: . Resolution order: same directory, then relative path, then vault root. Heading anchors () are stripped during resolution.
[[section/file-name]][[file#heading]]格式:。解析顺序:同一目录 → 相对路径 → 库根目录。解析时会移除标题锚点()。
[[section/file-name]][[file#heading]]Writing Style
写作风格
- Bullets over prose. No preamble.
- Plain markdown with . No Obsidian frontmatter.
# Title - Keep notes under ~50 lines. Split if longer.
- 优先使用项目符号,而非散文式叙述。无需开场白。
- 使用纯Markdown格式,仅保留。不要添加Obsidian前置元数据。
# 标题 - 笔记长度控制在约50行以内,过长请拆分。
After Writing
写入后操作
Update for any files you added or removed. Also update the relevant entrypoint (, , or ) when applicable. Keep indexes link-only and scannable.
brain/index.mdbrain/principles.mdbrain/delegation.mdbrain/plans/index.md若添加或删除了文件,请更新。同时,若适用,请更新相关入口文件(、或)。索引文件仅保留链接,确保易读易扫描。
brain/index.mdbrain/principles.mdbrain/delegation.mdbrain/plans/index.mdDurability Test
耐久性测试
Ask: "Would I include this in a prompt for a different task?"
- Yes → write to . It's durable knowledge.
brain/ - No, it's plan-specific → update the plan's phase doc instead.
- No, it's a skill issue → update the skill file directly.
- No, it needs follow-up work → file a todo with the skill.
todo
请自问:"我会在其他任务的提示词中包含这段内容吗?"
- 是 → 写入目录。这是持久性知识。
brain/ - 否,仅针对特定计划 → 请更新该计划的阶段文档。
- 否,属于Skill问题 → 直接更新Skill文件。
- 否,需要后续工作 → 使用Skill创建待办事项。
todo
Maintenance
维护
- Delete outdated or subsumed notes.
- Delete random-named files in — stale plan-mode artifacts.
brain/plans/ - Merge overlapping notes before adding new ones.
- 删除过时或已被替代的笔记。
- 删除目录下的随机命名文件——这些是过期的计划模式产物。
brain/plans/ - 在添加新笔记前,合并重叠的内容。