Database Architect & Query Tuning
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.