agentleFS
Facta-DevFacta-Dev/beautifulqt/.claude/skills/domain-modeling/SKILL.md

domain-modeling

Skill0 starsChanged 20 days agoMITView on GitHub

Sharpens the <app> domain model: challenges conflicting terms, resolves the vocabulary into the project glossary, and records the decisions that deserve an ADR.

198 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping, setup-ts-deep-modules and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 8 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 54 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 76 projects that use this

  • AWSSkill

    wizard

    Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.

    Also in 166 projects that use this

  • LesaniSkill

    writing-shape

    Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

    Also in 74 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 66 projects that use this

  • +1 more from Lesani

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT activate this skill when:

    line 20
  2. Distinctive:

    Only context-specific terms belong.

    line 36
  3. Distinctive:

    Update the glossary inline as terms resolve.

    line 45
  4. Distinctive:

    Call out a conflict with the existing glossary immediately: name the existing definition and the new meaning, then ask which is intended.

    line 47
  5. Very specific:

    Create files lazily: the glossary when the first term is resolved, docs/adr/ when the first ADR is needed.

    line 53
  6. Distinctive:

    Write an ADR only when all three hold: hard to reverse, surprising without context, and the result of a real trade-off.

    line 58
  7. Distinctive:

    Never invent a term the requester did not use or the code does not support.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 186 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

<app> Domain Modeling skill

Reusable workflow for changing the <app> domain model, not just reading it. An agent invokes this skill; the requester supplies the vocabulary, the skill supplies the discipline.

When to Activate

Activate this skill when the <app> domain language is in question: a term is ambiguous or overloaded, a requester describes behavior the code contradicts, a glossary entry needs writing or correcting, or a decision has been made that a future reader would puzzle over.

Do NOT activate this skill when:

  • The request is only to read existing vocabulary (one grep of the glossary is enough).
  • The request is to add or change a test (use tdd).
  • The request is to review a diff for correctness (use review).

Core Principles

  • Changing the model is active work: challenge the term, propose a precise canonical word, and record the resolution the moment it crystallises.
  • One word per concept. Pick the best name and list the rejected ones under _Avoid_, so the vocabulary does not fork.
  • The glossary holds domain language and nothing else: no implementation detail, no spec, no scratch pad.
  • Definitions say what a thing IS, not what it does. One or two sentences.
  • Only context-specific terms belong. Generic programming vocabulary (timeouts, error types, util patterns) stays out even when the project uses it heavily.
  • The code is evidence. When the requester describes behavior, check the code and surface the contradiction instead of silently picking a side.
  • ADRs are offered sparingly. Most decisions are not worth a file.

Rules

  • Update the glossary inline as terms resolve. Do not batch the writes to the end of the session.
  • Call out a conflict with the existing glossary immediately: name the existing definition and the new meaning, then ask which is intended.
  • For a fuzzy or overloaded term, propose one canonical term and its _Avoid_ list rather than leaving both words alive.
  • Stress-test relationships with concrete scenarios that probe edge cases and force the boundaries between concepts to be stated.
  • Create files lazily: the glossary when the first term is resolved, docs/adr/ when the first ADR is needed. Never create empty scaffolding.
  • A single-context repo keeps one glossary at the root. A multi-context repo keeps a root GLOSSARY-MAP.md pointing at each context's glossary and ADR folder, plus the relationships between the contexts.
  • Write an ADR only when all three hold: hard to reverse, surprising without context, and the result of a real trade-off. If one is missing, skip the ADR and say which one was missing.
  • An ADR is one short paragraph: context, decision, reason. Optional sections (status, considered options, consequences) only when they earn their place. Number sequentially in docs/adr/NNNN-slug.md.
  • Never invent a term the requester did not use or the code does not support.

Research References

ClaimSourceYearLink
Glossary terms carry an _Avoid_ list and define what a thing ISmattpocock/skills, skills/engineering/domain-modeling/GLOSSARY-FORMAT.md2026skills/engineering/domain-modeling/GLOSSARY-FORMAT.md
An ADR is warranted only when hard to reverse, surprising, and a real trade-offmattpocock/skills, skills/engineering/domain-modeling/ADR-FORMAT.md2026skills/engineering/domain-modeling/ADR-FORMAT.md
The active discipline: challenge terms, sharpen language, cross-reference the codemattpocock/skills, skills/engineering/domain-modeling/SKILL.md2026skills/engineering/domain-modeling/SKILL.md
The layer law that gives the domain its vocabularyPLAYBOOK_DESKTOP_QT.md §3-PLAYBOOK_DESKTOP_QT.md
Where the ADRs of this repo livedocs/adr/-docs/adr/

Output Format

Deliver, in order:

  1. The resolved terms: canonical term, its definition, and the _Avoid_ list.
  2. The glossary update, written inline.
  3. The ADR, or the reason none was written (which of the three conditions was missing).
  4. Open questions: terms that are still ambiguous and need a decision from the requester.

Example:

domain-modeling: "cancellation" is now canonical for a full Order cancel;
"Avoid: refund, void". Partial cancellation is a different concept and has
no term yet. ADR skipped: the refund policy choice is easy to reverse.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.