Ubiquitous Language
Produces a queryable per-concept glossary at .plans/domain/. Each concept gets its own file (one-sentence definition, classification, related terms). The glossary feeds domain-review as classification ground truth — run this skill before domain-review for sharper findings.
This skill never modifies source files. It writes only to .plans/domain/ and .plans/domain-language-plan.md.
Announce on start
"Running ubiquitous-language. Gathering domain signals from $ARGUMENTS (or cwd if empty). I'll apply a four-gate filter and write one file per approved business concept to .plans/domain/. Existing files are append-mostly — previous definitions are preserved."
Phase 1: Gather signals (grep-based, no build required)
Run the colocated gather script. It collects raw candidates; it does not decide what is domain language (that is Phase 3's job).
python3 .claude/skills/ubiquitous-language/scripts/collect_domain_signals.py "$ARGUMENTS"
The script writes to .plans/raw/domain-language/:
class-names.txt— PascalCase class/struct/record/interface names from domain and application layersenum-values.txt— enum declarations with their valuesdomain-events.txt— type names ending inCreated,Updated,Submitted,Approved,Cancelled,Rejected,Completed,Failed,Requestedbdd-names.txt— BDD scenario and step names from.featurefiles (Given_,When_,Then_,Should_)validator-rules.txt— validation rule method names and error messagesinterface-names.txt— interface/protocol names from domain and application layers
If the script is unavailable, gather manually using Grep with the patterns documented in the script's comments.
Graph-assisted disambiguation. Prefer CodeGraph/Repowise over more Grep passes to check a candidate term's actual call sites and surrounding context when the raw signal is ambiguous (e.g. a name that could be a technical or a business concept, or two near-duplicate names that might be the same concept under different spellings). This is a supplement to Phase 1's grep-based collection, not a replacement — the collector script output is still the primary candidate source. See