Purpose
Scan a codebase and documentation to compile a structured Domain Glossary / Ubiquitous Language dictionary, resolving ambiguity around internal acronyms, overloaded terms, and domain entities.
When to Use
- Onboarding new engineers to a domain-dense codebase (e.g. Fintech, Healthcare, Logistics, AdTech).
- Resolving naming confusion where different teams use different words for the same concept.
- Aligning engineering naming directly with product and business definitions.
What to Analyze
- Domain Entities: Key nouns used in database models and APIs (e.g.
Tenancy,LedgerEntry,Claim). - Internal Acronyms: Decoding company or industry jargon (e.g.
MRR,ACH,KYC,EOD). - Overloaded / Confusing Terms: Words with multiple meanings (e.g. "User" vs "Customer" vs "Subscriber").
- Lifecycle States: Definitions of status terms (e.g. what distinguishes
VoidedfromCanceled). - Code References: Linking each term to primary source files/interfaces where it is implemented.
Output Format
- Alphabetical Glossary Table: Term, Domain Context, Official Definition, Code Mapping.
- Disambiguation Warnings: Highlighting frequently confused terms.
- Deprecated Terms: Legacy terms that should no longer be used in new code.
Avoid
- Defining generic programming terms (e.g., "Function", "Array").
- Leaving definitions vague without mapping them to concrete codebase models.


