agentleFS
d-oitd-oit/rust-2026-template/.agents/skills/task-decomposition/SKILL.md

task-decomposition

Skill15 starsChanged 5 months agoMITView on GitHub

Break down complex tasks into atomic, actionable goals with clear dependencies and success criteria. Use when planning multi-step projects, coordinating agents, or decomposing complex requests. Triggers: "break down task", "decompose", "plan steps", "task breakdown".

18 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Task Decomposition

Decompose high-level objectives into manageable, testable sub-tasks.

Framework

1. Requirements Analysis

Extract: Primary objective, implicit requirements, constraints, success criteria.

2. Goal Hierarchy

Main Goal
├─ Sub-goal 1 → Tasks 1.1, 1.2
├─ Sub-goal 2 → Task 2.1
└─ Sub-goal 3

Atomic Criteria: Single action, defined inputs/outputs, one agent, testable.

3. Dependency Mapping

  • Sequential: A → B → C
  • Parallel: A, B, C (independent)
  • Converging: A, B, C → D

4. Success Criteria

Define: Inputs, outputs, quality standards.

Process

Step 1: Understand Goal

Request: [Original]
Goal: [Main objective]
Type: [Implementation/Debug/Refactor]
Complexity: [Simple/Medium/Complex]

Step 2: Identify Components (3-7)

Step 3: Decompose Components

Step 4: Map Dependencies

Step 5: Assign Priorities

  • P0 (Critical), P1 (Important), P2 (Nice-to-have)

Step 6: Estimate Complexity

  • Low (<30min), Medium (30min-2hr), High (>2hr)

Patterns

Layer-Based (Rust)

  1. Data types / schemas
  2. Business logic
  3. API / CLI interface
  4. Integration tests
  5. Documentation

Feature-Based

  1. Core (MVP)
  2. Error handling (thiserror/anyhow)
  3. Performance (benches)
  4. Integration
  5. Testing
  6. Docs

Problem-Solution

  1. Reproduce
  2. Diagnose
  3. Design
  4. Fix
  5. Verify
  6. Prevent

Quality Checklist

  • Atomic and actionable tasks
  • Dependencies identified
  • Measurable success criteria
  • Appropriate complexity estimates
  • No task >4 hours
  • Parallelization opportunities found

Rationalizations

RationalizationReality
"I already know what needs to be done, no need to decompose"Skipping decomposition leads to scope creep, missed dependencies, and rework.
"The task is too simple to break down"Even simple tasks benefit from explicit success criteria and dependency mapping.

Red Flags

  • Defining tasks that are too vague to test or verify
  • Skipping dependency mapping between decomposed tasks
  • Creating tasks larger than 4 hours without further breakdown

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.