SQL Code Review Assistant

•
9
•

Performs comprehensive security, performance, and quality analysis for SQL queries and schema designs across all major database systems.

This Claude Code Skill acts as an expert database administrator and security auditor, providing deep-dive analysis into your SQL code. It identifies critical security vulnerabilities like SQL injection, detects performance bottlenecks in query structures, and ensures adherence to best practices for PostgreSQL, MySQL, SQL Server, and Oracle. By evaluating everything from index strategies to naming conventions, this skill helps developers build scalable, secure, and maintainable database layers through actionable feedback and standardized review templates.

Key Features

01Detection of architectural anti-patterns like N+1 queries and over-indexing
029 GitHub stars
03Query execution and index strategy optimization recommendations
04Detailed issue reporting with 'Before' and 'After' code implementation examples
05Comprehensive SQL injection and access control security analysis
06Cross-platform support for PostgreSQL, MySQL, SQL Server, and Oracle

Use Cases

01Optimizing legacy SQL queries to reduce server load and improve response times
02Standardizing SQL style and schema design patterns across engineering teams
03Conducting automated security audits for new database migrations and scripts