skills/ubiquitous-language/SKILL.md
Extract and maintain a DDD-style ubiquitous language glossary for a project. Use when user wants to define domain terms, build a glossary, check terminology consistency, or onboard with domain language.
npx skillsauth add RonanCodes/ronan-skills ubiquitous-languageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build and maintain a glossary of domain terms so the team (and Claude) uses consistent language across code, docs, and conversation.
/ubiquitous-language --scan # Scan codebase, build/update GLOSSARY.md
/ubiquitous-language --check # Audit codebase for inconsistent terminology
/ubiquitous-language --add <term> # Add a new term interactively
Default (no flag): run --scan.
Read project context — scan these files (skip any that don't exist):
CLAUDE.md, README.md, package.json / Cargo.toml / go.mod**/types.ts, **/models/**, **/schema*, **/domain/****/entities/**, **/interfaces/**, **/*.graphql, **/*.protoGLOSSARY.md (to preserve manually added terms)Extract domain terms — look for:
[manual]Deduplicate and define — for each term:
Write GLOSSARY.md at project root using the format below.
Present a summary — show how many terms were found, any new terms added since last scan, and any suspected inconsistencies.
Read GLOSSARY.md — if it doesn't exist, tell the user to run --scan first.
For each term that has Aliases to Avoid, search the codebase for those aliases:
node_modules, dist, build, .git)Report findings as a table:
| File | Line | Found | Should Be |
|------|------|-------|-----------|
| src/api.ts | 42 | `account` | `user` (per glossary) |
Use AskUserQuestion for each:
Append to GLOSSARY.md (create it if missing). Mark as [manual] so --scan preserves it.
# Ubiquitous Language
> Domain glossary for this project. Auto-generated by `/ubiquitous-language`.
> Terms marked `[manual]` were added by hand and are preserved across scans.
| Term | Definition | Aliases to Avoid | Used In |
|------|-----------|-----------------|---------|
| Vault | A self-contained wiki with its own git repo | repository, folder, workspace | `vaults/`, CLAUDE.md |
| Ingest | Import and process a source into wiki pages | import, add, fetch | `.claude/skills/ingest/` |
| Story `[manual]` | A vertical slice of work in a PRD | task, ticket, issue | `.ralph/prd.json` |
[manual] terms. Never remove or overwrite terms tagged [manual] during a scan.development
--- name: worktree description: Coordinate multiple agents on one repo via a worktree-lock pool, so two agents never clobber each other's working tree. Acquire the first free slot (main, then beta/gamma… worktrees, created on demand), work there on your own branch, release when you've pushed. Use before modifying any repo that might be in use by another agent (factory, dataforce, etc.), or whenever you're told a repo is being worked on. Backed by `ro worktree`. category: development argument-hin
testing
--- name: ship description: Ship a feature branch the local-CI-first way — run the full local gate, push, open a PR, squash-merge, then deploy, without waiting on GitHub Actions. Use when a branch is ready for main and you want it merged and deployed now. Reads CI policy from `ro ci` (default skips remote CI because GitHub Actions billing keeps hitting limits). Sibling to /ro:gh-ship (waits on GitHub checks) and /ro:cf-ship (the deploy half). Triggers on "ship it", "ship this", "merge and deploy
testing
--- name: setup-logging description: Set up (or audit) the observability stack in a TanStack Start + Cloudflare Workers app so it is "diagnosable by default" — structured logging (logtape) with a request context carrying trace_id + userId + tenant/orgId, a trace_id propagated FE→BE→logs→Sentry→PostHog, Cloudflare Workers observability enabled, and Sentry + PostHog wired. Two modes: `setup` (wire it into an app) and `audit` (check an existing app + report gaps). Use when scaffolding a new app, wh
development
Manage credentials INSIDE the active ~/.claude/.env file — read which token/account to use for a given app (Simplicity vs Dataforce vs Ronan-personal), add or update a secret WITHOUT it passing through the chat (an interactive Terminal window prompts for it), and track secrets that were exposed in a transcript so they get rotated. Sibling to /ro:context (which switches WHICH env file is active). Use when the user wants to add an API key/token/secret, asks "which credential do I use for X", needs the env organized/labelled, or a secret was pasted into the chat and should be rotated.