database-optimization
Query optimization, indexing strategies, and database performance tuning for PostgreSQL and MySQL
Content Preview
--- name: database-optimization description: Query optimization, indexing strategies, and database performance tuning for PostgreSQL and MySQL --- # Database Optimization ## EXPLAIN Analysis Always run `EXPLAIN ANALYZE` before optimizing. Read the output bottom-up. ```sql -- PostgreSQL EXPLAIN (ANALYZE, BUFFERS, FORMAT TEXT) SELECT ...; -- MySQL EXPLAIN ANALYZE SELECT ...; ``` Key metrics to watch: - **Seq Scan** on large tables = missing index - **Nested Loop** with high row count = consi
How to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/database-optimization.md \
https://raw.githubusercontent.com/rohitg00/awesome-claude-code-toolkit/main/skills/database-optimization/SKILL.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/rohitg00/awesome-claude-code-toolkitThen reference at skills/database-optimization/SKILL.md
Related Skills
data
Data engineering for Apache Airflow and Astronomer. Author DAGs with best practices, debug pipeline failures, trace data lineage, profile tables, migrate Airflow 2 to 3, and manage local and cloud deployments.
pluginpluginmarketplacedata
by Anthropic · anthropic-official-plugins
database
Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.
data-aidatabase
by sickn33 (Antigravity) · antigravity-awesome-skills
Detecting Data Anomalies
This skill empowers Claude to identify anomalies and outliers within datasets. It leverages the anomaly-detection-system plugin to analyze data, apply appropriate machine learning algorithms, and highlight unusual data points. Use this skill when the user requests anomaly detection, outlier analysis
skill-adapterdetecting data anomalies
by jeremylongshore · plugins-plus-skills
Preprocessing Data with Automated Pipelines
This skill empowers Claude to preprocess and clean data using automated pipelines. It is designed to streamline data preparation for machine learning tasks, implementing best practices for data validation, transformation, and error handling. Claude should use this skill when the user requests data
skill-adapterpreprocessing data with automated pipelines
by jeremylongshore · plugins-plus-skills