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).
$npx -y skills add jeffallan/claude-skills --skill sql-proInstalls into the current project.
Run `npx skills use "https://github.com/jeffallan/claude-skills" --skill "jeffallan/claude-skills/sql-pro"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/jeffallan/claude-skills" that are relevant to the current task. Run `npx skills add "https://github.com/jeffallan/claude-skills"` and select the relevant skills, then follow their instructions.