Advanced SQL Performance & Architecture
Optimizes SQL queries and database structures by applying Staff-level DBA patterns and execution plan analysis.
This skill elevates Claude's SQL writing capabilities to a Staff+ DBA level by focusing on the complex, performance-critical patterns often missed by default AI models. It provides specialized guidance on advanced indexing strategies, efficient pagination, complex aggregations using the FILTER clause, and the prevention of silent production performance killers like implicit type casting or incorrect NULL handling in subqueries. Whether you are reviewing a slow query for a performance bottleneck or designing a high-scale data schema, this skill ensures your SQL is written with the execution plan and database engine internals in mind.