Files
018-hirst-painting/.claude/skills/artifact/references/DM.md
T
Tirsvad 7c0ed0dcc5 Add the SQA and QC framework and project instructions
Mount the framework as a submodule at framework/ (v0.4.0), add AGENTS.md and
the installed skill copies for Codex CLI (.agents/skills) and Claude Code
(.claude/skills).
2026-10-07 23:49:15 +08:00

27 lines
1.3 KiB
Markdown

# Domain Model (DM)
Cite in `CrossReference` only if the instance exists (`new-artifact.sh` checks this for you):
- **UC** — Source of every concept (noun phrases) — cite each `UC-*` used
- **UCD** — Scope check: actors/goals the model must cover
- **SSD** — Forward: system operations that act on these concepts
## Required sections (after Metadata / Version History)
1. **Purpose and Scope** — which use cases the model covers.
2. **Diagram** — PlantUML class diagram (or linked source) showing
**concepts, attributes and associations only — no operations**.
Business language throughout ("Sale", not "SaleTable"/"SaleClass").
3. **Concept Table** — `Concept | Definition | Attributes | Source (use
case noun phrase / glossary)`. Every concept traces to a noun in a use
case or glossary. Attributes are simple domain data, not foreign-key-like
references (model those as associations).
4. **Association Table** — `From | Association name (with reading
direction) | To | Multiplicity (both ends)`. All multiplicities present.
5. **Generalizations** — only true "is-a" relationships, never inheritance
for code reuse.
## Terminology
Concept names are the PO terms recorded in the dictionary (`DICT`); add a row there for each new concept.