What problem does it solve? Creating a Snowflake semantic view by hand requires writing complex YAML with tables, dimensions, measures, relationships, and verified queries, which is error-prone and slow. This Skill automates the entire creation workflow using the FastGen system function, with a manual fallback when FastGen fails. ## Core Features & Use Cases - Automated FastGen Generation: Builds and validates a FastGen request JSON, executes SYSTEM$CORTEX_ANALYST_FAST_GENERATION, and extracts the resulting YAML with pagination via RESULT_SCAN. - Validation and Enhancement: Validates the generated model with SYSTEM$CREATE_SEMANTIC_VIEW_FROM_YAML in verify-only mode, and optionally infers primary keys and relationships using helper scripts. - Manual Fallback Workflow: Falls back to a manual creation path using infer_primary_keys.py and extract_table_metadata.py when FastGen fails due to permissions, warehouse, or syntax errors. - Use Case: A data engineer provides SQL queries against ANALYTICS.LOGS.USAGE_LOGS and receives a validated semantic model YAML with dimensions, metrics, relationships, and VQRs ready for audit or deployment to Snowflake. ## Quick Start Ask the assistant to create a new semantic view named usage_analytics in your target database and schema from your SQL queries.