技能 编程开发 DDD战略设计与领域建模

DDD战略设计与领域建模

v20260423
ddd-strategic-design
该技能用于指导复杂业务领域的架构设计。核心功能包括识别和划分子领域、定义边界上下文(Bounded Contexts),以及构建统一的通用语言(Ubiquitous Language)。适用于拆分巨石应用或构建大型分布式系统,确保领域边界清晰。
获取技能
195 次下载
概览

DDD Strategic Design

Use this skill when

  • Defining core, supporting, and generic subdomains.
  • Splitting a monolith or service landscape by domain boundaries.
  • Aligning teams and ownership with bounded contexts.
  • Building a shared ubiquitous language with domain experts.

Do not use this skill when

  • The domain model is stable and already well bounded.
  • You need tactical code patterns only.
  • The task is purely infrastructure or UI oriented.

Instructions

  1. Extract domain capabilities and classify subdomains.
  2. Define bounded contexts around consistency and ownership.
  3. Establish a ubiquitous language glossary and anti-terms.
  4. Capture context boundaries in ADRs before implementation.

If detailed templates are needed, open references/strategic-design-template.md.

Required artifacts

  • Subdomain classification table
  • Bounded context catalog
  • Glossary with canonical terms
  • Boundary decisions with rationale

Examples

Use @ddd-strategic-design to map our commerce domain into bounded contexts,
classify subdomains, and propose team ownership.

Limitations

  • This skill does not produce executable code.
  • It cannot infer business truth without stakeholder input.
  • It should be followed by tactical design before implementation.
信息
Category 编程开发
Name ddd-strategic-design
版本 v20260423
大小 1.48KB
更新时间 2026-04-24
语言