Task Decomposition

Patterns

Definition

The process of breaking a complex task into smaller, independently executable subtasks that can be assigned to specialized subagents or processed sequentially. Good decomposition creates subtasks with clear boundaries, independent execution, and verifiable outputs.

Example Usage

Decompose 'analyze this codebase for security issues' into subtasks: dependency audit, input validation check, authentication review, secrets scan.