关于 planning-and-task-breakdown
按照 `spec-driven-workflow`(`workflow/SPEC.md`、`workflow/PLAN.md`,以及视情况使用的 `workflow/TASKS.md`)规划执行,并将复杂工作拆分为有序、可验证的任务。将规范转化为具体执行计划、界定大型或模糊工作的范围、梳理依赖关系,或准备可并行任务时使用此技能。
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ alexbruno/ dev-skills --skill planning-and-task-breakdown安装后在 Claude Code 中输入/planning-and-task-breakdown确认已加载。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Planning & Task Breakdown
Decompose specifications into clear execution steps (workflow/PLAN.md) and, when warranted, small verifiable tasks (workflow/TASKS.md) before writing any implementation code.
Language & Architecture Agnostic: This skill applies to any technology stack, domain, or project structure. Reason in terms of deliverables, boundaries, dependencies, and verification—never assume specific languages, frameworks, or architectural patterns.
Core Rule
Plan in read-only mode. Explore the repository, map dependencies, and write the plan before modifying any deliverable files. Do not start implementing while planning.
When to Apply
- Translating
workflow/SPEC.mdinto an actionable execution plan (workflow/PLAN.md). - Work feels too large, ambiguous, or multi-faceted to execute in a single pass.
- Multiple independent deliverables or parallel/asynchronous agent executions are possible.
- Skip formal breakdown for trivial, single-step edits where planning adds no value.
Planning Process
1. Ground in workflow/SPEC.md
- Read
workflow/SPEC.md(orworkflow/<change-slug>/SPEC.mdfor scoped initiatives).- If
SPEC.mddoes not exist yet for a non-trivial change, create and align onSPEC.mdfirst.
- If
- Confirm goals, non-goals, constraints, and acceptance criteria are unambiguous. Surface open questions before committing to a plan.
2. Explore & Map Dependencies (Read-Only)
- Inspect the relevant areas of the repository (preferring indexed context if
codebase-indexingis active). - Identify affected components, shared boundaries, and external constraints.
- Map the dependency graph: determine what blocks what, which steps must run sequentially, and which units are truly independent.
3. Author workflow/PLAN.md
Create or update workflow/PLAN.md (initializing workflow/ if missing):
- Reference
SPEC.mdrequirements rather than duplicating them. - Order steps logically—tackle high-risk or high-uncertainty unknowns early.
- Define a concrete Verification Strategy (automated checks, validations, or manual verification) for each step and for the overall change.
- Note risks and rollback considerations.
4. Shard into workflow/TASKS.md (Conditional)
Create workflow/TASKS.md only when at least one spec-driven-workflow trigger applies:
PLAN.mdis too large or comprehensive to execute cleanly in a single pass.PLAN.mdspans two or more distinct scopes, task types (feature,bugfix,refactor,docs), or independent deliverables that benefit from separate tracking.- Work can be split into independent units executed in parallel or asynchronously by different agents or contributors.
When creating TASKS.md, ensure every task has:
- Unique ID & Type (e.g.,
T1,feature|bugfix|refactor|docs|chore). - Explicit Dependencies: Clearly state blocking task IDs (or
None). - Disjoint Scope: Assign non-overlapping files or modules to parallel tasks to prevent merge conflicts.
- Objective Done Criteria: Concrete, verifiable conditions that prove the task is complete.
Quality Checklist
Before handing off PLAN.md (and TASKS.md) for execution:
- Every requirement and acceptance criterion in
workflow/SPEC.mdis covered by at least one step or task. - No circular dependencies exist, and parallel tasks have non-overlapping scopes.
- Every step/task is small enough to implement and verify in a single focused pass.
- No implementation code has been written prematurely during the planning phase.