summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbot <bot@x>2026-11-25 12:07:02 +0000
committerbot <bot@x>2026-11-25 12:07:02 +0000
commit2b7ab8c9471fad3fca0a9c0c9e1f52153408172b (patch)
tree54981f8195880713ce8e965efeb8d520bf803133
parentd65391149dbb5fe76478e76fa8d5122b2aa5a70e (diff)
domain-modeling: express term relationships inside definitionsglossary-bold-terms
Glossary definitions bold the other terms they mention, and the sentence says how the two relate. From stefaneg's fork (8ec8b8d), with the example's closing code fence kept. Closes #1396. Co-Authored-By: Guðlaugur Stefán Egilsson <140227+stefaneg@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--.changeset/glossary-bold-terms.md5
-rw-r--r--skills/engineering/domain-modeling/GLOSSARY-FORMAT.md5
2 files changed, 8 insertions, 2 deletions
diff --git a/.changeset/glossary-bold-terms.md b/.changeset/glossary-bold-terms.md
new file mode 100644
index 0000000..4e3a7cb
--- /dev/null
+++ b/.changeset/glossary-bold-terms.md
@@ -0,0 +1,5 @@
+---
+"mattpocock-skills": patch
+---
+
+`domain-modeling` glossaries now show how terms relate inside their definitions: a definition that mentions another glossary term bolds it, and the sentence says how the two relate. Thanks to @stefaneg.
diff --git a/skills/engineering/domain-modeling/GLOSSARY-FORMAT.md b/skills/engineering/domain-modeling/GLOSSARY-FORMAT.md
index 9c0b4c7..09f5f79 100644
--- a/skills/engineering/domain-modeling/GLOSSARY-FORMAT.md
+++ b/skills/engineering/domain-modeling/GLOSSARY-FORMAT.md
@@ -14,11 +14,11 @@
_Avoid_: Purchase, transaction
**Invoice**:
-A request for payment sent to a customer after delivery.
+A request for payment for an **Order**, sent to its **Customer** after delivery.
_Avoid_: Bill, payment request
**Customer**:
-A person or organization that places orders.
+A person or organization that places an **Order**.
_Avoid_: Client, buyer, account
```
@@ -26,6 +26,7 @@ _Avoid_: Client, buyer, account
- **Be opinionated.** When multiple words exist for the same concept, pick the best one and list the others under `_Avoid_`.
- **Keep definitions tight.** One or two sentences max. Define what it IS, not what it does.
+- **Bold other glossary terms inside a definition.** When a definition mentions another term, write it as `**Order**`, and let the sentence around it say how the two relate.
- **Only include terms specific to this project's context.** General programming concepts (timeouts, error types, utility patterns) don't belong even if the project uses them extensively. Before adding a term, ask: is this a concept unique to this context, or a general programming concept? Only the former belongs.
- **Group terms under subheadings** when natural clusters emerge. If all terms belong to a single cohesive area, a flat list is fine.