glossary
Installation
SKILL.md
Glossary — Domain Language Builder
Build or update a CONTEXT.md at the project root that captures the project's domain language. A shared vocabulary between user and agent reduces verbosity (agents stop using 20 words where 1 domain term suffices), enforces consistent naming in code, and prevents terminology drift across sessions.
Creating a new CONTEXT.md
If no CONTEXT.md exists at the project root, run an elicitation session to discover domain terms:
- Explore the codebase to identify domain-specific naming patterns—types, modules, key abstractions, recurring nouns in variable names and comments.
- Present findings to the user: "I found these domain concepts in the code: [list]. Which are worth defining? Are any named inconsistently?"
- For each confirmed term, resolve four fields: the canonical name, a one-sentence definition, aliases to avoid, and relationships to other terms. These four fields are the minimum needed for an agent to use the term correctly and consistently—fewer leads to ambiguity, more adds noise.
- Ask about ambiguities: "Is [term] the same as [similar term], or are they distinct?" Surface these early because unresolved synonyms are the primary source of naming inconsistency in agent-generated code.
- Write
CONTEXT.mdfollowing the format in references/context-format.md.
Updating an existing CONTEXT.md
If CONTEXT.md already exists, read it first. Then: