sql-optimization-skill

Community

Supercharge SQL performance.

Authorzzafergok
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Slow SQL queries are a common bottleneck; this guide provides structured techniques to analyze and optimize them for faster results.

Core Features & Use Cases

  • Explain plan analysis and performance diagnostics with practical examples.
  • Index design strategies (BTREE, composite, partial, and expression indexes) and their impact on speed.
  • N+1 query avoidance, batching, and cursor-based pagination patterns for PostgreSQL and similar systems.
  • Safe rewrite rules and benchmarking guidelines to validate improvements before deployment.

Quick Start

Run EXPLAIN ANALYZE on a slow query to identify bottlenecks and apply indexing and rewrite recommendations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sql-optimization-skill
Download link: https://github.com/zzafergok/skills/archive/main.zip#sql-optimization-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.