From forge
Provides DDD bounded context mapping facilitation guidance — identifying, defining, and relating contexts within a domain. Use when decomposing monoliths into microservices, designing service boundaries, resolving model ownership conflicts between teams, planning system integrations, or establishing team topologies.
npx claudepluginhub caiokf/forgeThis skill uses the workspace's default tool permissions.
This skill provides knowledge and facilitation guidance for DDD Bounded Context Mapping sessions — identifying, defining, and relating bounded contexts within a domain to establish clear boundaries between different models and understand how they interact.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Share bugs, ideas, or general feedback.
This skill provides knowledge and facilitation guidance for DDD Bounded Context Mapping sessions — identifying, defining, and relating bounded contexts within a domain to establish clear boundaries between different models and understand how they interact.
This skill should be used when:
| Type | Description | Investment |
|---|---|---|
| Core Domain | Competitive advantage | Build in-house, invest heavily |
| Supporting Subdomain | Necessary but not differentiating | Build simple, don't over-engineer |
| Generic Subdomain | Commodity functionality | Buy or use off-the-shelf |
| Pattern | Description | Power Dynamic | When to Use |
|---|---|---|---|
| Partnership | Mutual dependency, joint planning | Equal power | Close collaboration needed |
| Customer-Supplier | Upstream serves downstream | Downstream can influence | Clear service relationship |
| Conformist | Downstream adopts upstream model | Upstream has all power | Can't influence upstream |
| Anti-Corruption Layer | Translate between models | Downstream invests in isolation | Protect from external models |
| Shared Kernel | Shared code/model subset | Both must coordinate | Tight coupling acceptable |
| Open Host Service | Published API for many consumers | Provider defines interface | Platform/service provider |
| Published Language | Standard interchange format | Standard defines interface | Industry standards exist |
| Separate Ways | No integration | Full independence | Independence more valuable |
Throughout the session, be explicit about whether mapping how things ARE today or how they SHOULD be. Use solid lines for current boundaries, dashed for proposed. Document both when they differ.
Establish scope, current state (greenfield vs brownfield), teams involved, existing service boundaries. For large domains (>6-8 contexts), identify priority clusters.
Understand the full landscape — business capabilities, core workflows, key entities. For existing systems, find implicit boundaries and "big ball of mud" areas.
Identify where language changes — the key signal for context boundaries. Document language variations across teams and areas.
Draw context boundaries based on language differences. Capture name, core concepts, responsibilities, team ownership.
Understand WHY boundaries exist — independence drivers, compliance factors, operational needs, organizational factors.
Classify each context as Core Domain, Supporting Subdomain, or Generic Subdomain.
Establish source of truth for each entity. Map creators, writers, and readers.
Define how contexts interact using relationship patterns. Capture direction, power dynamics, integration mechanisms, contracts.
Map third-party integrations. Determine which internal context owns each integration.
Map domain events flowing between contexts. Identify ordering constraints and failure modes.
Map contexts to team structure. Identify misalignments and coordination overhead.
Test boundaries with concrete scenarios. Walk through real use cases to find ambiguities.
Compile context map, identify needed boundary changes and migration priorities.
Generate a markdown document using templates/context-map.md containing:
| File | Content |
|---|---|
references/facilitator-prompts.md | Detailed facilitator prompts for each session phase |
references/common-situations.md | Handling contested boundaries, overlapping contexts, uncertainty |
templates/context-map.md | Output template for the context map artifact |