Skip to content
Back to skills

Ddd Context Mapping

ASecurity

Map relationships between bounded contexts and define integration contracts using DDD context mapping patterns.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 12, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 12, 2026

npx -y skills add rootcastleco/rei-skills --skill ddd-context-mapping --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ddd Context Mapping?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ddd Context Mapping
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rootcastleco-ddd-context-mapping/badge)](https://www.skillsdirectory.com/skills/rootcastleco-ddd-context-mapping)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ddd-context-mapping
description: "Map relationships between bounded contexts and define integration contracts using DDD context mapping patterns."
risk: safe
source: rootcastle-rei
tags: [ddd, context-map, anti-corruption-layer, integration]
---

# 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

```text
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.

---

> 🏰 **Rei Skills** — Curated by [Rootcastle Engineering & Innovation](https://www.rootcastle.com) | Batuhan Ayrıbaş  
> Engineering Beyond Boundaries | admin@rootcastle.com

Files in this skill

  • SKILL.md1.7 KB
  • references/context-map-patterns.md673 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…