task-decomposition
Skill2 starsChanged 2 months agoMITView on GitHub
Break down a feature or requirement into independently completable, estimated, dependency-mapped tasks.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- baekenough/oh-my-customcodetheir own version, first seen Oct 3, 2026
- aws-solutions/konductortheir own version, first seen Sep 23, 2026
- adamentwistle/fable-skillstheir own version, first seen Sep 3, 2026
- michaelalber/ai-toolkittheir own version, first seen Jul 30, 2026
- Lukasbrujula/claude-code-frameworktheir own version, first seen Jul 6, 2026
- d-oit/rust-2026-templatetheir own version, first seen Jun 16, 2026
Used with
Projects with it also use git-workflow.
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.
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- Owl-Listener/ai-design-skills★ 178same name
- adamentwistle/fable-skills★ 98same name
- charliehzm/medharness★ 86same name
- DevelopersGlobal/ai-agent-skills★ 69same name
- baekenough/oh-my-customcode★ 43same name
- CodeAndCanvasLabs/Daemora★ 16same name
- vshrinath/virtual-product-factory★ 16same name
- d-oit/rust-2026-template★ 11same name
- aws-solutions/konductor★ 9same name
- hieutrtr/ai1-skills★ 8same name
4 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 repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- journal-management-genericSkill
- simplified-technical-englishSkill
- code-implementationSkill
- python-quality-gatesSkill
- journal-managementSkill
- plan-trackingSkill
- project-notesSkill
- task-routingSkill
- herdrSkill
- plan-output-templateSkill
- risk-and-dependency-identificationSkill
- source-selectionSkill
- code-review-checklistSkill
- production-issue-flaggingSkill
- regression-identificationSkill
- test-case-structureSkill
- test-strategy-selectionSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Stop decomposing when ALL of these are true:
- Distinctive: line 51
If uncertain about a task, add a pre-work investigation task rather than assuming.
- Distinctive: line 73
Never start with "fix" — understand first.
- Distinctive: line 85
Keep the system shippable at each step.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Task Decomposition
Decomposition Decision Tree
Q1: What type of work is this?
NEW FEATURE? → Decompose by user-facing actions (vertical slices).
Each task delivers a complete, testable capability.
BUGFIX? → Decompose as: reproduce → root cause → fix → regression test.
REFACTOR? → Decompose by component/module with behavior preserved at each step.
INTEGRATION? → Decompose by contract: connect → error handling → monitoring.
OTHER? → Decompose by layer: UI → API → data → infra.Q2: How do I split?
RULE 1 (vertical slicing): Can the work be split by user-facing actions?
→ YES: Each action = one task. Prefer this over horizontal splitting.
RULE 2 (layer separation): Spans multiple architectural layers?
→ YES: One task per layer. Mark dependencies explicitly.
RULE 3 (independent concern): Can you identify sub-concerns?
→ YES: One task per concern.
→ NO: May already be atomic. Check stopping conditions.Q3: Is this task atomic? (Stopping Conditions)
Stop decomposing when ALL of these are true:
| Condition | Check |
| Estimable | Can assign small / medium / large |
| Verifiable | Can describe a test that proves it's done |
| Independent | No hidden dependency on unplanned work |
| Single responsibility | No "and" in the task description |
| No unknowns | All key decisions are understood |
If uncertain about a task, add a pre-work investigation task rather than assuming.
Decomposition Patterns
Feature (vertical slices)
Split by user-facing action, end-to-end. Each action delivers value independently.
Feature: Password Reset Flow
├── Task 1: POST /api/auth/reset-request endpoint (small)
├── Task 2: POST /api/auth/reset endpoint with token validation (small, depends on Task 1)
├── Task 3: Send reset email (medium, depends on Task 1)
└── Task 4: Frontend reset-password form (small, depends on Task 2)Dependency pattern: Task 1 ← Task 2 ← Task 4 (Task 3 parallel to Task 1)
Bugfix
Never start with "fix" — understand first. Tasks are sequential.
Bugfix: Checkout crashes with coupon code "SAVE50"
├── Task 1: Reproduce consistently in dev environment (small)
├── Task 2: Identify root cause (small, depends on Task 1)
├── Task 3: Implement fix (small, depends on Task 2)
└── Task 4: Add regression test (small, depends on Task 3)Refactor (component by component)
Keep the system shippable at each step.
Refactor: Migrate Express routes to Fastify
├── Task 1: Set up Fastify alongside Express with shared middleware (medium)
├── Task 2: Migrate /users routes (small, depends on Task 1)
├── Task 3: Migrate /products routes (small, depends on Task 1)
├── Task 4: Migrate /orders routes (small, depends on Task 1)
└── Task 5: Remove Express and clean up dependencies (small, depends on Tasks 2-4)Dependency pattern: Tasks 2, 3, 4 are parallel; Task 5 depends on all three.
Integration (contract layers)
Split by interface boundary.
Integration: Stripe Payment Provider
├── Task 1: Implement payment-intent creation endpoint (medium)
├── Task 2: Implement webhook handler for payment events (medium, depends on Task 1)
├── Task 3: Error handling, retries, fallback flows (small, depends on Tasks 1-2)
└── Task 4: Monitoring metrics, logging, alerting (small, depends on Tasks 1-2)Anti-Patterns
| Anti-pattern | Looks like | Instead |
| The monolith | "Implement X" (large, no details) | Split into user-facing actions |
| The layer cake | DB → API → UI for every feature | Vertical slices — full stack per action |
| Hidden research | "Investigate and implement" in one task | Separate investigation from execution |
| Silent unknown | No open questions | Surface all unknowns explicitly |
| Deep nesting | Tasks with subtasks of subtasks | Max one level of nesting (N.N format) |
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.

