data-validation
Skill0 starsChanged 9 days agoMITView on GitHub
Data validation audit - maps every point where data enters a system (requests, imports, third-party responses, queues, model output) and checks that it is parsed, constrained and rejected clearly, that business rules and database constraints hold, and that stored data stays consistent. Optional finance and ML data packs. Stack-agnostic.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Eleven-M/flowmindtheir own version, first seen Nov 8, 2026
- northraystudio/marudatheir own version, first seen Oct 22, 2026
- ymd38/dev-skillstheir own version, first seen Oct 22, 2026
- edu6565/claude-skillstheir own version, first seen Oct 11, 2026
- ChloeQcc/skillstheir own version, first seen Aug 20, 2026
- albertdobmeyer/openskill-forgetheir own version, first seen Apr 2, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- northraystudio/maruda★ 7same name
- ymd38/dev-skills★ 7same name
- ChloeQcc/skills★ 2same name
- albertdobmeyer/openskill-forge★ 1same name
- Eleven-M/flowmind★ 1same name
- edu6565/claude-skills★ 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 repository19 other files it gives its agents.
- accessibilitySkill
- api-designSkill
- auth-designSkill
- copywriteSkill
- dep-auditSkill
- designSkill
- design-systemSkill
- de-slopSkill
- documentationSkill
- observabilitySkill
- perf-checkSkill
- refactorSkill
- resilienceSkill
- retention-auditSkill
- security-auditSkill
- seo-auditSkill
- technical-reviewSkill
- testingSkill
- workflow-auditSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
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 39
Check the database schema and migrations before reporting "no validation": a constraint there is a valid control, and its absence is its …
“Common” is measured: kept by at least 6 in 10 of the 4 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 engineer. Find where the system accepts data it shouldn't, trusts data it can't, or carries on quietly when data is wrong. Bad data is rarely loud: it becomes a wrong total, a failed job next week, or a record nobody can explain. Judge each entry point by what happens to a malformed, hostile or merely unexpected value.
Scope: parsing and constraints at entry points, schemas as the source of truth, business rules, stored-data integrity, finance and ML data packs. Not in scope: exploiting input (injection, XSS, traversal, uploads, SSRF) is security-audit; retries and timeouts are resilience; API contract shape is api-design. Where a finding is mainly a vulnerability, name it and hand it over.
Workflow
- Context. Load
references/method.md. Establish what the data represents, what a wrong value costs (money, safety, legal, trust), and where data comes from. Ask only what the repo can't answer. - Detect stack and domain. Glob manifests (
package.json,pyproject.toml,requirements.txt,go.mod,Gemfile,pom.xml,Cargo.toml, excluding vendored dirs) and schema/migration files. Note the validation library (Zod, Valibot, Pydantic, Joi, class-validator, Bean Validation, JSON Schema, or none), ORM and database, and domain signals: money (amount,invoice,ledger), ML (train,predict,feature,embedding), imports (csv,upload,ingest,etl). - Map the entry points. List every place data crosses into the system: HTTP routes, forms, file and CSV imports, webhooks, queue consumers, CLI arguments, scheduled ingests, responses from third-party APIs, and model or LLM output. For each: schema or parser, constraints, behaviour on failure, and where it is stored. The gaps drive the findings.
- Scope. Offer: Full (all modules, plus domain packs found) | Quick (boundaries, schemas, business rules) | Targeted (a module, an entry point, or a data domain). Skip if specified.
- Analyse. Load the chosen modules. Grep hits are leads; read the code, trace where the value goes next, and check whether the database enforces it too.
- Report in the format below.
| Module | Covers |
method.md | Entry-point map, validation layers, failure behaviour, evidence rules, stored-data checks |
boundaries.md | Parsing and constraints at requests, imports, files, webhooks, third-party responses, time, units and text |
schemas.md | One schema as the source of truth, strict vs lenient parsing, drift between layers, coercion traps |
business-rules.md | Cross-field rules, state transitions, uniqueness, limits, where rules live |
integrity.md | Database constraints, transactions, races, idempotency, deletes and cascades, orphans |
finance.md | Optional pack: money representation, rounding, currency, duplicate payments, audit trail, reconciliation |
ml-data.md | Optional pack: training data, features, inference input, labels, leakage, drift |
Confidence
| Level | Meaning |
| Confirmed | The missing or wrong control is visible and the value reaches storage or a decision |
| Likely | The code is silent, but a framework, ORM or database constraint may cover it; name the check |
| Possible | Depends on data already stored or inputs not visible; goes under "Needs verification" |
Check the database schema and migrations before reporting "no validation": a constraint there is a valid control, and its absence is its own finding.
Severity
By consequence of bad data getting in:
- Critical: corrupts or loses data, moves money wrongly, breaks a legal obligation, or lets one tenant's input affect another.
- High: bad data is stored and used (wrong totals, impossible states, duplicates), or a trusted-input assumption is violable from outside.
- Medium: weak or inconsistent validation, poor error messages, drift between layers.
- Low: edge cases and polish. List in one line.
Report format
# Data Validation Audit: [project]
Domain: [...] | Stack: [...] | Scope: [...]
Findings: Critical X | High Y | Medium Z | Low W (Confirmed a | Likely b | Possible c)
## Entry-point map
| Entry point | Parsed by | Constraints | On failure | Stored in | DB enforces |
## [SEVERITY] Title (boundary | schema | rule | integrity | finance | ml) · [confidence]
- Location: `file:line` (+ N other places)
- What gets through: the concrete bad value and where it ends up
- Consequence: what breaks, for whom, and when it is noticed
- Fix: concrete change, at the right layer
- Verify: a test input, or a read-only check for existing bad data
## Existing-data checks (see below)
## Needs verificationGroup repeated patterns ("7 routes read req.body without a schema"). Skip validation that merely repeats a database constraint with no better message, and code that only receives already-validated values.
Existing data (consent required)
Code shows what the system accepts from now on, not what is already stored. For each invariant the code assumes, supply a read-only query or script that counts violations (orphans, duplicates, nulls where "never null", out-of-range values, impossible states). Run one only if the user approves that specific command and confirms the target is a safe dev or test copy, not live data. Never run anything that writes. Report counts, not row contents, when rows may hold personal data.
After the report
Offer: fix Critical and High findings | introduce a schema layer at the boundaries | add the missing database constraints (with a migration plan for existing violations) | add tests with the bad inputs from "Verify". Make no changes until the user picks.
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.

