Skip to main content

domain-driven-design

星标3
分支1
更新时间2026年3月30日 18:31

Apply Domain-Driven Design principles: model the core domain, define bounded contexts, build context maps, design aggregates, identify domain events, and surface ubiquitous language. Use this skill early — a bad domain model compounds over time. Triggers: when teams argue about where logic should live, when the same word means different things to different teams, when a service is growing out of control, when someone says "our model doesn't match how the business thinks", when preparing a new microservice boundary, when the user says "the model feels wrong", "our domain is getting complicated", "we have inconsistent naming across teams", "where should this logic live?", "what's the aggregate root here?", "are these the same bounded context?", "strategic design", "tactical DDD", "what's the core domain?", "this looks like an anti-corruption layer", mentions "DDD", "Evans", "Blue Book", "domain events", "CQRS", "event sourcing" (strategic layer), or asks how to structure a complex multi-team system. Also trigge

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly