Database Architect & Query Tuning

•
7
•

Optimizes database schemas, query performance, and indexing strategies while preventing schema hallucination through rigorous verification.

This skill transforms Claude into a specialized database consultant capable of diagnosing performance bottlenecks, designing efficient schemas, and implementing expert indexing strategies for MariaDB, MySQL, and PostgreSQL. It leverages a grounded corpus of tuning strategies to provide Tier-1 consultation, ensuring decisions are based on data-driven patterns rather than guesswork. By enforcing strict verification of table structures through migrations, models, and introspection queries, it eliminates hallucinations and ensures production-grade query optimization through automated EXPLAIN analysis and anti-pattern detection.

主な機能

01Comprehensive schema awareness across migrations, models, and DB connections
02Grounded query tuning using a Tier-1 expertise corpus for root cause analysis
03Automated diagnosis using EXPLAIN and EXPLAIN ANALYZE to identify bottlenecks
047 GitHub stars
05Advanced indexing recommendations including composite and prefix strategies
06Strict anti-hallucination protocols for table and column name verification

ユースケース

01Identifying and refactoring slow SQL queries using EXPLAIN output analysis
02Designing scalable database schemas with optimized data types and indexing
03Troubleshooting N+1 query performance issues in legacy or modern codebases