What problem does it solve? Building and maintaining Snowflake semantic views for Cortex Analyst involves tedious manual YAML authoring, guesswork about which metrics and verified queries users actually need, and slow trial-and-error debugging when natural-language questions generate wrong SQL. This Skill orchestrates the entire semantic view lifecycle so each step is guided, validated, and grounded in real usage data. ## Core Features & Use Cases - Creation & Import: Generate new semantic views via the FastGen system function from SQL queries and table metadata, or import Tableau (.twb/.twbx/.tds/.tdsx) and Power BI (.pbit/.pbix) files into semantic view YAML. - Suggestions & Enrichment: Mine Cortex Analyst usage and Snowflake query history to auto-suggest verified queries (VQRs), metrics, named filters, and computed facts. - Audit, Debug & Evaluate: Run behavioral VQR audits, targeted SQL-generation debug loops, apply 14 advanced modeling patterns (YoY, SCD2, semi-additive facts, funnels), and measure accuracy with native Analyst Evaluations (sql_correctness metric). - Use Case: After importing a Tableau workbook as a semantic view, seed it with VQR suggestions mined from query history, run an evaluation to establish a sql_correctness baseline, then debug failing questions and re-evaluate to confirm the fix without regressions. ## Quick Start Ask the assistant to create a semantic view from your SQL queries in a given database and schema, and it will run the mandatory setup before routing to the creation workflow.