optimizing-query-text

Community

Make slow Snowflake SQL run faster

Authormiptah21
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you improve the performance of Snowflake SQL by rewriting your provided query to eliminate common performance anti-patterns while preserving identical results.

Core Features & Use Cases

  • Snowflake query tuning from text: Optimizes SQL performance based on the query you paste, without changing the intent or output.
  • Safe pattern-based rewrites: Applies targeted transformations like converting function-wrapped filters into equivalent range predicates and replacing implicit joins with explicit JOIN syntax.
  • Result-preservation guardrails: Ensures column order, selected fields, filtering semantics, ORDER BY, and LIMIT behavior remain identical; if it cannot guarantee equivalence, it returns the original query unchanged.
  • Use case: A business analyst has a slow Snowflake dashboard query and needs it optimized for faster interactive performance.

Quick Start

Paste your Snowflake SQL query and ask the assistant to optimize it for better performance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: optimizing-query-text
Download link: https://github.com/miptah21/skills/archive/main.zip#optimizing-query-text

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.