Map relationships between bounded contexts and define integration contracts using DDD context mapping patterns.
Add this skill
npx mdskills install sickn33/ddd-context-mappingClear DDD integration guidance but needs specific pattern details and permission justification
1---2name: ddd-context-mapping3description: Map relationships between bounded contexts and define integration contracts using DDD context mapping patterns.4risk: safe5source: self6tags: [ddd, context-map, anti-corruption-layer, integration]7---89# DDD Context Mapping1011## Use this skill when1213- Defining integration patterns between bounded contexts.14- Preventing domain leakage across service boundaries.15- Planning anti-corruption layers during migration.16- Clarifying upstream and downstream ownership for contracts.1718## Do not use this skill when1920- You have a single-context system with no integrations.21- You only need internal class design.22- You are selecting cloud infrastructure tooling.2324## Instructions25261. List all context pairs and dependency direction.272. Choose relationship patterns per pair.283. Define translation rules and ownership boundaries.294. Add failure modes, fallback behavior, and versioning policy.3031If detailed mapping structures are needed, open `references/context-map-patterns.md`.3233## Output requirements3435- Relationship map for all context pairs36- Contract ownership matrix37- Translation and anti-corruption decisions38- Known coupling risks and mitigation plan3940## Examples4142```text43Use @ddd-context-mapping to define how Checkout integrates with Billing,44Inventory, and Fraud contexts, including ACL and contract ownership.45```4647## Limitations4849- This skill does not replace API-level schema design.50- It does not guarantee organizational alignment by itself.51- It should be revisited when team ownership changes.52
Full transparency — inspect the skill content before installing.