/ronce-racine:domain-glossaryfrom Ronce Racine
Creates or extends a GLOSSARY.md to resolve naming inconsistencies in a codebase. Use when the same concept has multiple names, a single name means different things in different files, or when onboarding into an unfamiliar domain before naming new modules, tables, or endpoints. Records rejected alternatives and links terms to code locations.
Ships in Ronce Racine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If the current repo already has a glossary, a ubiquitous-language document or an ADR fixing its terms, it wins - extend it rather than starting a rival file.
A term that is not written down is renegotiated on every session. Both by
people and by agents: an agent asked to add "a client note" will invent
ClientNote, CustomerComment or AccountRemark with equal confidence,
because nothing in the repository says which one this codebase already chose.
The cost is not aesthetic. It is a table nobody finds, a search that returns
nothing, and a second implementation of something that existed.
The output is a GLOSSARY.md at the repository root, versioned with the code
that uses it. Not a wiki page: it must travel in the diff that changes the
meaning, and it must be readable by whatever opens the repo next.
Three properties separate a glossary that works from a list of definitions:
Order in sales and an
Order in a sort function), and the same sense in two words (user /
member / account).- [ ] 1. Harvest the terms from the code, mechanically
- [ ] 2. Cluster the synonyms and split the homonyms
- [ ] 3. Decide one name per concept, with the domain expert if there is one
- [ ] 4. Anchor each entry to code
- [ ] 5. Record the rejected terms and the reason
- [ ] 6. Write GLOSSARY.md, ordered for lookup
- [ ] 7. Wire it in: point the agent instructions at it
Read the shapes the code commits to, in this order: schema/migrations, domain types, public API routes, event and job names. Names that appear in only one function are usually local, not domain.
Two distinct failures, two distinct fixes:
If a domain expert is reachable, the word they say wins over the word the code happens to hold - that is the whole point of a ubiquitous language. If no one can arbitrate, prefer the term with the most call sites (cheapest migration) and mark the entry as provisional rather than pretending it is settled.
Every entry names at least one place the term is real: a type, a table, a route, a module. An entry that anchors nowhere is either a term the code does not use - delete it - or a gap worth its own ticket.
The rejected terms are what makes a glossary hold. Without them, the next reader re-runs the same debate and may land elsewhere.
Alphabetical unless the domain has an obvious spine (a lifecycle, a pipeline). The reader arrives with a word and wants its meaning; do not make them read the document to find one line.
A glossary nobody opens changes nothing. Reference it where naming decisions are
made: the repository's agent instructions (CLAUDE.md / AGENTS.md), the
contributing guide, the pull-request template. One line pointing at it is enough
# Glossary
Vocabulary of this codebase. One name per concept; the rejected names are listed
so a search finds its way here. Change a meaning in the same diff as the code.
## <Term>
<One sentence, in the domain's words, not the framework's.>
| | |
|---|---|
| **In the code** | `<type / table / route / module>` |
| **Not to be confused with** | `<neighbouring term>` - <what separates them> |
| **We do not say** | `<rejected term>` - <why> |
| **Status** | settled / provisional (no arbiter yet) |
| Excuse | Reality |
|---|---|
| "Everyone here knows what a batch is" | Everyone currently here. The next reader, human or agent, is exactly who this file is for. |
| "The code is self-documenting" | The code is where the disagreement lives - three names for one concept are all in the code. |
| "I will write it once the naming settles" | The naming settles because it is written down. Waiting is how a third synonym appears. |
| "Let's keep both terms, they are close enough" | Then every search finds half the call sites, and both keep growing. Pick one; list the other as rejected. |
| "It belongs in the wiki" | A wiki does not travel in the diff that changed the meaning, and nothing fails when it goes stale. |
| "It would be a huge document" | A glossary over ~30 entries is describing a codebase, not a domain. Keep the load-bearing terms. |
| "The ORM already names the tables" | The ORM named them after a framework convention, not after the domain. That is the drift, not the fix. |
GLOSSARY.md exists at the repository rootCLAUDE.md / AGENTS.md) point at the glossaryWhat SKILL.md sets; muted values are Claude Code's defaults
37 skills in this plugin
/adversarial-feature-challengeUse when a feature is "done" and needs adversarial stress-testing before shipping - "is it really ready", "est-ce vraiment prêt", "find the bugs", "trouve les bugs", "red team", before closing a ticket whose only validation is the golden path passing./api-contract-versioningUse when modifying an API endpoint, schema or contract consumed elsewhere - renaming/removing/restructuring a request or response field, pagination or envelope change, "field X must become", "le champ X doit devenir", introducing a breaking change, versioning an API, or deprecating a field/route. Covers REST, GraphQL and gRPC alike./audit-architecturenpx claudepluginhub charierefiedler/ronce-racine --plugin ronce-racineOther plugins' skills for the same job