What problem does it solve? When root cause analysis or audits reveal gaps in a Snowflake semantic view—such as wrong aggregations, missing joins, or misunderstood columns—this Skill provides a structured library of targeted fix patterns instead of ad-hoc edits. ## Core Features & Use Cases - Dimension and Fact Enhancement: Enrich existing physical columns with descriptions, synonyms, sample values, and unique flags (new physical columns cannot be added). - Metric, Filter, and Relationship Creation: Add calculated aggregations, named WHERE-clause filters, and validated table joins with primary key verification. - Custom Instructions as Last Resort: Apply generalized business logic instructions only when semantic view elements cannot express the requirement. - Use Case: After a debug session finds that generated SQL uses SUM instead of COUNT DISTINCT for customer counts, load the metric optimization pattern and create a UNIQUE_CUSTOMERS metric via semantic_view_set.py. ## Quick Start Ask the AI to fix the wrong aggregation in the semantic view by adding a distinct customer count metric using the optimization patterns.