data-integrity
Skill0 starsChanged 5 months agoMITView on GitHub
For the Data Modeler (05). Design data with integrity, growth, backup and migrations with rollback; access layer, single writer, read-only readers. Use it when modeling entities and the DATAMODEL.md.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- globalmpc/backendskillstheir own version, first seen Nov 8, 2026
- mawero83/google-sre-skillstheir own version, first seen Nov 1, 2026
- ack-solutions/claude-code-ai-skillstheir own version, first seen Oct 11, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- novatic-cu/nova-skillstheir own version, first seen Sep 20, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- nahid-sparktales/agent-dispatcher★ 59same name
- globalmpc/backendskills★ 44same name
- mawero83/google-sre-skills★ 18same name
- ack-solutions/claude-code-ai-skills★ 1same name
- novatic-cu/nova-skills★ 1same 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 repository20 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- adopt-groundSkill
- agent-authoringSkill
- architecture-decisionSkill
- asset-sourcingSkill
- brand-evaluation-rubricSkill
- criticSkill
- diagrams-gateSkill
- drift-protocolSkill
- env-reproducibleSkill
- orchestrator-bridgeSkill
- project-cleanupSkill
- qa-eyesSkill
- qa-visual-criteriaSkill
- research-methodologySkill
- security-auditSkill
- setupSkill
- smoke-testSkill
- technical-documentationSkill
- visualizerSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
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
- Distinctive: line 11
NEVER modify data directly — always via the access layer.
- Distinctive: line 13
READ-ONLY READERS — separate the read layer from the write layer.
- Distinctive: line 14
ALWAYS BACK UP — if the user can't recover the data, there is a backup.
- Distinctive: line 15
EVERY MIGRATION HAS A ROLLBACK — defined and tested before running.
“Common” is measured: kept by at least 6 in 10 of the 3 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
SKILL: data-integrity
For: Agent 05 — DATA MODELER
Version: 1.0.0
Global principles — apply to all projects
- NEVER modify data directly — always via the access layer.
- SINGLE WRITER — one write point per critical entity.
- READ-ONLY READERS — separate the read layer from the write layer.
- ALWAYS BACK UP — if the user can't recover the data, there is a backup.
- EVERY MIGRATION HAS A ROLLBACK — defined and tested before running.
Process
STEP 1 — Identify entities: what exists, attributes, relationships, which are critical (irreversible loss) vs derived (recomputable). STEP 2 — Classify by criticality: CRITICAL → IMPORTANT → DERIVED → TEMPORARY. STEP 3 — Design the schema: precise types, indexes for frequent queries, NOT NULL/UNIQUE/FK/CHECK constraints. Don't optimize prematurely. STEP 4 — Design for growth: optional fields, PKs with no business logic, N:M relationships from the start if there's risk, types with headroom. STEP 5 — Design migrations: forward script + rollback + affected data. STEP 6 — Define backup: frequency, location, integrity verification, restore process.
Schema criteria
Names: tables plural, descriptive columns, FKs named to indicate the relationship. Types: dates as date, booleans as boolean, IDs as integer or UUID. Constraints: NOT NULL where there's always a value, UNIQUE where applicable, CASCADE/RESTRICT per logic.
Warning signs — escalate to the orchestrator
⚠ Table with more than 40 columns ⚠ Critical data with no backup ⚠ Migration that drops columns with existing data ⚠ JOIN of more than 4 tables ⚠ Business data in unstructured JSON ⚠ PK based on business logic
DATAMODEL.md structure
Entities → Relationships → DDL schema → Indexes → Migrations → Criticality classification → Backup strategy → Integrity plan → Conflict warnings
Mistakes to avoid
× Designing only for the current state × Strings for dates or booleans × Migrations without rollback × Assuming backup happens later
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.

