What problem does it solve?
SQL code across databases often suffers from security vulnerabilities, maintainability gaps, and inconsistent coding practices. This skill provides a thorough, end-to-end review that identifies SQL injection risks, misconfigurations of permissions, anti-patterns, and performance smells to raise code quality.
Core Features & Use Cases
- Security Analysis: SQL injection prevention, access control review, data protection considerations.
- Performance & Maintainability: query structure optimization, indexing guidance, and readability improvements.
- Database-Specific Best Practices: guidance tailored for PostgreSQL, MySQL, SQL Server, and Oracle.
- Testing & Validation: integrity checks and validation steps to verify fixes.
- Output & Reporting: a structured, PR-ready report with prioritized recommendations.
Quick Start
Provide a comprehensive SQL code review for a given SQL snippet or file and return actionable fixes prioritized by impact.