sql-code-review

Installation
SKILL.md

SQL Code Review

Perform a thorough SQL code review of ${selection} (or entire project if no selection) focusing on security, performance, maintainability, and database best practices.

๐Ÿ”’ Security Analysis

SQL Injection Prevention

-- โŒ CRITICAL: SQL Injection vulnerability
query = "SELECT * FROM users WHERE id = " + userInput;
query = f"DELETE FROM orders WHERE user_id = {user_id}";

-- โœ… SECURE: Parameterized queries
-- PostgreSQL/MySQL
PREPARE stmt FROM 'SELECT * FROM users WHERE id = ?';
EXECUTE stmt USING @user_id;
Installs
1
GitHub Stars
3
First Seen
Mar 30, 2026
sql-code-review โ€” tfsugjp/csharptemplate