data-model
Skill1 starsChanged 3 months agoMITView on GitHub
Defines domain concepts, relationships, state transitions, and invariants before implementation. Use when any of them needs to be introduced, changed, or removed, including stateless rules and pricing engines. Skip when those semantics stay unchanged or are already settled for this task.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- genkovich/sddtheir own version, first seen Oct 25, 2026
- my-chiefmind/ai-maestrotheir own version, first seen Oct 13, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- ryktara/Foundrytheir own version, first seen Sep 25, 2026
- vndee/engineering-skillstheir own version, first seen Mar 22, 2026
Used with
Projects with it also use design-system.
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.
AnthropicSkilldesign-system
Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.
Also in 3 projects that use this
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- genkovich/sdd★ 187same name
- my-chiefmind/ai-maestro★ 6same name
- gonimar/claude-web-studio★ 4same name
- vndee/engineering-skills★ 3same name
- ryktara/Foundry★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- working-from-a-ticketSkill
- writing-specsSkill
- clarifying-intentSkill
- dispatching-parallel-agentsSkill
- handoffSkill
- mapping-the-codebaseSkill
- prototypingSkill
- using-git-worktreesSkill
- using-sdlc-skillsSkill
- viewing-artifactsSkill
- writing-skillsSkill
- yagniSkill
- finishing-a-branchSkill
- release-readinessSkill
- architecture-decisionsSkill
- coding-standardsSkill
- migration-strategySkill
- reviewing-plansSkill
- system-architectureSkill
- ui-ux-designSkill
- writing-plansSkill
- adding-observabilitySkill
- changing-a-live-schemaSkill
- executing-plansSkill
- rollout-controlsSkill
- subagent-driven-developmentSkill
- test-driven-developmentSkill
- complexity-auditSkill
- containing-an-incidentSkill
- debuggingSkill
- deprecating-an-apiSkill
- diagnosing-a-sessionSkill
- eliminating-correctionsSkill
- large-scale-changesSkill
- post-mortemSkill
- refactor-architectureSkill
- brainstormingSkill
- define-goalsSkill
- feasibility-checkSkill
- scopingSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- reviewing-a-prSkill
- security-auditsSkill
- verification-before-completionSkill
- verification-strategySkill
- visual-ui-verificationSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Skip: when domain concepts, relationships, transitions, and invariants are unchanged or already settled for this task.
- Distinctive: line 35
Never drop one as "inapplicable" without it.
- Distinctive: line 36
If anything persists, note denormalized or cached data with its source of truth, update boundary, and drift repair.
- Very specific: line 50
Write the section to .sdlc-skills/designs/{{YYYY-MM-DD}}-{{topic}}.md or the user-set path, preserving the approved sections around it.
- Very specific: line 70
Ask this and end the turn.
- Distinctive: line 71
If option 1 is chosen and every design section the work needs is approved,
- Very specific: line 87
Read references/worked-example.md when a full domain needs modeling end to end at this level of rigor: null semantics, momentary versus …
“Common” is measured: kept by at least 6 in 10 of the 5 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.
Files
Data Model
When to use
- The work introduces or changes domain concepts: persistent entities, or the in-memory ones a stateless engine computes over (pricing, rules, workflow).
- Skip when domain concepts, relationships, transitions, and invariants are unchanged or already settled for this task. Existing concepts can still need remodeling; adding no new entity is not a skip.
Step 1: Model the domain
Open assets/data-model-section.md before the steps below fill it in.
- Name one concept per entity in the domain's language: what it represents, and the words experts use for it. This vocabulary is a deliverable: it is used downstream without being redefined.
- List each entity's attributes with their type and meaning. Write what null means and which enumeration values are allowed, not just the column.
- Map the relationships: cardinality, ownership, and what cascades on delete.
- Draw the state transitions of each concept that has a lifecycle.
- For each invariant that must never break, name what enforces it (a constraint, a transaction boundary, a test, or a reconciliation) and who owns failures.
Step 2: Lenses, storage, evidence
- Apply each of the template's eight operational lenses that matches the risk. If a lens is omitted, write a skip record with that row's fields. Never drop one as "inapplicable" without it.
- If anything persists, note denormalized or cached data with its source of
truth, update boundary, and drift repair. If the change is to an existing
model, fill the template's High-risk classification block. If the route is
the ordinary one, define migration, mixed-version, and rollback behavior
(
changing-a-live-schemabuilds them). If any answer is off the ordinary route, record the domain constraints;migration-strategyowns the contract. - Trace representative reads, writes, transitions, concurrent operations, deletions, and existing-data migrations. When a runnable query exists, record it and its result. Otherwise name the check that will run later and who owns it; never pretend it ran.
Step 3: Write and present
- Write the section to
.sdlc-skills/designs/{{YYYY-MM-DD}}-{{topic}}.mdor the user-set path, preserving the approved sections around it; once its identity is issued, the section is never edited. Fill the header: predecessor, approval rule, the location of its ledger (the decision record: add to it, never rewrite it, and keep it outside the design), and the stable ID delta. The identity goes in the ledger row, never the header. Present:
{{Section}} {{path}} — version {{identity (per template)}} {{summary lines}} 1. Approve and hand off to planning 2. Request changes 3. Reject 4. Cancel Recommendation: {{option}} — {{one sentence}}.Ask this and end the turn;
clarifying-intentowns what closes it.- If option 1 is chosen and every design section the work needs is approved,
REQUIRED SUB-SKILL: invoke
writing-plansagainst this version.
Gotchas
- The eight operational lenses in Step 2 are counted, and an omitted one needs its own skip record, but the lenses themselves live in the template, not in this file. Working from memory instead of the template's list is how a lens gets skipped with no skip record, because nothing here tells you which eighth lens you forgot.
- Cardinality has a steady-state value and a momentary one: during creation, before a required relationship holds, and during deletion, when a cascade fires into one. Step 1's cardinality mapping does not separate the two, so documenting only the steady state leaves the code free to do anything at those edges without that being a documented deviation.
Read references/worked-example.md when a full domain needs modeling end to
end at this level of rigor: null semantics, momentary versus lifetime
cardinality, state transitions, invariants, denormalization.
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
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.

