Work Unit Decomposition

Decompose implementation plans into discrete work units with enumerated DoD items, file scope declarations, dependency mapping, and human checkpoint flags.

a5c-ai Updated 1.7k repo stars

File contents

  • When decomposing a large feature into implementable chunks
  • When preparing for orchestrated execution

Work Unit Structure

Each work unit specifies:

  • ID - Unique identifier
  • Title - Human-readable description
  • Definition of Done - Enumerated checklist items
  • File Scope - Which files the unit may modify
  • Dependencies - Other work units this depends on
  • Human Checkpoint - Whether human approval is needed before execution
  • Parallel Safe - Whether it can execute alongside other units

Human Checkpoint Triggers

Mark human checkpoints for:

  • Schema or database changes
  • Security-sensitive code paths
  • New architectural patterns not seen in codebase
  • External API integrations
  • Breaking changes to public interfaces

Agents Used

  • agents/architect/ - Creates the decomposition
  • agents/cto/ - Validates TDD readiness per unit

Tool Use

Invoke as part of: methodologies/metaswarm/metaswarm-orchestrator (Phase 4)

a5c-ai/babysitter/tree/main/library/methodologies/metaswarm/skills/work-unit-decomposition commit 4192aabde1

Frequently asked questions

npx skillmds@latest add a5c-ai/work-unit-decomposition