Sql Pro
Optimizes SQL queries, designs database schemas, and troubleshoots performance issues. Use when a user asks why their query is slow, needs help writing complex joins or aggregations, mentions database performance issues, or wants to design or migrate a schema. Invoke for complex queries, window functions, CTEs, indexing strategies, query plan analysis, covering index creation, recursive queries, EXPLAIN/ANALYZE interpretation, before/after query benchmarking, or migrating queries between database dialects (PostgreSQL, MySQL, SQL Server, Oracle).
- Type
- Skill
- Author
- jeffallan
- Category
- Database
- GitHub stars
- 12.1K
- Installs
- 6.5K
- Last updated
- October 30, 2026
Install
npx skills add https://github.com/jeffallan/claude-skills --skill sql-proUse cases
- Diagnose why a query is slow and read its EXPLAIN/ANALYZE plan.
- Write complex joins, window functions, or recursive CTEs.
- Migrate queries between PostgreSQL, MySQL, SQL Server, and Oracle dialects.
Frequently Asked Questions
Which database dialects does it cover?
PostgreSQL, MySQL, SQL Server, and Oracle, including migrating queries between them.
Can it help with indexing?
Yes, it covers indexing strategies and covering index creation.
Does it design schemas as well as tune queries?
Yes, it designs database schemas and troubleshoots performance issues in addition to query optimization.
About this skill
Optimizes SQL queries, designs database schemas, and troubleshoots performance issues. Covers complex joins, window functions, CTEs, indexing strategies, query plan analysis, recursive queries, EXPLAIN/ANALYZE interpretation, and dialect migration across PostgreSQL, MySQL, SQL Server, and Oracle. Useful when a query is slow or a schema needs to change.
Summary written with AI assistance from the project's public description.
Categories
More from jeffallan
Laravel Specialist
Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configurin...
by jeffallan
Golang Pro
Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application perfo...
by jeffallan
Php Pro
Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async pat...
by jeffallan
Flutter Expert
Use when building cross-platform applications with Flutter 3+ and Dart. Invoke for widget development, Riverpod/Bloc state management, GoRouter nav...
by jeffallan
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh