web-database-validator
Skill11 starsChanged 9 months agoApache-2.0View on GitHub
Validate database schema, migrations, indexes, and query behavior with structured pass/fail reporting.
In this repository43 other files it gives its agents.
- agentic-mcp-server-builderSkill
- agentic-workflow-automationSkill
- cyber-ir-playbookSkill
- cyber-kev-triageSkill
- cyber-owasp-reviewSkill
- dl-transformer-finetuneSkill
- docs-pipeline-automationSkill
- google-workspace-automationSkill
- ml-experiment-trackerSkill
- ml-model-eval-benchmarkSkill
- nmap-pentest-scansSkill
- pentest-active-directorySkill
- pentest-api-attackerSkill
- pentest-auth-bypassSkill
- pentest-c2-operatorSkill
- pentest-cloud-auditorSkill
- pentest-container-k8sSkill
- pentest-data-exfil-testerSkill
- pentest-engagement-plannerSkill
- pentest-injection-engineSkill
- pentest-lateral-movementSkill
- pentest-mobile-auditorSkill
- pentest-network-exploiterSkill
- pentest-network-scannerSkill
- pentest-priv-escalationSkill
- pentest-recon-osintSkill
- pentest-redteam-opsSkill
- pentest-remediation-validatorSkill
- pentest-report-generatorSkill
- pentest-social-engineerSkill
- pentest-vuln-analyzerSkill
- pentest-web-app-attackerSkill
- pentest-wireless-attackerSkill
- skill-creator-proSkill
- web-api-testerSkill
- web-auth-integratorSkill
- web-backend-builderSkill
- web-deploy-launcherSkill
- web-frontend-designerSkill
- web-frontend-testerSkill
- web-security-auditorSkill
- web-stack-plannerSkill
- web-ux-architectSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Read project-config.json and ORM schema files.
- Distinctive: line 27
Run migrations in a local test database (Docker or in-memory SQLite for dry runs).
- Distinctive: line 35
Run query checks for row counts, relationships, and cascades.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web Database Validator
Objective
Validate schema and query quality after backend scaffolding, including migration sanity checks and performance guardrails.
Required Workflow
- Read
project-config.jsonand ORM schema files. - Run migrations in a local test database (Docker or in-memory SQLite for dry runs).
- Validate:
- foreign key constraints
- indexes on foreign keys and hot query columns
- N+1 query risk with query logs or explain plans
- soft-delete fields where required
- auto timestamps (
created_at,updated_at)
- Seed realistic test data using Faker.js or Python Faker.
- Run query checks for row counts, relationships, and cascades.
- Output
db-validation-report.jsonwith pass/fail per check.
Execution
python skills/web-database-validator/scripts/database_validator.py --input <workspace> --output <out.json> --format jsonReferences
references/tools.md
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.

