agentleFS
stevesolunstevesolun/ctx/.agents/skills/domain-modeling/SKILL.md

domain-modeling

Skill588 starsChanged 4 months agoMITView on GitHub

Clarify domain concepts, language, boundaries, and durable architectural decisions. Use when terminology is ambiguous, the user is shaping a domain model, or a design depends on resolving what concepts mean.

171 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use writing-beats, 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.
  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 24 projects that use this

  • loulanyueSkill

    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 16 projects that use this

  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 5 projects that use this

  • RoentekSkill

    writing-shape

    Writing, exploit — shape raw material into an article, paragraph by paragraph.

    Also in 22 projects that use this

  • pahwarangerSkill

    setup-skills

    Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.

    Also in 7 projects that use this

  • qwlabsSkill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 17 projects that use this

  • +2 more from Roentek

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 160 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use concrete scenarios and edge cases to test whether concepts and boundaries hold.

    line 15
  2. Distinctive:

    Ask the user to resolve a term only when their intent cannot be inferred safely and the distinction affects the outcome.

    line 22
  3. Distinctive:

    Update a glossary or context map when the user requests it or when a resolved term is durable, project-specific, and useful beyond the …

    line 27
  4. Distinctive:

    Follow an existing repository format first.

    line 29
  5. Distinctive:

    Keep domain definitions separate from implementation plans.

    line 37

“Common” is measured: kept by at least 6 in 10 of the 160 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

Model the domain

Build a precise shared understanding of the concepts that matter to the current decision. Read existing glossaries, context maps, ADRs, code, and tests when they provide relevant evidence.

Sharpen the model

  • Identify overloaded terms, hidden distinctions, and conflicting definitions.
  • Use concrete scenarios and edge cases to test whether concepts and boundaries hold.
  • Compare the stated model with behavior in the code and surface material contradictions.
  • Propose clear language when ambiguity is blocking progress, while respecting established repository terminology that remains accurate.

Ask the user to resolve a term only when their intent cannot be inferred safely and the distinction affects the outcome.

Record durable knowledge proportionally

Update a glossary or context map when the user requests it or when a resolved term is durable, project-specific, and useful beyond the current conversation. Follow an existing repository format first; otherwise use the context format as a lightweight starting point.

Record an ADR only when a decision is costly to reverse, surprising without its context, and based on a meaningful tradeoff. Follow existing ADR conventions or use the ADR format. Do not create artifacts merely to complete the workflow.

Keep domain definitions separate from implementation plans. Report unresolved ambiguity and artifact changes explicitly.

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.