| name | inception-units-generation |
| description | Decompose system into units of work. Two-part stage with planning and generation phases. |
| argument-hint | null |
| disable-model-invocation | true |
| model | opus |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash(mkdir *) |
AI-DLC: Units Generation (Inception)
ultrathink
Decompose the system into manageable units of work. This is a two-part stage: Planning → Generation.
Definition: A unit of work is a logical grouping of stories for development.
- Microservices: each unit = independently deployable service
- Monolith: single unit with logical modules
Prerequisites Check
- Read
aidlc-docs/aidlc-state.md — verify Application Design is complete
- Check execution plan — confirm Units Generation is marked EXECUTE
- If SKIP: Inform user and guide to Construction phase. STOP.
- Log stage start in
aidlc-docs/audit.md
PART 1: Planning
Follow units-generation-detail.md:
- Create plan with checkboxes →
aidlc-docs/inception/plans/unit-of-work-plan.md
- Mandatory artifacts in plan:
- Generate questions using [Answer]: tags
- Collect, analyze, follow up — resolve all ambiguities
- Get explicit approval before generation
PART 2: Generation
- Load approved plan
- Execute each step — mark [x] immediately
- Generate artifacts →
aidlc-docs/inception/application-design/
Completion
- Update
aidlc-state.md
- Present completion message
- WAIT for user approval
- Log in audit.md
- Guide to Construction:
/aidlc:construction-functional-design [unit-name] (first unit)
Reference Files
Critical Rules
- Two-part stage: Planning MUST be approved before Generation
- All stories must be assigned to units
- Validate unit boundaries and dependencies
- Mark checkboxes [x] IMMEDIATELY after completing each step