--- name: domain-glossary description: "Use when a task uses a domain term, when someone asks what a term means, or when a term must be defined, renamed or added to CONTEXT.md. Reads the project glossary, flags a word that conflicts with it and records a resolved term." --- # Domain glossary Use when you name a thing, read a request that uses domain words, or resolve the meaning of a term. Follow the [glossary rules](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/architecture/domain-languages.md#glossary). Do not restate the format here. ## Steps 1. Read `CONTEXT.md` at the repository root. If a `CONTEXT-MAP.md` exists, read it, and read the `CONTEXT.md` of the context that the task touches. If no file exists, continue. Create a file only in step 4. 2. Compare the words in the request, the code and the docs with the entries. If a word is on an `_Avoid_:` line, use the term of that entry. If a word gives a term a different meaning, stop and ask the owner which meaning is correct. 3. If a word is vague, propose the exact term and ask. An example is "account" when the glossary has two kinds of account. 4. When the owner resolves a term, add or change its entry in the `CONTEXT.md` of its context at that time. Do not wait for the end of the task. See [several contexts](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/architecture/domain-languages.md#several-contexts). 5. If the code uses a different word than the glossary, tell the owner. Do not rename code that is out of scope. ## Subagents Do not start subagents for this skill. Reason: each step compares a few words with one file, and step 4 needs the owner. See the [subagent guide](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/workflow/subagents.md). ## Boundaries - Do not define a term yourself when the meaning is the owner's decision. Ask. - Do not put implementation details, plans or decisions in `CONTEXT.md`. A durable decision goes to [write-adr](https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/skills/write-adr/SKILL.md).