agentleFS
tdiminotdimino/claude-code-minoan/skills/core-development/glossary/SKILL.md

glossary

Skill40 starsChanged 8 months agoMITView on GitHub

Build or update a CONTEXT.md domain glossary for the current project. Establishes shared vocabulary with term definitions, avoid-aliases, and relationships so agents use consistent, concise language. This skill should be used when starting a new project, when domain terminology is inconsistent across sessions, when the user says "build a glossary", "define our terms", "shared vocabulary", or "domain language", or when an existing CONTEXT.md needs updating after new domain concepts emerge.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test-driven-development.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    test-driven-development

    Use when implementing any feature or bugfix, before writing implementation code

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If no CONTEXT.md exists at the project root, run an elicitation session to discover domain terms:

    line 12
  2. Distinctive:

    Ask about ambiguities: "Is [term] the same as [similar term], or are they distinct?" Surface these early because unresolved synonyms are …

    line 17
  3. Very specific:

    Write CONTEXT.md following the format in references/context-format.md.

    line 18
  4. Very specific:

    If CONTEXT.md already exists, read it first.

    line 22
  5. Distinctive:

    Check whether it fits an existing term (update the definition) or is genuinely new (add it).

    line 25
  6. Distinctive:

    If the new concept conflicts with an existing term, add it to "Flagged ambiguities" with a clear resolution.

    line 26
  7. Very specific:

    When exploring or modifying code in a project that has a CONTEXT.md:

    line 31
  8. Very specific:

    Read CONTEXT.md before starting work.

    line 33

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
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:

  1. Explore the codebase to identify domain-specific naming patterns—types, modules, key abstractions, recurring nouns in variable names and comments.
  2. Present findings to the user: "I found these domain concepts in the code: [list]. Which are worth defining? Are any named inconsistently?"
  3. 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.
  4. 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.
  5. Write CONTEXT.md following the format in references/context-format.md.

Updating an existing CONTEXT.md

If CONTEXT.md already exists, read it first. Then:

  1. Identify the new concept or ambiguity that triggered this invocation.
  2. Check whether it fits an existing term (update the definition) or is genuinely new (add it).
  3. If the new concept conflicts with an existing term, add it to "Flagged ambiguities" with a clear resolution.
  4. Preserve all existing content—append, don't rewrite. Rewriting destroys cross-session term provenance and risks silently dropping terms other sessions depend on.

Consuming CONTEXT.md during other work

When exploring or modifying code in a project that has a CONTEXT.md:

  • Read CONTEXT.md before starting work. Use its terms exactly—not synonyms the glossary explicitly avoids. Consistent terminology reduces the cognitive translation cost between domain conversations and implementation.
  • Note any concepts needed for the current task that are missing from the glossary. Flag them as candidates for the next /glossary session.
  • Name variables, functions, types, and files using the glossary's vocabulary.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.