The DB skill is a comprehensive database management layer for Claude Code designed to prevent production incidents. It automates the generation of bidirectional migrations (up/down) across major ORMs, performs rigorous impact analysis to flag breaking schema changes, and scans for security vulnerabilities like SQL injection. By acting as an intelligent pre-deploy gate, it ensures that every database modification is safe, documented, and optimized with proper indexing recommendations.
主要功能
01Breaking change detection with mandatory safety gates for destructive operations
02Automated index recommendations for foreign keys and high-cardinality columns
03Bidirectional migration support ensuring every schema change has a rollback path
04Automated migration generation for major ORMs including Prisma, Django, and TypeORM
05SQL injection vulnerability scanning through query parameterization analysis
0673 GitHub stars
使用场景
01Automating pre-deployment safety checks to prevent breaking changes from reaching production
02Auditing existing repositories for SQL injection risks and missing database indexes
03Generating safe, reversible migration files during active feature development