layers-domain — Claude Code skill: what it does, how to install
A technique library for mapping real-world domain concepts, terminology clashes, and bounded contexts before shaping a product.
npx skills add jamiemill/layers-skills --skill layers-domain -a claude-codeWhat layers-domain does
The skill outlines methods for examining how a domain works independently of any software. It details techniques such as concept maps, terminology audits, bounded-context mapping, and noun harvesting. The goal is observation rather than product design.
Its core discipline requires recording contradictions instead of resolving them early. When two teams use the same term for different concepts, the skill documents that polysemy as raw data. It also separates true objects from mere instances.
Working with the skill requires loading /layers-intro first. In projects where the domain is already uncontested, teams skip this layer to move straight ahead. The resulting noun harvest feeds directly into /layers-conceptual-model.
What it helps with
- audit domain vocabulary for synonyms and polysemy
- map relationships between concepts without forcing premature structure
- isolate bounded contexts across different user groups
- compile a classified noun harvest for conceptual modeling
- trace process sequences using domain event storming
Example prompts for the agent
- Load /layers-domain and help me run a terminology audit for our domain
- Use /layers-domain to build a concept map and extract candidate nouns
- Run domain event storming with /layers-domain for our order fulfillment flow
How to install layers-domain
1Skills CLI (Vercel)
npx skills add jamiemill/layers-skills --skill layers-domain -a claude-code2Manually: put the files in place
~/.claude/skills/layers-domain/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/layers-domain/
1Skills CLI (Vercel)
npx skills add jamiemill/layers-skills --skill layers-domain -a codex2Manually: put the files in place
.agents/skills/layers-domain/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add jamiemill/layers-skills --skill layers-domain -a cursor2Manually: put the files in place
.cursor/skills/layers-domain/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install jamiemill/layers-skills layers-domain2Manually: put the files in place
.github/skills/layers-domain/SKILL.md1Skills CLI (Vercel)
npx skills add jamiemill/layers-skills --skill layers-domain -a gemini-cli2Platform CLI
gemini skills install https://github.com/jamiemill/layers-skills --path skills/layers-domainManually: put the files in place
.devin/skills/layers-domain/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add jamiemill/layers-skills --skill layers-domain -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about layers-domain
How do I install layers-domain in Claude Code?
Run npx skills add jamiemill/layers-skills --skill layers-domain -a claude-code in your terminal.
What does layers-domain do?
It provides techniques to map real-world domain concepts, vocabulary conflicts, and bounded contexts before software design starts.
What prerequisites does layers-domain require?
The skill assumes that /layers-intro is loaded first, though teams with an uncontested domain can skip directly to the conceptual model.
Source text
SKILL.md · MIT
--- name: layers-domain description: Techniques for mapping a domain's concepts, terminology conflicts, and bounded contexts — the raw material the conceptual model is built from --- # /layers-domain *Assumes `/layers-intro` has been loaded. This skill is a library of techniques, not a script — see "How to use these skills" there.* The domain layer maps what exists in the real world independently of any product: the concepts, terminology, processes, relationships, and mental models users bring with them. This is observation, not design. --- ## The decisions this layer makes - What the key concepts in this domain are, and how they relate - What language people use — and where it conflicts or diverges - Where the natural seams are: communities that use the same words differently - What events and processes structure the domain's activity over time If the domain is already well understood and uncontested, you may not need this layer — go straight to the conceptual model. --- ## Disciplines — what keeps domain work honest - **Don't resolve contradictions — record them.** Messy, inconsistent domain language is *data*: it signals where communities have diverged and where the product will later have to choose. Resolution belongs to the conceptual model, not here. Capture **synonyms** (same thing, different names) and **polysemy** (same name, different things in different contexts) as findings, not problems. - **Stay in the real world.** Push back whenever answers drift toward product or interface decisions. The question is always how the domain works *before* your product enters it. - **Real objects vs instances** (for the noun harvest). A true object is *instanceable* (you can have many), *structured* (has its own attributes), and *useful* (people care about it in its own right). Watch for instances mistaken for objects: "CAC", "ROAS", "LTV" aren't objects, they're instances of one object, **Metric**. Mark each noun *object / attribute / instance-or-value / unclear* — and don't filter aggressively; the conceptual model does the sorting. - **Beliefs vs reality.** If you're mapping what the team believes rather than researched fact, say so throughout — it's the team's model, not necessarily how users experience the domain. --- ## Techniques Pick what fits — concept mapping plus a terminology audit is the usual core. | Technique | Use it when | |---|---| | **Concept maps / bubble diagrams** (`graph TD`/`LR`) | The domain is complex and poorly understood. Informal nodes-and-lines show how concepts relate without forcing premature structure. | | **Terminology audit** | Capture, per concept: the names used, who uses which and when, and whether the conflict is synonymy or polysemy. Don't pick a winner. | | **Bounded-context mapping** | Communities share vocabulary internally but diverge across groups. Name and describe each seam — it will matter when the model is defined. | | **Noun harvest** | Compile every noun surfaced, marked object / attribute / instance-or-value / unclear. Raw material for the conceptual model. | | **Domain event storming** (Brandolini) | Process-heavy domain. Name significant events in past tense on a timeline; note triggers and results. Objects with events around them likely need state diagrams later. | | **Expert interviews** | Domain knowledge lives in people, not documents — surfaces tacit knowledge and contested terms. | | **Document & artefact analysis** | The domain produces contracts, forms, invoices that reveal natural structure and vocabulary. | | **Competitive analysis** | Entering an established domain — existing products reveal how others modelled it, and where they disagree. | | **Shadowing** | Workflows are hard to articulate; watching reveals what people actually do. | --- ## Working with the designer Open by asking what domain you're mapping, who operates in it, and what they're trying to accomplish before any product exists. Then surface concepts — listen for nouns (candidate objects), verbs (processes), and the natural vocabulary, including what people *actually call* things. Offer the technique that fits the live question: a concept map when relations are unclear, a terminology audit when language is contested, event storming when the domain is process-heavy. Do the next useful thing, not all of them. Capture only the residue — the concept map if it earned its place, the documented terminology conflicts and bounded contexts, any key events, and the noun harvest. This is raw material, not a finished document. When the domain is mapped, the noun harvest is the starting point for `/layers-conceptual-model`.
© jamiemill · MIT · jamiemill/layers-skills