cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create, alter, and validate Snowflake semantic views using Snowflake CLI (snow). Use when asked to build or troubleshoot semantic views/semantic layer definitions with CREATE/ALTER SEMANTIC VIEW, to validate semantic-view DDL against Snowflake via CLI, or to guide Snowflake CLI
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/snowflake-semanticviewContext preview
What this command does when you run it.
Create, alter, and validate Snowflake semantic views using Snowflake CLI (snow). Use when asked to build or troubleshoot semantic views/semantic layer definitions with CREATE/ALTER SEMANTIC VIEW, to validate semantic-view DDL against Snowflake via CLI, or to guide Snowflake CLI
allowed-tools: Bash, Read description: Create, alter, and validate Snowflake semantic views using Snowflake CLI (snow). Use when asked to build or troubleshoot semantic views/semantic layer definitions with CREATE/ALTER SEMANTIC VIEW, to validate semantic-view DDL against Snowflake via CLI, or to guide Snowflake CLI installation and connection setup.
1. Confirm the target database, schema, role, warehouse, and final semantic view name. 2. Confirm the model follows a star schema (facts with conformed dimensions). 3. Draft the semantic view DDL using the official syntax:
4. Populate synonyms and comments for each dimension, fact, and metric:
5. Create a temporary validation name (for example, append `__tmp_validate`) while keeping the same database and schema. 6. Always validate by sending the DDL to Snowflake via Snowflake CLI before finalizing:
7. If validation fails, iterate on the DDL and re-run the validation step until it succeeds. 8. Apply the final DDL (create or alter) using the real semantic view name. 9. Clean up any temporary semantic view created during validation.
WITH SYNONYMS [ = ] ( 'synonym' [ , ... ] ) COMMENT = 'comment_about_dim_fact_or_metric'
# Replace placeholders with real values. snow sql -q "<CREATE OR ALTER SEMANTIC VIEW ...>" --connection <connection_name>
If the CLI uses a different connection flag in your version, run:
snow sql --help
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image