agentleFS
LazyIsEfficientLazyIsEfficient/agentic-os/.claude/skills/planning-and-task-breakdown/SKILL.md

planning-and-task-breakdown

Skill17 starsChanged 5 months agoMITView on GitHub

Breaks work into ordered, parallel-dispatchable tasks with an execution DAG. Output format is consumable by CI matrices and parallel agent runners — each task has a stable ID, declared file writes, conflict edges, and branch suffix. Use when you have a spec, brief, or shaper output and need to decompose it into implementable units. Use when a task feels too large, when scope spans multi-repo or multi-week work, or when parallel execution across multiple agents is on the table.

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use constraint-driven-development, deprecation-and-migration and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vinvcnSkill

    constraint-driven-development

    把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。

    Also in 4 projects that use this

  • az9713Skill

    deprecation-and-migration

    Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.

    Also in 19 projects that use this

  • galandoSkill

    source-driven-development

    Version-aware, source-driven development — fetch official docs before writing framework code

    Also in 19 projects that use this

  • az9713Skill

    code-simplification

    Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

    Also in 23 projects that use this

  • borhen68Skill

    observability-and-instrumentation

    Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.

    Also in 8 projects that use this

  • mycelium-hqSkill

    doubt-driven-development

    Use when correctness matters more than speed: about to commit non-trivial code, make an architectural call under uncertainty, work in unfamiliar code, or assert what the compiler cannot check (''this is safe'', ''thread-safe'', ''this scales'', ''matches the spec''). Strongest on high-stakes surfaces (production deploys, security-sensitive logic, data migrations, irreversible operations) and when the user asks to sanity-check, red-team, double-check, or get a second opinion on a decision.

    Also in 12 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 1 is common, 4 are distinctive, and 2 are very specific to this project.

  • 1

    Common

    Most of the 45 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After a /shape brief covering multi-repo, multi-week, or multi-slice work

    line 17
  2. Distinctive:

    When a spec or task feels too large to start in one session

    line 18
  3. Distinctive:

    When work needs to parallelize across agents or sessions

    line 19
  4. Distinctive:

    When implementation order isn't obvious

    line 20
  5. Distinctive:

    Plan mode: Read in read-only mode. Map dependencies, note risks.

    line 26
  6. Very specific:

    Stable IDs, never renumbered: Use content-based slugs (T-auth-schema).

    line 35
  7. Common:

    Before starting implementation, confirm:

    line 53

“Common” is measured: kept by at least 6 in 10 of the 45 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Planning and Task Breakdown

Decompose work into small, verifiable tasks with a parallel-dispatchable structure. The output is a plan document — never code — that downstream runners (CI matrices, single-agent execution sessions) consume to do the work.

When to use

  • After a /shape brief covering multi-repo, multi-week, or multi-slice work
  • When a spec or task feels too large to start in one session
  • When work needs to parallelize across agents or sessions
  • When implementation order isn't obvious

When not to use. Single-file changes with obvious scope, or specs that already contain well-defined tasks.

The planning process

  1. Plan mode. Read in read-only mode. Map dependencies, note risks. Do not write code during planning.
  2. Identify the dependency graph. Bottom-up — foundations first.
  3. Slice vertically. Each task is a feature path through every layer it needs (schema + API + UI), not a horizontal layer of the system. Horizontal slicing produces half-finished branches.
  4. Write task blocks. Each task is YAML frontmatter (id, depends_on, parallel_safe, conflicts_with, files_write, files_read, branch_suffix, scope) plus prose (description, acceptance, verification). Format and field semantics: references/task-block-format.md.
  5. Order and checkpoint. Phases are presentational; the DAG is the execution order. Checkpoints are synchronization barriers — dispatch pauses until they clear.
  6. Declare the Execution DAG. Top-of-document summary of edges using → and ||. Format and dispatcher contract: references/execution-dag.md.

Universal rules

  • Stable IDs, never renumbered. Use content-based slugs (T-auth-schema). Renumbering breaks every reference. Retire dropped IDs rather than reusing them.
  • files_write is authoritative, not advisory. The dispatcher uses it for conflict detection. Under-declare → parallel collisions; over-declare → false serialization.
  • The DAG is a summary, not the source of truth. Per-task depends_on is authoritative. The verification checklist enforces that they agree.
  • Day-zero ready set must be non-empty. At least one task has depends_on: []. If none do, the plan is malformed.
  • scope: L must be split before dispatch. Agents perform best on XS / S / M.
  • Plan, do not implement. This skill never writes code. The output is a plan document; execution is a separate step.
  • Every plan carries a **Status:** line. Lifecycle proposed → in-progress → shipped | superseded. A fresh plan starts at proposed; keep it current as the work moves. It is the signal for retiring completed plans (prune shipped/superseded plans manually), so an unmarked plan never gets recognized as done. See assets/plan-document-template.md.

References

  • references/task-block-format.md — per-task YAML frontmatter and prose structure, field-by-field semantics
  • references/execution-dag.md — DAG syntax, dispatcher contract, checkpoints, worked example
  • assets/plan-document-template.md — full document template
  • references/parallelization-decisions.md — when to set each YAML field; contract-first, barrel-file, migration patterns
  • references/task-sizing-and-redflags.md — sizing table, when to split, common rationalizations, red flags

Verification

Before starting implementation, confirm:

  • The plan has a **Status:** line (a fresh plan starts at proposed)
  • Every task has a stable id (content-based slug, not a number)
  • Every task has acceptance criteria and a verification step
  • Every task declares depends_on, parallel_safe, files_write
  • Every pair of tasks whose files_write overlap is in each other's conflicts_with
  • At least one task has depends_on: [] (a non-empty day-zero ready set)
  • No task is scope: L (split it before dispatch)
  • No task touches more than ~5 files
  • The Execution DAG matches the per-task depends_on (no orphan IDs, no missing edges)
  • Checkpoints exist between major phases and are referenced in the DAG
  • The human has reviewed and approved the plan

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.