agentleFS
AgentiveStackAgentiveStack/skills/domain/SKILL.md

domain

Skill72 starsChanged 7 months agoMITView on GitHub

Cook a plan against the project's domain model. Stress-tests terminology, surfaces contradictions with code, and updates CONTEXT.md, UBIQUITOUS_LANGUAGE.md, and ADRs inline as decisions crystallize. Use when planning a feature, refactoring, or any work that touches domain boundaries.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use frontend, security and 5 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.
  • imehrSkill

    frontend

    Use when building UI components, pages, or features - guides Claude through the approved frontend stack (Next.js 15, React 19, Shadcn, Tailwind) with design-first workflow for complex UIs, enforcing patterns and quality standards

    Also in 3 projects that use this

  • 0xSeroSkill

    security

    Also in 4 projects that use this

  • AnasX7Skill

    improve

    Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.

    Also in 3 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 4 projects that use this

  • AnthropicSkill

    architecture

    Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.

    Also in 3 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 5 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask questions one at a time, waiting for feedback before continuing.

    line 12
  2. Distinctive:

    If a question can be answered by exploring the codebase, explore the codebase instead of asking.

    line 14
  3. Distinctive:

    Before starting, find and read existing domain documentation.

    line 18
  4. Distinctive:

    If none of these exist, that's fine — create them lazily as decisions are made (see below).

    line 25
  5. Distinctive:

    If a context map exists, determine which bounded context(s) the plan falls within.

    line 31
  6. Distinctive:

    When the user uses a term that conflicts with the ubiquitous language, call it out immediately:

    line 35
  7. Distinctive:

    When the user uses vague or overloaded terms, propose a precise canonical term:

    line 41
  8. Distinctive:

    When domain relationships are discussed, stress-test them with specific scenarios.

    line 47
  9. Distinctive:

    When the user states how something works, verify against the code.

    line 53
  10. Distinctive:

    When a term is resolved or a decision is made, update the relevant file immediately.

    line 59
  11. Very specific:

    Update docs/UBIQUITOUS_LANGUAGE.md with the new or refined term

    line 62
  12. Very specific:

    Update the relevant docs/contexts/<name>/CONTEXT.md if the term is context-specific

    line 63
  13. Very specific:

    Update the relevant CONTEXT.md with new invariants, contracts, or ownership changes

    line 66
  14. Very specific:

    Update docs/CONTEXT_MAP.md if relationships between contexts changed

    line 67
  15. Distinctive:

    Only create an ADR when ALL THREE conditions are met:

    line 70
  16. Very specific:

    Use sequential numbering: 001-slug.md

    line 75
  17. Distinctive:

    Keep ADRs minimal: title + 1-3 sentences (context, decision, why).

    line 76
  18. Distinctive:

    If documentation files don't exist yet, create them only when you have something to write:

    line 80

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

Domain Model Cooking Session

Interview relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.

Ask questions one at a time, waiting for feedback before continuing.

If a question can be answered by exploring the codebase, explore the codebase instead of asking.

Discover project context

Before starting, find and read existing domain documentation. Check these locations (in order):

  1. docs/CONTEXT_MAP.md — if it exists, this is a multi-context project. Read it to understand bounded contexts and their relationships.
  2. docs/UBIQUITOUS_LANGUAGE.md — the shared glossary. Read it to understand canonical terms.
  3. docs/contexts/*/CONTEXT.md — per-context documentation. Read the ones relevant to the current plan.
  4. CLAUDE.md — project-level context.

If none of these exist, that's fine — create them lazily as decisions are made (see below).

During the session

Identify which context(s) this plan touches

If a context map exists, determine which bounded context(s) the plan falls within. If the plan spans multiple contexts, call that out explicitly — cross-context work needs extra care around contracts and shared kernels.

Challenge against the glossary

When the user uses a term that conflicts with the ubiquitous language, call it out immediately:

"Your glossary defines 'change' as a persisted set of DOM mutations (ChangeSpec). You're using 'change' to mean something different here — which meaning do you intend?"

Sharpen fuzzy language

When the user uses vague or overloaded terms, propose a precise canonical term:

"You're saying 'user data' — do you mean the Visitor (anonymous deviceId), the Profile (identified via identify()), or the Member (org membership)? Those are three different concepts."

Discuss concrete scenarios

When domain relationships are discussed, stress-test them with specific scenarios. Invent edge cases that probe boundaries:

"What happens when an experiment is running on /pricing and someone deploys a change spec to the same page? Do they conflict? Which takes priority?"

Cross-reference with code

When the user states how something works, verify against the code. If you find a contradiction, surface it:

"You said goals are hard-deleted, but the code sets isActive = false — which is the intended behavior?"

Update documentation inline

When a term is resolved or a decision is made, update the relevant file immediately. Don't batch these up.

For terminology changes:

  • Update docs/UBIQUITOUS_LANGUAGE.md with the new or refined term
  • Update the relevant docs/contexts/<name>/CONTEXT.md if the term is context-specific

For domain model changes:

  • Update the relevant CONTEXT.md with new invariants, contracts, or ownership changes
  • Update docs/CONTEXT_MAP.md if relationships between contexts changed

For decisions:

  • Only create an ADR when ALL THREE conditions are met:
    1. Hard to reverse — the cost of changing your mind later is meaningful
    2. Surprising without context — a future reader will wonder "why did they do it this way?"
    3. Result of a real trade-off — there were genuine alternatives and you picked one for specific reasons
  • ADRs go in docs/contexts/<name>/adrs/ (context-specific) or docs/adrs/ (cross-context)
  • Use sequential numbering: 001-slug.md
  • Keep ADRs minimal: title + 1-3 sentences (context, decision, why). Optional sections (considered options, consequences) only when they add genuine value.

Lazy file creation

If documentation files don't exist yet, create them only when you have something to write:

  • First term resolved → create UBIQUITOUS_LANGUAGE.md
  • First context-specific decision → create that context's CONTEXT.md
  • First cross-context relationship → create CONTEXT_MAP.md
  • First ADR-worthy decision → create the adrs/ directory and first ADR

Related skills

  • /spec — after cooking, formalize the plan into a spec
  • /holistic — zoom out to understand how this plan fits the bigger picture
  • /architect — surface architectural friction and design deep module interfaces

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.