ddd-context-mapping – Other skill for AI agents
Map relationships between bounded contexts and define integration contracts using DDD context mapping patterns.
Install the ddd-context-mapping skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /ddd-context-mapping – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $ddd-context-mapping – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /ddd-context-mapping – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /ddd-context-mapping – then describe the task you want done.
SKILL.md content
DDD Context Mapping
Use this skill when
- Defining integration patterns between bounded contexts.
- Preventing domain leakage across service boundaries.
- Planning anti-corruption layers during migration.
- Clarifying upstream and downstream ownership for contracts.
Do not use this skill when
- You have a single-context system with no integrations.
- You only need internal class design.
- You are selecting cloud infrastructure tooling.
Instructions
1. List all context pairs and dependency direction.
2. Choose relationship patterns per pair.
3. Define translation rules and ownership boundaries.
4. Add failure modes, fallback behavior, and versioning policy.
If detailed mapping structures are needed, open references/context-map-patterns.md.
Output requirements
- Relationship map for all context pairs
- Contract ownership matrix
- Translation and anti-corruption decisions
- Known coupling risks and mitigation plan
Examples
Use @ddd-context-mapping to define how Checkout integrates with Billing,
Inventory, and Fraud contexts, including ACL and contract ownership.Limitations
- This skill does not replace API-level schema design.
- It does not guarantee organizational alignment by itself.
- It should be revisited when team ownership changes.
Related skills
- decision-navigator – Guide stuck or overwhelmed users through targeted branching questions until they reach…
- deed-page – Publish an HTML file or static folder to a permanent public https://<slug>.deed.page/…
- defi-protocol-templates – Implement DeFi protocols with educational templates for staking, AMMs, governance, and…
- defi-yield-strategy-allocator – Multi-vault automated yield strategy allocation register: APY benchmarks, impermanent…
- scikit-survival – Builds, evaluates, and audits right-censored or competing-risk survival workflows with…
- dei-dashboard – Diversity, equity and inclusion dashboard: metric by department and period, value…
- shop – Shop catalog search, checkout, order tracking, returns.
- shopify – Query Shopify Admin/Storefront GraphQL APIs via curl.