AgentSkillsCN

domain-modeling

为复杂系统建模领域和有界上下文。在高级开发者需要领域驱动设计指导时使用。

SKILL.md
--- frontmatter
name: domain-modeling
description: Model domains and bounded contexts for complex systems. Use when a senior developer needs domain-driven design guidance.

Domain Modeling

Purpose

Model domains and bounded contexts for complex systems.

Inputs to request

  • Business processes and key nouns.
  • Existing data models or APIs.
  • Known pain points or coupling.

Workflow

  1. Identify core entities and invariants.
  2. Define bounded contexts and interfaces.
  3. Document event flows and consistency needs.

Output

  • Domain model outline with context boundaries.

Quality bar

  • Keep contexts cohesive and loosely coupled.
  • Capture invariants explicitly.