sql-optimization-patterns

Official

Boost database performance instantly.

Author3commas-io
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you diagnose and fix slow database queries, significantly improving application speed and reducing resource consumption.

Core Features & Use Cases

  • Query Plan Analysis: Understand EXPLAIN output to identify bottlenecks.
  • Indexing Strategies: Learn to create effective indexes (B-Tree, GIN, etc.) for faster data retrieval.
  • Query Optimization Patterns: Apply techniques like eliminating N+1 queries, optimizing pagination, and efficient aggregation.
  • Use Case: When a critical report takes minutes to load, use this Skill to analyze the query plan, add appropriate indexes, and rewrite the query for sub-second performance.

Quick Start

Analyze the query plan for the following SQL statement: SELECT * FROM users WHERE email = 'user@example.com';

Dependency Matrix

Required Modules

None required

Components

referencesassetsscripts

💻 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-patterns
Download link: https://github.com/3commas-io/commas-claude/archive/main.zip#sql-optimization-patterns

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 223,000+ vetted skills library on demand.