domain-modeling
Define domain terminology or record architectural decisions when the user requests domain modeling or decision documentation.
- License 许可
- MIT
- 最近更新
- 2026-10-03
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- domain-modeling
- description
- Define domain terminology or record architectural decisions when the user requests domain modeling or decision documentation.
02 资源文件 4
- 参考文档ADR-FORMAT.md1.3 KB
- 参考文档agents/openai.yaml42 B
- 参考文档CONTEXT-FORMAT.md2.2 KB
- 其他skill.toml412 B
03 SKILL.md 正文
Domain Modeling
Resolve domain concepts and record the agreed vocabulary or architectural decisions within the requested scope.
Choose the record
If CONTEXT-MAP.md exists, use it to locate the relevant context. Otherwise, use the project's existing glossary location.
Read CONTEXT-FORMAT.md when creating or updating a domain glossary.
Read ADR-FORMAT.md when recording an architectural decision.
Create files only when there is agreed content to record. Preserve existing repository formats and locations.
Resolve and record
Compare ambiguous terms with existing definitions and relevant code. Use concrete scenarios to clarify distinctions that affect the model. Ask when a consequential ambiguity remains. Distinguish current implementation from intended behavior when they differ.
Keep domain definitions in the glossary and implementation decisions in ADRs. An ADR is useful when a decision has meaningful reversal cost, a real trade-off, and reasoning future readers need. Within authorized documentation work, write agreed decisions directly; leave unresolved decisions marked as proposed or open.
Completion
The agreed terms or decisions are recorded consistently, with references to affected contexts where needed. Report changed records and remaining questions.
04 同仓库更多 Skills
writing-for-agents
Write predictable documents for agents. Use for skills, AGENTS.md, CLAUDE.md, or agent-facing reference documents.
verify-this
Verify a falsifiable claim with fresh baseline and treatment evidence. Use for verify this, prove it works, did this fix it, before-and-after evidence, or measurable behavior claims.
type-system-discipline
Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.
tdd
Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.
resolving-merge-conflicts
Resolve conflicts in an in-progress Git merge or rebase and complete the authorized operation.
research
Investigate a technical question using primary sources and save a cited Markdown research note.