planning-and-task-breakdown
Skill3 starsChanged 7 months agoMITView on GitHub
Decompose a spec into a verifiable task list — vertical slices, explicit dependencies, per-task acceptance criteria. Use when the user says "break this down", "task list", "make a plan", "what are the steps", or invokes /plan. End with `jutsu swarm doc-review <plan.md>` to surface gaps before tasks are considered ready for implementation.
47 other projects use a version of this.
Adopted by
Most recently taken up by
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
- addyosmani/agent-skillstheir own version, first seen Oct 3, 2026
- weisser-dev/agentic-skillstheir own version, first seen Oct 3, 2026
- charliesbot/skillstheir own version, first seen Sep 27, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
- richardkuo2002/gaterail-skilltheir own version, first seen Sep 21, 2026
Used with
Projects with it also use constraint-driven-development, deprecation-and-migration and 8 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.
vinvcnSkillconstraint-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
az9713Skilldeprecation-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
galandoSkillsource-driven-development
Version-aware, source-driven development — fetch official docs before writing framework code
Also in 19 projects that use this
borhen68Skillobservability-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-hqSkilldoubt-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
luischanciSkillinterview-me
Interactive interview to formalize a research idea into a structured specification with hypotheses and empirical strategy.
Also in 12 projects that use this
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 47
- addyosmani/agent-skills★ 101ksame name
- shashankswe2020-ux/whoop-mcp★ 165same name
- tranhieutt/software_development_department★ 72same name
- az9713/addyosmani-agent-skills★ 38same name
- vinvcn/addyosmani-agent-skills-zh★ 38same name
- jmxt3/gitscape.ai★ 32same name
- pimenov/codex-first-skills-pack★ 25same name
- sampleXbro/agentsmesh★ 25same name
- ishandutta2007/Awesome-Agent-Skills★ 21same name
- HiAi-gg/hiai-opencode★ 18same name
37 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-simplificationSkill
- dcgSkill
- editorial-reviewSkill
- journalSkill
- readme-updateSkill
- security-and-hardeningSkill
- session-retroSkill
- autopilotSkill
- blunder-huntSkill
- brainstormSkill
- convergence-detectSkill
- deslopSkill
- dispatch-parallelSkill
- doc-reviewSkill
- dreamSkill
- incremental-implementationSkill
- polishSkill
- pr-reviewSkill
- refactor-planSkill
- scope-checkSkill
- security-auditSkill
- spec-driven-developmentSkill
- unstuckSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 45 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Before defining slices, list every file the implementation will create or modify and the responsibility of each.
- Distinctive: line 58
If a file you'd modify has grown unwieldy, including a split in the plan is reasonable
- Very specific: line 123
Run the plan through doc-review — kaijutsu's universal QA gate that orchestrates claude / codex / antigravity in parallel with prose-tuned …
- Distinctive: line 137
Read the disagreement table FIRST.
- Distinctive: line 140
Stop when the table shows zero issue-level findings or only contested-minor / info rows.
- Very specific: line 144
After doc-review converges, compose scope-check to classify each slice by reasoning space (plan / bead / code) per the cost-tier model.
- Very specific: line 146
If jutsu swarm doc-review fails with "unknown preset", the doc-review skill isn't installed — jutsu install doc-review and retry.
- Distinctive: line 165
No slice exceeds 500 LOC estimate: If it does, split.
- Distinctive: line 166
No "TBD" acceptance criteria: Every slice has concrete, observable success conditions before implementation begins.
“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.
Files
Planning + Task Breakdown
Adapted from
addyosmani/agent-skillsunder the MIT License. Copyright (c) Addy Osmani. Plan-doc header template + bite-sized step granularity + file-structure-up-front section adapted fromobra/superpowers/skills/writing-plansunder MIT. Final review pass migrated tojutsu swarm doc-review(the Phase-2 universal QA gate).
A plan is the bridge between a spec and an implementation. The deliverable is a markdown file with vertical-slice tasks, each individually shippable.
When to invoke
- A spec exists (see
spec-driven-development) and the user wants to start work - The user says "what are the steps" / "how do we approach this" / "task list"
- A change spans >5 files or >500 LOC
Plan document header (every plan must start with this)
# <Feature Name> Implementation Plan
**Spec:** `docs/specs/<spec-file>.md`
**Goal:** <one sentence — what this builds>
**Architecture:** <2-3 sentences — approach + key invariants>
**Tech Stack:** <key libs / frameworks / files>
> **For implementers (human or agent):** execute this plan task-by-task with `subagent-driven-development` (recommended) or `executing-plans` (separate-session mode). Steps use checkbox (`- [ ]`) syntax for tracking.
---The implementer needs to know WHY before HOW. The header is non-negotiable.
Process
Step 1: Read the spec
Locate the spec file (usually docs/specs/<latest>.md). If no spec exists, refuse — invoke spec-driven-development first.
Step 2: Map the file structure UPFRONT
Before defining slices, list every file the implementation will create or modify and the responsibility of each. Decomposition decisions get locked in here.
## File structure
- `cli/internal/findings/store.go` — SQLite handle + migration loader (NEW)
- `cli/internal/findings/migrations/0001_init.sql` — v1 schema (NEW)
- `cli/internal/findings/store_test.go` — Open / Close / migration idempotency (NEW)
- `cli/internal/cli/swarm.go` — post-FanOut hook (MODIFY ~line 484)Rules:
- Each file = one clear responsibility
- Files that change together live together (split by responsibility, not by tech layer)
- In existing codebases, follow established patterns — don't unilaterally restructure
- If a file you'd modify has grown unwieldy, including a split in the plan is reasonable
Revision protocol. Files emerge during implementation. The structure section captures what's KNOWN at planning time, not a frozen contract. When a slice surfaces a new file, update this section in the same commit that introduces the file — the plan stays a current map, not a stale snapshot. The plan-doc is mutable through the implementation phase; only its acceptance criteria are immutable post-approval.
The implementer reads this and knows the surface area before reading any task.
Step 3: Decompose into vertical slices
Each slice:
- Touches every layer it needs (UI / API / DB / tests / docs)
- Is independently shippable, possibly behind a flag
- Has its own acceptance criteria
- Estimates at <500 LOC, <1 day, <5 files
3-7 slices is the sweet spot. Fewer = you're not slicing enough; more = the spec is too big.
Step 4: Map dependencies
Make the DAG explicit:
Slice 1: <describe> — depends on: nothing
Slice 2: <describe> — depends on: slice 1
Slice 3: <describe> — depends on: nothing (parallel with 1+2)
...Identify the critical path (longest chain). Any slices off the critical path can be assigned in parallel.
Step 5: Bite-sized steps inside each slice
Per-slice acceptance is necessary but not sufficient. Each slice ALSO carries a checklist of 2-5-minute steps the implementer (or a subagent in subagent-driven-development mode) executes in order. The implementer should never need to invent the next step.
### Slice N: <title>
**Files:**
- Create: `cli/internal/findings/store.go`
- Modify: `cli/internal/cli/swarm.go:484-492`
- Test: `cli/internal/findings/store_test.go`
**Acceptance:**
- [ ] Open() creates DB at $HOME/.kaijutsu/findings.db with mode 0600
- [ ] Schema migration applies once; re-Open is a no-op
- [ ] Tests pass
**Steps:**
- [ ] Write the failing test for Open() / Close()
- [ ] Run: `go test ./internal/findings/` — confirm RED
- [ ] Implement minimal Store{} + Open() + Close()
- [ ] Run tests; confirm GREEN
- [ ] Add migration loader + 0001_init.sql
- [ ] Add re-open idempotency test
- [ ] Run tests; confirm GREEN
- [ ] Commit with message `feat(findings): Stage N — SQLite store`Each step = one action. Target 2-5 min per step where the work decomposes cleanly. Some steps are inherently longer (designing a DB schema, writing a non-trivial migration, a hand-written algorithm) — that's fine; aim for atomicity-of-intent over wall-clock budget. The signal that a step is too big: if you can't articulate "step done = <observable thing>", split it. DRY / YAGNI / TDD / frequent commits are the bias. The implementer reads the steps top-to-bottom and never has to ask "what's next?"
Step 6: Write to disk
Save to docs/plans/YYYY-MM-DD-<short-slug>.md (or wherever the project's plan convention dictates).
Step 7: Multi-agent review (DO NOT skip)
Run the plan through doc-review — kaijutsu's universal QA gate that orchestrates claude / codex / antigravity in parallel with prose-tuned lenses:
jutsu swarm doc-review docs/plans/<filename>.md(or via the skill wrapper: ~/.claude/skills/doc-review/scripts/run.sh docs/plans/<filename>.md)
Three lenses each surface different planning failure modes:
- claude (completeness) — missing dependencies between slices, hidden state assumptions, unfalsifiable acceptance criteria
- codex (implementability) — slices that are "actually two", vague success conditions, untestable steps
- antigravity (consistency) — drift from the parent spec, contradictions between slice acceptance and DAG order, missing references
Iterate findings:
- Read the disagreement table FIRST. 1/N findings are conversation-starters worth investigating.
- Fix issue-level findings + consensus minors.
- Re-save the plan. Re-run
jutsu swarm doc-reviewif substantive (or--replay <key>for free synthesis re-render after prompt-tuning). - Stop when the table shows zero issue-level findings or only contested-minor / info rows.
Step 8: Cost-tier classification
After doc-review converges, compose scope-check to classify each slice by reasoning space (plan / bead / code) per the cost-tier model. This is per-slice metadata for the implementer, not a review pass.
If jutsu swarm doc-review fails with "unknown preset", the doc-review skill isn't installed — jutsu install doc-review and retry. (doc-review is in this skill's deps.skills so a full jutsu install planning-and-task-breakdown should pull it transitively.)
Version constraint note: this skill's deps.skills pins doc-review@^0.1. When doc-review v0.2.0 ships, transitive installs of this skill won't pick it up automatically. If you need the newer version, install it explicitly with jutsu install doc-review@^0.2.
Anti-rationalization table
| Excuse | Rebuttal |
| "I'll figure out the slices as I go" | Slices that emerge mid-implementation become accidentally non-shippable. Plan upfront. |
| "Acceptance criteria slow things down" | Acceptance criteria PREVENT slow things — they prevent the "done? not done?" debate at PR time. |
| "Dependencies are obvious" | They're obvious to the agent that wrote the plan. Future-you / collaborators read the DAG to parallelize. |
| "We'll skip the review" | Plans without review consistently produce slices that block on each other or balloon past 500 LOC. The review IS the deliverable. |
| "doc-review costs money / I'll skip it" | Bounded by --max-cost (default $1.00). The cost of catching a bad slice at plan time is 5–20× cheaper than catching it at PR time. |
Hard rules
- The plan is the deliverable. Implementation happens in a separate session, after the user approves the plan.
- doc-review is non-negotiable. A plan that hasn't been multi-agent-reviewed is a draft.
- Save to disk. Conversation plans evaporate. File plans survive.
- No slice exceeds 500 LOC estimate. If it does, split.
- No "TBD" acceptance criteria. Every slice has concrete, observable success conditions before implementation begins.
Composes
doc-review— universal multi-agent QA gate; prose-tuned lenses for the final review.scope-check— cost-tier classification per slice; flags creep risks. Runs AFTER doc-review converges, not as a review pass itself.
When NOT to use
- Single-file change where the diff IS the plan
- True experiment / prototype the user explicitly framed as throwaway
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
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.

