ddd-decompose

Guide DDD decomposition to identify bounded contexts, aggregates, and domain events.

3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ForgePlan/marketplace --skill ddd-decompose
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ddd-decompose
Source: https://github.com/ForgePlan/marketplace/tree/main/plugins/fpl-skills/skills/ddd-decompose
Command: npx skills add https://github.com/ForgePlan/marketplace --skill ddd-decompose

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires forgeplan, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill facilitates the domain-driven design (DDD) decomposition process for complex systems, ensuring a clear and structured approach to bounded contexts, aggregates, and domain events.

Core Features & Use Cases

  • Structured Interview Guide: Walks users through identifying bounded contexts, aggregates, and domain events.
  • Output Generation: Creates a DDD context map and optional ForgePlan artifacts (Epic, PRDs, Spec).
  • Use Case: Ideal for designing a new system with multiple teams or refactoring a monolith into bounded contexts.

Quick Start

Use the /ddd-decompose command to start decomposing your system into DDD contexts.

Frequently Asked Questions about ddd-decompose

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify bounded contexts and aggregates when decomposing a complex system?

Identifying bounded contexts and aggregates during system decomposition requires a structured interview process that guides you through extracting domain events and defining clear boundaries. This Skill provides that guided workflow to map complex domains accurately.

When do I need domain-driven design decomposition for my architecture?

Domain-driven design decomposition is needed when designing a new system with multiple teams or refactoring a monolith into bounded contexts. It helps structure complex systems by clarifying domain events, aggregates, and context boundaries.

How do I create a DDD context map for a monolith refactoring project?

Creating a DDD context map involves analyzing your domain to extract bounded contexts and relationships. This Skill walks you through an interview-style process to generate context maps and optional ForgePlan artifacts for artifact graph integration.

Do I need to understand DDD principles before starting the decomposition process?

Yes, you need a solid understanding of DDD principles before starting. The decomposition process relies on interview-style input and requires foundational knowledge of bounded contexts, aggregates, and domain events to produce accurate architecture outputs.

What is the best way to map domain events across multiple teams in a complex system?

The best way to map domain events across multiple teams is using a guided DDD decomposition process that standardizes the identification of bounded contexts. This ensures consistent context maps and domain event tracking across the entire system architecture.

Can I generate ForgePlan artifacts like Epics and PRDs from DDD bounded contexts?

Yes, you can generate ForgePlan artifacts like Epics, PRDs, and Specs directly from your DDD bounded contexts. The decomposition process outputs a DDD context map and optional ForgePlan artifacts for seamless artifact graph integration.