db-check
Skill73 starsChanged 4 months agoMITView on GitHub
Validate database schema integrity and check for common issues
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Nirusan/claude-configtheir own version, first seen Oct 13, 2026
- gregpa/claude-skillstheir own version, first seen Jul 29, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Nirusan/claude-config★ 7same name
- gregpa/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 repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- memory/CLAUDE.mdCLAUDE.md
- changelogSkill
- deploy-checkSkill
- e2e-checkSkill
- elicit-requirementsSkill
- load-sessionSkill
- pr-reviewSkill
- register-projectSkill
- review-diffSkill
- review-fullSkill
- save-diarySkill
- save-sessionSkill
- scaffold-projectSkill
- self-auditSkill
- session-endSkill
- sprint-planSkill
- statusSkill
- tech-radarSkill
- test-checkSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Read the ORM schema file (e.g., prisma/schema.prisma, drizzle/schema.ts, SQLAlchemy models, ActiveRecord schema, Entity Framework …
- Distinctive: line 10
CRITICAL: Check all database tables have ORM models (unmodeled tables may be dropped on schema sync, e.g.
- Distinctive: line 11
Check for missing indexes on foreign keys and frequently queried columns
- Very specific: line 13
Verify undefined vs null usage in all ORM create/update operations
- Distinctive: line 14
Check raw SQL queries for injection vulnerabilities (parameterized queries required)
- Distinctive: line 15
Verify referential integrity (cascade rules, orphan prevention)
- Distinctive: line 16
Check for date handling issues (check CLAUDE.md for system-specific date formats)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Database health check for the current project:
- Read the ORM schema file (e.g.,
prisma/schema.prisma,drizzle/schema.ts, SQLAlchemy models, ActiveRecord schema, Entity Framework DbContext, GORM structs, or equivalent) and analyze all models - CRITICAL: Check all database tables have ORM models (unmodeled tables may be dropped on schema sync, e.g. Prisma db push; know whether your ORM's sync command is destructive)
- Check for missing indexes on foreign keys and frequently queried columns
- Scan services for N+1 query patterns (missing eager loading / includes in queries)
- Verify
undefinedvsnullusage in all ORM create/update operations - Check raw SQL queries for injection vulnerabilities (parameterized queries required)
- Verify referential integrity (cascade rules, orphan prevention)
- Check for date handling issues (check CLAUDE.md for system-specific date formats)
- Review migration history for risky operations
Report findings with severity: CRITICAL / HIGH / MEDIUM / LOW.
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.

