plan
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePlan
计划
Create concrete plan files that can validate and turn into a DAG.
plan-graphUse this skill after the product or technical direction is stable enough to break into implementation work. If the direction is still fuzzy, use or first.
grill-with-docsvalidate-direction创建具体的计划文件,供 验证并转换为 DAG。
plan-graph当产品或技术方向已足够稳定,可以拆分为实施工作时,使用此 skill。如果方向仍不清晰,请先使用 或 。
grill-with-docsvalidate-directionOutput Location
输出位置
Write plans under:
text
.codex/plans/Use one file for small work. Use multiple files when work has independent lanes, a clear dependency chain, or separate ownership boundaries.
.plan.md.plan.md将计划文件写入:
text
.codex/plans/对于小型工作,使用一个 文件。当工作包含独立的工作线、清晰的依赖链或不同的所有权边界时,使用多个 文件。
.plan.md.plan.mdPlan Shape
计划结构
Each plan file must use the frontmatter contract:
plan-graphmarkdown
---
name: <short unique plan name>
overview: <one paragraph summary>
todos:
- id: <stable-id>
content: <concrete executable task>
status: pending
isProject: false
---每个计划文件必须遵循 frontmatter 契约:
plan-graphmarkdown
---
name: <short unique plan name>
overview: <one paragraph summary>
todos:
- id: <stable-id>
content: <concrete executable task>
status: pending
isProject: false
---<short unique plan name>
<short unique plan name>
Execution Notes
Execution Notes
<intent, context, accepted decisions, and useful references>
<intent, context, accepted decisions, and useful references>
Constraints
Constraints
<scope limits, compatibility requirements, files not to touch, rollout constraints>
<scope limits, compatibility requirements, files not to touch, rollout constraints>
Operator Guidance
Operator Guidance
<testing, sequencing, review notes, and when to use subagents>
Prefer stable kebab-case todo ids, for example `add-parser-tests`, `implement-parser`, `wire-cli`.<testing, sequencing, review notes, and when to use subagents>
优先使用稳定的 kebab-case todo id,例如 `add-parser-tests`、`implement-parser`、`wire-cli`。Workflow
工作流
- Read the PRD, issue, or brief.
- Read ,
CONTEXT.md, anddocs/adr/when present.docs/agents/domain.md - Identify natural work lanes:
- shared interface or schema work
- independent implementation modules
- tests and fixtures
- migrations or compatibility work
- documentation or rollout
- Choose one or more plan files.
- Make dependencies clear in plan structure:
- sequential todos inside one plan for tightly coupled work
- separate plan files for lanes that can run independently
- note explicit inter-plan dependencies in
Operator Guidance
- Keep todo text executable and reviewable. Each todo should describe one outcome, not a vague phase.
- Validate with before any subagent launch.
plan-graph
- 阅读 PRD、issue 或简报。
- 如果存在,阅读 、
CONTEXT.md和docs/adr/。docs/agents/domain.md - 识别自然划分的工作线:
- 共享接口或 schema 工作
- 独立实现模块
- 测试与 fixtures
- 迁移或兼容性工作
- 文档或发布工作
- 选择一个或多个计划文件。
- 在计划结构中明确依赖关系:
- 对于紧密耦合的工作,在同一个计划中使用顺序排列的 todos
- 对于可以独立执行的工作线,使用独立的计划文件
- 在 中注明明确的计划间依赖
Operator Guidance
- 保持 todo 文本可执行且可审查。每个 todo 应描述一个明确结果,而不是模糊的阶段。
- 在启动任何 subagent 之前,先使用 验证。
plan-graph
Boundaries
边界
- Do not spawn subagents from this skill. Planning produces files; orchestration comes later.
- Do not use a single huge plan when two independent lanes would graph cleanly.
- Do not create speculative tasks for work the PRD explicitly excludes.
- Do not mark todos unless the work is already done in the repo.
completed
- 此 skill 不得启动 subagent。规划只负责生成文件;编排随后进行。
- 当两个独立工作线能够清晰地形成图时,不要创建单个庞大的计划。
- 不要为 PRD 明确排除的工作创建推测性任务。
- 除非工作已在 repo 中完成,否则不要将 todo 标记为 。
completed
Next Step
下一步
Run , then inspect the DAG or frontier. Use only after the graph is valid and ownership boundaries are clear.
plan-graph validatesubagent-graph运行 ,然后检查 DAG 或 frontier。仅在图有效且所有权边界清晰后,才使用 。
plan-graph validatesubagent-graph