---
description: Analyze domain and identify bounded contexts using DDD principles
allowed-tools: Task, Read, Grep, Glob
argument-hint: <domain or codebase area>
---

# 🔍 Domain Analysis: $ARGUMENTS

Analyze domain: **$ARGUMENTS**

## Agent
Uses **domain-decomposer** agent for DDD analysis.

## Workflow
1. **Discovery** - Understand domain language and concepts
2. **Context Mapping** - Identify bounded contexts
3. **Aggregate Design** - Define aggregates and entities
4. **Event Storming** - Map domain events

## Outputs
- Bounded context map
- Aggregate definitions
- Domain event catalog
- Context relationships (upstream/downstream)
- Ubiquitous language glossary

## Progress
- [ ] Domain discovery complete
- [ ] Bounded contexts identified
- [ ] Aggregates defined
- [ ] Events mapped
- [ ] Documentation generated

Report findings with visual context map.
