schema-audit
CommunityComprehensive database schema audit for reliability.
AuthorhamzaPixl
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developers and DBAs often miss hidden issues in database schemas such as redundant indexes, missing foreign keys, naming inconsistencies, N+1 query risks, and unsafe migrations, leading to performance degradation and data integrity problems.
Core Features & Use Cases
- Discovery: Auto‑detects Prisma, SQLAlchemy, raw SQL, or SQLite schemas and migration history.
- Index Audit: Identifies missing, redundant, or poorly named indexes.
- Constraint Audit: Finds absent foreign keys, NOT NULL constraints, and uniqueness gaps.
- Naming Audit: Enforces consistent table and column naming conventions.
- N+1 Risk Analysis: Detects eager‑loading gaps and query patterns that cause N+1 problems.
- Migration Safety: Flags dangerous operations, missing rollbacks, and data‑integrity risks.
- Scorecard: Generates a prioritized report with severity ratings and remediation suggestions.
Quick Start
Run the schema-audit skill on the project’s database schema directory to receive a detailed audit report.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: schema-audit Download link: https://github.com/hamzaPixl/pixl-ai/archive/main.zip#schema-audit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.