debugging-snowflake-queries

Installation
SKILL.md

Debugging Snowflake Queries

Debug Snowflake SQL systematically: reproduce the failure, classify the problem, isolate the smallest failing unit, verify grain and joins, and only then rewrite the query.

When to Use

  • Diagnose Snowflake errors such as SQL compilation error, invalid identifier, object does not exist, ambiguous column, cast failures, permission failures, or timeouts
  • Debug queries that run but return the wrong count, duplicate rows, empty results, stale-looking data, or impossible percentages
  • Investigate performance problems such as long scans, warehouse issues, or unexpectedly expensive joins
  • Review an ad hoc SQL query and explain how to make it correct and reproducible

Do Not Use For

  • Template or application-layer SQL generation failures where no Snowflake SQL is actually being debugged
  • General business investigations where the main task is answering the question rather than debugging the query itself

Workflow

Installs
13
Repository
kilo-org/skills
First Seen
Jul 7, 2026
debugging-snowflake-queries — kilo-org/skills