
Sql Pro
Expert SQL help that optimizes slow queries, designs schemas, and migrates queries across dialects.
- skills.sh installs
- 6.9K
- GitHub stars
- 12.5K
- last updated
- Aug 21, 2026
What it does
- Covers query tuning, schema design, and troubleshooting, with EXPLAIN ANALYZE interpretation and before/after benchmarking
- Includes reference guides for query patterns, window functions, indexing, normalization, and PostgreSQL, MySQL, SQL Server, and Oracle differences
- Enforces set-based operations, no
SELECT *, explicit NULL handling, and a sub-100ms target verified by EXPLAIN ANALYZE - Designed for developers and DBAs who need query rewrites, covering indexes, or cross-dialect migrations
Install
$ npx -y skills add jeffallan/claude-skills --skill sql-pro -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SQL Pro
Core Workflow
- Schema Analysis - Review database structure, indexes, query patterns, performance bottlenecks
- Design - Create set-based operations using CTEs, window functions, appropriate joins
- Optimize - Analyze execution plans, implement covering indexes, eliminate table scans
- Verify - Run
EXPLAIN ANALYZEand confirm no sequential scans on large tables; if query does not meet sub-100ms target, iterate on index selection or query rewrite before proceeding - Document - Provide query explanations, index rationale, performance metrics
Reference Guide
Load detailed guidance based on context:
Details
- Repository
- github.com/jeffallan/claude-skills
- Category
- Databases
More from jeffallan/claude-skills
All 66- Rust Engineer6.8K
- Security Reviewer6.7K
- Fastapi Expert6.5K
- Javascript Pro6.5K
- Database Optimizer6.4K
- Java Architect6.4K
- Nestjs Expert6.3K
- Pandas Pro6.2K
- Monitoring Expert6.2K
- Nextjs Developer6.2K
- Code Documenter6.1K
- Fullstack Guardian6.1K
- Prompt Engineer6K
- React Expert5.9K
- Terraform Engineer5.8K
- Test Master5.8K
- Cpp Pro5.8K
- Playwright Expert5.7K
- Sre Engineer5.6K
- Kotlin Specialist5.6K
- Secure Code Guardian5.5K
- Debugging Wizard5.5K
- Shopify Expert5.4K
- Microservices Architect5.3K
Similar to Sql Pro
More Databases
sql-optimizationgithub/awesome-copilot16.2K installsUniversal SQL tuning guide covering query rewrites, indexing, pagination, and execution plan analysis across major engines.
sql-query-optimizationaj-geddes/useful-ai-prompts529 installsAnalyze and tune slow PostgreSQL and MySQL queries using plans, indexes, and rewrites.
sql-expertpersonamanagmentlayer/pcl259 installsExpert SQL design, querying, and tuning across PostgreSQL, MySQL, and SQL Server, with injection-safe defaults.
postgres-projeffallan/claude-skills8.4K installsSenior PostgreSQL guidance for query tuning, replication, JSONB, extensions, and VACUUM with EXPLAIN-verified changes.
database-optimizerjeffallan/claude-skills6.4K installsOptimizes PostgreSQL and MySQL queries, indexes, and configuration by measuring every change against a baseline.
sql-database-assistantalirezarezvani/claude-skills777 installsDialect-aware SQL assistant covering query writing, EXPLAIN-driven tuning, and zero-downtime migrations.