Database Safety & Performance Reviewer
Reviews database migrations, schemas, and query patterns to ensure data safety, performance, and secure multi-tenancy.
The review-database skill functions as a specialized database engineer within Claude Code, providing rigorous audits of SQL migrations, Row Level Security (RLS) policies, and ORM access patterns. It proactively detects high-risk issues such as destructive schema changes, N+1 query bottlenecks, and tenant isolation vulnerabilities across various engines including Postgres, MySQL, and SQLite. By enforcing best practices for indexing, transaction safety, and data types, this skill helps developers prevent production downtime and data loss while ensuring application code interacts efficiently with the database layer.
Características Principales
01Deep analysis of Row Level Security (RLS) policies for multi-tenant isolation.
02Detailed remediation reports including specific SQL fix suggestions and migration strategies.
03Query performance profiling to detect N+1 issues and missing indexes.
04Automated migration safety audits to prevent data loss and production downtime.
055 GitHub stars
06Cross-engine support for Postgres, MySQL, SQLite, and popular ORMs like Prisma and Drizzle.
Casos de Uso
01Reviewing complex SQL migrations before deployment to avoid table-locking operations.
02Identifying and fixing performance bottlenecks in application-layer database queries.
03Auditing Supabase or Postgres RLS policies to ensure users cannot access other tenants' data.