snowflake-query-optimization
Installation
SKILL.md
snowflake-query-optimization
Input (one of) → fetch SQL → optimize → parity-validate → benchmark → report.
Delegates warehouse work to altimate-code when available; falls back
to direct Snowflake SQL otherwise. Does not reinvent query-profile parsing.
When NOT to use this skill
- Pasted SQL text, no parity needed →
optimizing-query-text. - Quick rewrite from a
query_id, no re-run or parity →optimizing-query-by-id. - Finding candidate queries to optimize →
finding-expensive-queries. - Refactoring a dbt model →
snowflake-dbt-model-refactoring.
Prerequisites
Before invoking, verify what's actually available — do not fabricate results from file reads alone.