infrastructure-design
Installation
SKILL.md
Infrastructure Design
Practical infrastructure patterns for layered (hexagonal/DDD) applications. The domain defines business consistency requirements, the application defines unit-of-work boundaries and capability ports, and infrastructure implements transaction and delivery mechanics.
Workflow
- Identify the concern — is this about event delivery, data consistency, read performance, or query simplification?
- Choose the right reference — load the relevant file from
references/. - Apply at the right layer — domain owns business meaning, application owns orchestration contracts, and infrastructure provides technical adapters.
- Validate the tradeoff — every infrastructure decision trades something (complexity, consistency, latency). Make the tradeoff explicit.