SQL Business Logic Reviewer
Analyzes SQL queries for semantic correctness and business logic alignment to prevent reporting errors and data drift.
This skill empowers Claude to perform deep semantic audits of SQL queries, moving beyond basic syntax checking to identify subtle business logic errors that often go unnoticed. It specializes in detecting 'silent failures' where queries run successfully but produce incorrect results due to grain mismatches, improper join behavior, or flawed aggregation logic. By establishing the intended data grain and scanning for high-risk patterns like duplicate rows or incorrect null handling, it provides actionable validation checks and risk summaries, making it indispensable for maintaining data integrity in financial reporting, product metrics, and complex data transformations.