Skills

Nw Ddd Strategic

Strategic DDD, bounded context discovery, context mapping patterns, subdomain...

Install

npx skills add nWave-ai/nWave --skill nw-ddd-strategic -g -a claude-code -y
Repository
nWave-ai/nWave628
Category
Engineering
Updated
2mo ago
License
MIT
Context cost
Mediumabout 1,571 tokens
Runs scripts
No, instructions only

What it does

Strategic DDD, bounded context discovery, context mapping patterns, subdomain classification, ubiquitous language, and organizational alignment

Strategic DDD

Domain discovery and boundary definition at the organizational level. Strategic DDD answers: "Where are the boundaries?" and "How do contexts relate?"

Subdomain Classification

Subdomains exist in the problem space. Classify before modeling.

TypeCompetitive advantageBuild or buyDDD investmentStaffing
CoreYes, unique differentiatorBuild in-houseFull strategic + tacticalSenior talent
SupportingNo, enables coreBuild (simplified) or outsourcePragmatic tacticalMid-level
GenericNo, commodityBuy/integrate (Stripe, Auth0)Minimal/noneJunior/integration

Decision heuristic: If two competitors solve this the same way, it's Generic. If your approach gives you an edge, it's Core. Everything else is Supporting.

Bounded Context Discovery

A bounded context is a software boundary within which a model is consistent. Different from subdomains (problem-space). They should align but are independent concepts.

Discovery Techniques

Language divergence (primary signal): When the same word means different things to different groups, you've found a boundary. "Account" in billing vs. "Account" in identity. "Product" in catalog vs. "Product" in inventory.

Organizational structure: Teams that communicate frequently often share a context. Teams with formal handoffs often have separate contexts. Conway's Law applies.

Consistency requirements: Where true invariants must be maintained transactionally defines aggregate boundaries, which cluster into contexts.

EventStorming Big Picture: Domain events placed on timeline. When events cluster into distinct swimlanes with different actors and vocabulary, those are context candidates.

Domain Storytelling: Actors perform activities on work objects. When actors, activities, or work objects change meaning, you've crossed a boundary.

Read the whole SKILL.md on GitHub

More in Engineering