一键导入
planning-and-task-breakdown
Use only when the user explicitly requests task decomposition, estimates, or an implementation plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use only when the user explicitly requests task decomposition, estimates, or an implementation plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use only when the user requests a code review or a dedicated pre-merge review; do not add it automatically after implementation.
Use only when the user explicitly requests simplification or a behavior-preserving clarity refactor.
Use only when the user requests context/rule optimization or an explicit session-recovery and handoff task; never use solely because a session starts.
Use only when the user explicitly requests documentation, an ADR, or an architecture-decision record; not for routine implementation notes.
Use only when the user explicitly requests adversarial review or a named high-risk decision needs an independent challenge; never for every unfamiliar task.
Use only when the user explicitly asks to ideate, refine an idea, or stress-test a plan before committing to it.
| name | planning-and-task-breakdown |
| description | Use only when the user explicitly requests an implementation plan, task decomposition, estimate, dependency map, or delivery sequence. For specification workstreams, create a compact plan index plus one separate self-contained Markdown task packet for every executable task so implementation does not preload the full specification; do not invoke automatically for routine coding. |
Plan from a measurable user outcome to independently verifiable delivery
slices. Treat planning as decomposition: task packets are the executable
artifacts, while plan.md is only their ordered index.
AGENTS.md files and
the task packet contract.docs/specs/<slug>/ bundle. Ask when more than one
specification could own the work.Do not write production code during planning.
State:
Prefer this order when applicable:
Do not schedule downstream UI or orchestration against an undefined contract. Slice vertically when a small end-to-end behavior can be independently verified. Use contract-first or risk-first slices when shared contracts or private-provider uncertainty would otherwise invalidate later work.
Create one docs/specs/<slug>/tasks/NN_<slug>.md file for every executable
task. Make each packet self-contained according to the task packet contract.
Every packet must include:
todo.md and handoff.md;Keep a packet small enough for one focused implementation session and normally no more than about five changed files. Split work that crosses independent subsystems, has more than one separately observable outcome, or cannot be verified independently. Use estimate ranges and state uncertainty drivers instead of false precision.
Each packet is an implementation invocation boundary. Completing it requires a review or preview pause. Do not plan automatic progression into the next packet.
Include every task-local requirement directly in the packet. Link exact
specification headings and acceptance IDs for traceability, but do not require
the implementer to read spec.md before starting.
After writing the packets:
plan.md, links/state in todo.md, and
current continuation context in handoff.md.# Implementation Plan: Feature Name
## Goal And Success Measure
## Ordered Task Index
| Task | Outcome | Dependencies | Coverage |
| --------------------- | ------------------ | ------------ | ------------- |
| [01 Task](01_task.md) | Observable outcome | None | REQ-01, AC-01 |
## Cross-Task Risks And Blockers
## Parallelization And Checkpoints
## Final Verification
Create or update together:
docs/specs/<slug>/tasks/plan.md;docs/specs/<slug>/tasks/todo.md;docs/specs/<slug>/tasks/handoff.md;Apply .agents/references/definition-of-done.md. Before implementation, confirm
that every packet is independently verifiable, dependencies are ordered,
coverage is complete, and the human has approved the plan.