# Task Decomposition

> >

- **Type:** Skill
- **Install:** `agentstack add skill-d-oit-rust-2026-template-task-decomposition`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [d-oit](https://agentstack.voostack.com/s/d-oit)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [d-oit](https://github.com/d-oit)
- **Source:** https://github.com/d-oit/rust-2026-template/tree/main/.agents/skills/task-decomposition
- **Website:** https://d-oit.github.io/rust-2026-template/

## Install

```sh
agentstack add skill-d-oit-rust-2026-template-task-decomposition
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Task Decomposition

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

## When to Use

- Complex requests with multiple components
- Multi-phase projects requiring coordination
- Tasks benefiting from parallel execution

## 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 (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

| Rationalization | Reality |
|-----------------|---------|
| "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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [d-oit](https://github.com/d-oit)
- **Source:** [d-oit/rust-2026-template](https://github.com/d-oit/rust-2026-template)
- **License:** MIT
- **Homepage:** https://d-oit.github.io/rust-2026-template/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-d-oit-rust-2026-template-task-decomposition
- Seller: https://agentstack.voostack.com/s/d-oit
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
