From product
Abstracts features and entities into bounded contexts using DDD strategic design. Produces a Core/Supporting/Generic domain map, context map with typed relationships, and ubiquitous language. Bridges to nexus-architect.
How this skill is triggered — by the user, by Claude, or both
Slash command
/product:skills-product-map-domainsopusThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce three deliverables:
Produce three deliverables:
reports/03_domain/domain-map.md: subdomains classified Core / Supporting /
Generic, with investment guidance (build Core, pragmatic Supporting, buy Generic).reports/03_domain/bounded-contexts.md (CTX- IDs): each context, the
entities/features it owns, a Context Map of relationships (ACL, Open Host / Published
Language, Shared Kernel, Customer/Supplier, Conformist, Partnership), and a coarse
consistency hint per context (Strong / Eventual / TBD) — a hint, not a decision:
it seeds architect's per-process transaction-consistency classification (see Handoff), which
makes the final ACID/Saga/Local-Tx call.reports/03_domain/ubiquitous-language.md: the shared vocabulary per
context (every ENT-/term appears here)./product:map-domains [--auto] [--lang=ja|en]
| Argument/Flag | Required | Description |
|---|---|---|
--auto | Optional | Derive without elicitation; ambiguous boundaries → TBD |
--lang | Optional | Override output language |
| Input | Required/Recommended | Source | If missing/empty |
|---|---|---|---|
reports/02_spec/data-model.md | Required | /product:define-data-model | block with a message — contexts group entities |
reports/02_spec/feature-list.md | Required | /product:define-features | block with a message — capabilities define boundaries |
work/traceability.json.@rules/product/ddd-strategic.md.CTX- bounded contexts sized for the future.CTX-, mark a coarse Strong / Eventual / TBD hint
from the nature of its operations (money/inventory/booking invariants → Strong; read models,
analytics, notifications → Eventual; unclear → TBD), with a one-line rationale. This is a
seed for architect, not a binding transaction decision.CTX- nodes to work/traceability.json with Upstream
ENT-/FEAT- references.work/context.md; log TBDs.The CTX- bounded contexts + ubiquitous language map to architect's Bounded Context inputs
(docs/design.md §1.3) — the bridge to /architect:define-requirements. The per-context
consistency hint (Strong/Eventual/TBD) seeds architect's per-process
transaction-consistency classification — the §1.4 designed gap product cannot fully close;
architect confirms or overrides it and makes the binding ACID/Saga/Local-Tx decision.
reports/03_domain/domain-map.md, reports/03_domain/bounded-contexts.md (with CTX- table +
Context Map + per-context consistency hint), and reports/03_domain/ubiquitous-language.md.
| Resource | Purpose |
|---|---|
@rules/product/ddd-strategic.md | Subdomain classification, bounded contexts, context mapping |
| Skill | Relationship |
|---|---|
/product:define-data-model | Upstream — entities grouped into contexts |
/product:define-features | Upstream — capabilities define boundaries |
/product:design-api | Downstream — APIs realize the contexts |
/architect:define-requirements | Handoff — consumes the bounded contexts |
/product:adapt-change | Re-runs this skill when the domain evolves |
npx claudepluginhub wfukatsu/nexus-architect --plugin scalardbDesigns DDD strategic artifacts: subdomain classification, bounded contexts, and ubiquitous language for complex business domains.
Guides domain modeling using DDD strategic patterns: bounded contexts, context maps, subdomain analysis, and ubiquitous language. Useful for decomposing monoliths or designing microservices.
Models software around the business domain using bounded contexts, aggregates, value objects, and ubiquitous language. Apply when designing complex business logic to prevent model drift.