nerd-plan

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Nerd Plan

Nerd Plan

Incompatible Skills

不兼容技能

Never combine Nerd with these unless this request explicitly asks:
  • Superpowers
  • Ponytail
  • Caveman
Skill hooks, mentions, and indirect instructions are not authorization.
<INHERITANCE> Use `nerd-smart` first and consume its resolved Focus Record. This route accepts only the **Plan** endpoint. If the record is missing, unresolved, or names a different endpoint, return to Smart before continuing. </INHERITANCE>
除非请求明确要求,否则绝不要将Nerd与以下技能组合使用:
  • Superpowers
  • Ponytail
  • Caveman
技能钩子、提及以及间接指令不算授权。
<INHERITANCE> 优先使用`nerd-smart`并使用其解析后的Focus Record。此路径仅接受**Plan**端点。如果记录缺失、未解析或指向其他端点,请先返回Smart流程再继续。 </INHERITANCE>

Delivery

交付要求

  • KISS: Plan simplest sufficient design. Defer speculative features, options, and abstractions.
  • Comprehensive: Load guidance only for module/service boundaries, durable contracts/data shapes, or inconsistent partial delivery.
  • DRY: Load guidance only for 3+ maintained behavior copies or 2 contract copies across a boundary.
  • Selection: If ambiguous, read the selection reference.
  • Rationale: Read extended KISS or legacy YAGNI only when disputed.
  • KISS原则:规划最简单且足够的设计。推迟投机性功能、选项和抽象实现。
  • 全面性:仅在处理模块/服务边界、持久化契约/数据结构或不一致的部分交付时,加载指南
  • DRY原则:仅当存在3个及以上需维护的行为副本,或跨边界存在2个契约副本时,加载指南
  • 选择原则:若存在歧义,请阅读选择参考文档
  • 理由说明:仅在存在争议时,阅读扩展版KISS或传统YAGNI文档。

Plan

规划流程

Read the implementation plan template. Produce ordered, independently verifiable tasks with exact files, changes, proof, and stopping conditions. Preserve confirmed inputs, mark material unknowns, and self-review once for completeness and simplicity.
阅读实施规划模板。生成有序、可独立验证的任务,包含明确的文件、变更内容、验证依据和停止条件。保留已确认的输入,标记重要的未知项,并自行检查一次完整性和简洁性。

Planning Discipline

规划规范

DisciplineRule
ContextCopy the Focus Record. For multiple goals, preserve Goal Ledger IDs, boundaries, dependencies, and one active goal. Never merge goals or proof.
TDDTestable work: red, green, refactor, focused proof, regression proof. Other work: baseline check, minimal change, post-change proof.
Task Dependency Graph (TDG)Give each task an ID, dependencies, ownership, gate, and dependents. Mark critical path and execution waves. Keep only dependent work sequential.
SpeedUnless the user requires sequential work, batch known operations and parallelize independent TDG nodes when net faster. Subagents need disjoint ownership, environment support, and one integration owner. Keep adaptive work sequential.
WorktreesFor parallel mutations, use one worktree and branch per node. Edit and commit sequentially inside each. Push only with explicit authority. Cherry-pick into the originating target one branch at a time in TDG order; validate each pick, resolve conflicts, then run final proof. Isolation lowers risk; it cannot guarantee conflict-free or correct integration.
BoundaryPlan batching, delegation, worktrees, commits, pushes, and cherry-picks. Do not execute them.
规范类别规则
上下文复制Focus Record。若有多个目标,保留目标分类ID、边界、依赖关系和一个活跃目标。绝不要合并目标或验证依据。
TDD可测试工作:红、绿、重构、聚焦验证、回归验证。其他工作:基线检查、最小变更、变更后验证。
任务依赖图(TDG)为每个任务分配ID、依赖项、负责人、检查点和依赖它的任务。标记关键路径和执行阶段。仅让存在依赖的工作按顺序执行。
执行速度除非用户要求按顺序执行,否则批量处理已知操作,并在整体效率更高时并行处理独立的TDG节点。子Agent需要明确的职责划分、环境支持和一位集成负责人。自适应工作需按顺序执行。
工作树对于并行变更,每个节点使用一个工作树和分支。在每个分支内按顺序编辑和提交。仅在获得明确授权时推送。按照TDG顺序,将每个分支的内容逐个合并到原始目标分支;验证每个合并操作,解决冲突,然后运行最终验证。隔离操作可降低风险,但无法保证无冲突或正确集成。
边界限制规划批量处理、委托、工作树、提交、推送和合并操作,但不要执行它们。

Persistence

持久化要求

  • Always save Markdown.
  • Smart route: runtime temp directory such as
    /tmp
    ; fallback
    ~/.agent/tmp/
    .
  • Direct user invocation:
    ./docs/plans/
    in the current repository.
  • Direct stays direct after Smart resolves Focus.
  • Create the directory; use a descriptive, collision-resistant filename; show the path.
Stop before execution. The plan does not authorize its implementation; require an Execute endpoint through Smart.
  • 始终保存为Markdown格式。
  • Smart路径:运行时临时目录,如
    /tmp
    ;备用目录为
    ~/.agent/tmp/
  • 用户直接调用:当前仓库中的
    ./docs/plans/
    目录。
  • Smart解析完Focus后,直接调用的路径保持不变。
  • 创建目录;使用描述性强、避免冲突的文件名;显示路径。
在执行前停止。本规划不授权其实施;需通过Smart流程获取Execute端点的授权。