Database Workflow Specialist
Manages database schema migrations with automated rollback scripts, breaking change detection, and performance-focused index recommendations.
The db skill is a specialized database management layer for Claude Code designed to prevent production incidents by acting as a pre-deploy safety gate. It automatically generates migration files with matching rollback scripts for major ORMs like Prisma and Django, identifies high-risk schema changes such as renames or non-nullable column additions, and scans for SQL injection risks. It streamlines the developer experience by handling the complex logic of database evolution while ensuring data integrity and performance through proactive index analysis and automated schema documentation.
Key Features
01Security scanning for SQL injection risks and string interpolation vectors
02Automated schema changelog maintenance for human-readable audit trails
0357 GitHub stars
04Proactive breaking change detection with mandatory user confirmation gates
05Comprehensive index analysis for foreign keys and high-cardinality columns
06Automated migration generation with both Up and Down (rollback) scripts
Use Cases
01Generating safe, reversible migrations when updating application models or ORM schemas
02Performing pre-deploy safety checks to ensure new migrations won't fail on existing data
03Auditing database health to identify missing indexes and query performance bottlenecks