Map relationships between bounded contexts using DDD context mapping patterns. Use when defining upstream/downstream relationships, integration strategies (ACL, OHS, PL), or generating Context Mapper DSL output. Follows event storming for bounded context discovery.
View on GitHubmelodic-software/claude-code-plugins
enterprise-architecture
plugins/enterprise-architecture/skills/context-mapping/SKILL.md
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/melodic-software/claude-code-plugins/blob/main/plugins/enterprise-architecture/skills/context-mapping/SKILL.md -a claude-code --skill context-mappingInstallation paths:
.claude/skills/context-mapping/# Context Mapping Skill
## Interactive Mapping Configuration
Use AskUserQuestion to configure the context mapping session:
```yaml
# Question 1: Mapping Mode (MCP: DDD context mapping methodology)
question: "What level of context mapping analysis do you need?"
header: "Mode"
options:
- label: "Full Analysis (Recommended)"
description: "Systematically analyze all bounded contexts with CML output"
- label: "Quick Overview"
description: "Identify obvious relationships only (~3K tokens)"
- label: "Guided Discovery"
description: "Interactive, confirm each relationship with user"
- label: "Pattern Focus"
description: "Focus on specific integration patterns (ACL, OHS, etc.)"
# Question 2: Relationship Clarity (MCP: DDD upstream/downstream patterns)
question: "How clear are the context boundaries?"
header: "Clarity"
options:
- label: "Well-Defined"
description: "Bounded contexts identified, need relationship mapping"
- label: "Partially Known"
description: "Some contexts identified, may discover more"
- label: "Exploratory"
description: "Start from scratch, discover contexts and relationships"
- label: "From Event Storm"
description: "Use output from prior event storming session"
```
Use these responses to select the appropriate mapping mode and calibrate discovery depth.
Map relationships between bounded contexts using Domain-Driven Design context mapping patterns. Produces Context Mapper DSL (CML) output and integration strategy recommendations.
## When to Use This Skill
**Keywords:** context mapping, bounded contexts, upstream, downstream, ACL, anti-corruption layer, shared kernel, customer supplier, open host service, published language, conformist, partnership, CML, integration patterns, domain relationships
**Use this skill when:**
- After event storming when bounded contexts have been identified
- Defining integration strategies between domains
- Documenting domain relationships and dependencies
- Generating c