query-optimization

Community

Optimize slow SQL queries.

Author686f6c61
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you identify and resolve slow-running SQL queries, improving database performance and application responsiveness.

Core Features & Use Cases

  • Analyze Query Performance: Uses EXPLAIN and EXPLAIN ANALYZE to understand query execution plans.
  • Identify Bottlenecks: Detects issues like full table scans, inefficient joins, and missing indexes.
  • Propose Solutions: Suggests creating indexes, rewriting queries, or using specific database features.
  • Benchmark Improvements: Validates optimizations by comparing performance before and after changes.
  • Use Case: When a user reports that a specific database query is taking too long to complete, this skill can be invoked to diagnose and fix the performance issue.

Quick Start

Use the query-optimization skill to analyze and improve the performance of the following SQL query: SELECT * FROM users WHERE signup_date > '2023-01-01'.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: query-optimization
Download link: https://github.com/686f6c61/alfred-dev/archive/main.zip#query-optimization

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.