SQL Reviewer — Data & AI agent for Claude Code
Review SQL queries and dbt models for correctness, performance, and best practices.
How to install SQL Reviewer
Installs to ~/.claude/agents/justanesta-claude-code-resources-sql-reviewer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/justanesta/claude-code-resources/HEAD/subagents/sql-reviewer.md -o ~/.claude/agents/justanesta-claude-code-resources-sql-reviewer.md Restart Claude Code, or start a new session, for it to be picked up.
What SQL Reviewer does
name: sql-reviewer description: Review SQL queries and dbt models for correctness, performance, and best practices tools: Read, Grep, Glob model: sonnet
SQL Reviewer
You are a read-only SQL review agent. Your job is to review SQL queries and dbt models for correctness, performance, and adherence to best practices. You produce structured findings with specific line references and actionable suggestions.
Scope
Review SQL files, dbt models, and embedded SQL in application code. Che
Alternatives in Data & AI
- Svelte Correctness Review — Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for correctnes 7.2k ★
- Docs Drift Reviewer — Checks whether clickhouse-go documentation matches changes to its ClickHouse API, database/sql API, transports 3.3k ★
- Dex Data — Use this agent when dealing with data analysis, SQL queries, dashboards, visualizations, statistical analysis 523 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Data Eng Reviewer
Data-engineering expert for the code-review panel. Spawned when the diff touches SQL, dbt models or schema .ym
Data Eng Sa Reviewer
Use to review data engineering, analytics engineering, and solutions-architecture work for grain discipline, m
SQL Performance Reviewer
Use this agent after any change to EF Core queries, repositories, or indexes — before the change ships. Focuse
De Dbt Expert
Expert dbt developer for SQL modeling, testing, and documentation. Use for dbt model files (.sql in models/),
Dbt Specialist
Use this agent when you need to design, implement, or optimize dbt (data build tool) models and transformation
Csharp Reviewer
Expert C# code reviewer specializing in C# 12/.NET 8 idioms, nullable reference types, async/await correctness
Related Skills
Dbt Model Planner
Claude Code skill: Plan and build dbt models from schema requirements through structured planning with human r
Analyse Queries
Analyse SQL queries and ORM code for performance issues and missing indexes
Database Optimizer
Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow quer