Sql Query Reviewer
by Timoranjes
Audit SQL and ORM queries for security vulnerabilities, N+1 performance issues, and indexing anti-patterns.
$8
· or 40 creditsSecure checkout via Stripe
Works with the AI tools you already use
About this skill
What it does
The SQL Query Reviewer is a specialized auditing tool designed to inspect data-access code for security vulnerabilities, performance bottlenecks, and logic errors. It scans raw SQL files, migration scripts, and ORM code (Django, SQLAlchemy, Prisma, ActiveRecord, etc.) to ensure your database interactions are safe and efficient.
Why use this skill
Reviewing SQL requires deep domain expertise. This skill automates the detection of critical issues like SQL injection and N+1 query patterns that are often missed in standard code reviews. It provides developer-centric feedback, suggesting specific remediations—such as replacing OFFSET with keyset pagination or identifying missing indexes—saving hours of manual troubleshooting and preventing production outages.
Key Features
- Security Audit: Detects critical SQL injection patterns in string interpolations and dynamic queries.
- Performance Profiling: Flags N+1 issues in ORM loops and identifies full table scans in large datasets.
- Explain Plan Analysis: Guidance on interpreting
EXPLAIN ANALYZEoutput across PostgreSQL, MySQL, and SQL Server. - ORM Support: Specialized checks for popular frameworks and query builders.
- Correctness Checks: Validates NULL handling, transaction atomicity, and deterministic pagination.
Details
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
File Scopes
Creator
Frequently Asked Questions
Browse More Skills
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.
java-best-practice-checker
Expert Java code auditor for SE 8–24, flagging performance leaks, threading risks, and modernization gaps.

humanize-writing
Transform robotic AI drafts into natural, human-sounding prose with native-level flow and tone.

frontend-motion-wizard
Advanced responsive layout and interactive micro-interaction engine for React, Tailwind CSS, and Framer Motion. Automatically injects fluid element states, mobile-first touch behaviors, adaptive viewports, and non-destructive layout transitions into static codebases