领域模型梳理
原名:domain-modeling
把业务里的角色、对象、规则和关系整理成团队统一语言。
中文 Skills 技能说明
适合业务名词混用、模块边界不清或接口设计反复变化的项目。它会从真实业务例子中提取概念,明确每个概念负责什么、不负责什么,并记录关键规则和例外。
上游能力依据
上游原始适用说明:Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
上游 SKILL.md 主要章节(保留原文标题):
- File structure
- During the session
- Challenge against the glossary
- Sharpen fuzzy language
- Discuss concrete scenarios
- Cross-reference with code
- Update CONTEXT.md inline
- Offer ADRs sparingly
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- mattpocock
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/mattpocock/skills/tree/main/skills/engineering/domain-modeling
适用范围
平台:linux、macos、windows;标签:Domain Modeling、DDD、Architecture
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。