auto
Run a SpecWeave increment unattended until every task is done, then verify and close - the Unattended section of sw-do. Use for…
Build the shared language - interview the user term by term and write GLOSSARY.md with what each term means in the business, the data, the code and the UI. Use for "glossary", "ubiquitous language".
$ npx -y skills add anton-abyzov/specweave --skill sw-glossary --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sw-glossaryContext preview
The summary Claude sees to decide when to auto-load this skill.
Build the shared language - interview the user term by term and write GLOSSARY.md with what each term means in the business, the data, the code and the UI. Use for "glossary", "ubiquitous language".
description: Build the shared language - interview the user term by term and write GLOSSARY.md with what each term means in the business, the data, the code and the UI. Use for "glossary", "ubiquitous language". argument-hint: "[term...] [--check]" version: 1.0.0
Domain-driven design's ubiquitous language: an Order should be an Order when the client talks about it, in the database, in the code and on the screen. When the words drift ("purchase" table, `Order` type, "basket" button), agents spend tokens decoding jargon, name new code inconsistently and build the wrong thing. A short glossary fixes that for every session after it. Run this at a project's start, when a new domain area arrives, or whenever one word means two things or two words mean one.
One file at the repository root. A repo with several bounded contexts keeps a `GLOSSARY-MAP.md` at the root that links one `GLOSSARY.md` per context; follow it. Create the file when the first term settles, never empty.
# Glossary A shop that sells refurbished laptops to small businesses. ## Ordering ### Order A customer's request to buy one or more products, placed at checkout and paid once. - Avoid: purchase, basket, transaction - Data: `orders` table; its lines in `order_lines` - Code: `Order` in `src/orders/order.ts`; `POST /orders` - UI: "Order", "My orders" - Rules: never deleted; cancelling sets the status to cancelled
sentences. No implementation detail there.
type and file names in backticks so `specweave glossary check` can find them. Leave out a level the term does not have.
terms even if the code uses them everywhere.
1. **Harvest.** Read the README, the schema or migrations, the models and types, the routes and the UI strings. List the nouns that recur, and every mismatch: one concept with several names (`purchases` table, `Order` type, "Basket" label) and one name with several meanings ("account" as login and as billing account). 2. **Ask in rounds**, as sw-grill-me does: a few terms per round, each question with your recommended answer, worded so "yes" accepts it. "The table is `purchases`, the type is `Order`, the button says Basket. Call all three an Order?" Use your tool's structured question tool when it has one. 3. **Sharpen with scenarios.** "A customer pays for 3 items and one ships late: one Order or two?" Invent the edge case that forces a boundary. 4. **Check the code.** When the user says how something works, read the code. If it disagrees ("the code cancels whole Orders; you said a single line can be cancelled"), say so and settle which one is right. 5. **Write each term as it settles**, not in a batch at the end. 6. **Drift is work, not an edit.** Where the code or data uses an avoided word, do not rename silently. List it for the user, and plan the renames as an increment (sw-increment): a table rename is a migration and the user's call.
and backticked `Data` or `Code` names that no longer exist, with `file:line`. `--strict` exits 1 when it finds any, for CI. `--json` for tools.
`specweave skills enable glossary` installs this skill. A `GLOSSARY.md` or `GLOSSARY-MAP.md` at the root installs it too, and adds a short "Shared language" section to AGENTS.md on the next `specweave update`.
Write GLOSSARY.md by hand in the format above. Without the check, search the code for each avoided word yourself (`git grep -n -i -w purchase`) and read the hits.
Adapted from mattpocock/skills `domain-modeling` (MIT, Copyright (c) 2026 Matt Pocock); see `references/credits.md`.
Spec-first AI development: describe a feature → AI creates spec + plan + tasks, builds autonomously, syncs to GitHub/JIRA. Domain-expert skills for PM, Architect, Frontend, QA learn your patterns permanently. Claude Code, Codex, Cursor, Copilot & more.
Run a SpecWeave increment unattended until every task is done, then verify and close - the Unattended section of sw-do. Use for…
Work a SpecWeave increment task by task - claim, implement inside its Files, test, commit, done with evidence - alone, unattended…
Close a SpecWeave increment - every task done or skipped, specweave verify green, a fresh-context review, then specweave…
Hand work to another tool, account or machine and pick it up there, in two words. Use when the user says "hand off", "hand off…
Plan work as a SpecWeave increment - one spec.md with Problem, Scope, numbered ACs, Approach and Tasks - before writing code. Use…
Adversarial review of an increment before it ships, by a fresh context or another model family; every finding cites path:line and…