ddd-context-mapping

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

5 stars

Best use case

ddd-context-mapping is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using ddd-context-mapping should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ddd-context-mapping/SKILL.md --create-dirs "https://raw.githubusercontent.com/FrancoStino/opencode-skills-collection/main/bundled-skills/ddd-context-mapping/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ddd-context-mapping/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ddd-context-mapping Compares

Feature / Agentddd-context-mappingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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.

Related Skills

threat-mitigation-mapping

5
from FrancoStino/opencode-skills-collection

Map identified threats to appropriate security controls and mitigations. Use when prioritizing security investments, creating remediation plans, or validating control effectiveness.

recursive-context-pruning-token-budgeting

5
from FrancoStino/opencode-skills-collection

Optimizes AI agent performance by pruning redundant context, managing token usage, and enforcing ultra-concise, direct-to-value responses.

product-marketing-context

5
from FrancoStino/opencode-skills-collection

Create or update a reusable product marketing context document with positioning, audience, ICP, use cases, and messaging. Use at the start of a project to avoid repeating core marketing context across tasks.

hig-project-context

5
from FrancoStino/opencode-skills-collection

Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

filesystem-context

5
from FrancoStino/opencode-skills-collection

Use for file-based context management, dynamic context discovery, and reducing context window bloat. Offload context to files for just-in-time loading.

context7-auto-research

5
from FrancoStino/opencode-skills-collection

Automatically fetch latest library/framework documentation for Claude Code via Context7 API. Use when you need up-to-date documentation for libraries and frameworks or asking about React, Next.js, Prisma, or any other popular library.

context-window-management

5
from FrancoStino/opencode-skills-collection

Strategies for managing LLM context windows including summarization, trimming, routing, and avoiding context rot

context-optimization

5
from FrancoStino/opencode-skills-collection

Context optimization extends the effective capacity of limited context windows through strategic compression, masking, caching, and partitioning. The goal is not to magically increase context windows but to make better use of available capacity.

context-manager

5
from FrancoStino/opencode-skills-collection

Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems.

context-management-context-save

5
from FrancoStino/opencode-skills-collection

Use when working with context management context save

context-management-context-restore

5
from FrancoStino/opencode-skills-collection

Use when working with context management context restore

context-guardian

5
from FrancoStino/opencode-skills-collection

Guardiao de contexto que preserva dados criticos antes da compactacao automatica. Snapshots, verificacao de integridade e zero perda de informacao.