/engineering-advanced-skills:snowflake-developmentfrom engineering-advanced-skills
Analyzes Snowflake SQL for pruning and join problems, sizes warehouses, and reduces credit spend. Use when a Snowflake query is slow or expensive, or when sizing or reviewing warehouses.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Category: Engineering Domain: Data Warehouse
The Snowflake Development skill provides tools for analyzing and optimizing Snowflake SQL queries, recommending warehouse sizing, and enforcing Snowflake-specific best practices. Helps data engineers reduce costs and improve query performance.
For other databases use sql-database-assistant; for pipeline orchestration use senior-data-engineer.
Before analyzing or sizing, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--action; selects the workflow).--file; the subject of the analysis).--workload/--data-volume; drives the warehouse recommendation).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
# Analyze a Snowflake SQL file for optimization opportunities (bundled sample: 4 issues)
python scripts/snowflake_query_helper.py --file assets/sample_queries.sql --action analyze
# Get warehouse sizing recommendations, costed at your hours and contract credit price
python scripts/snowflake_query_helper.py --action warehouse-sizing --workload "etl" --data-volume "500GB" --hours 4 --credit-price 3
# Optimize a specific query
python scripts/snowflake_query_helper.py --file slow_query.sql --action optimize
| Tool | Purpose | Key Flags |
|---|---|---|
snowflake_query_helper.py | Analyze, optimize Snowflake SQL and recommend warehouse sizes | --file/--sql, --action analyze/optimize/warehouse-sizing, --workload, --data-volume, --hours, --credit-price, --format human/json |
Exit codes: 0 ok (analysis found no critical issue); 1 a critical issue was found;
2 bad input (missing file, no SQL given).
SNOWFLAKE.ACCOUNT_USAGE share; it lags by up to about 45 minutes):
SELECT query_id, warehouse_name, total_elapsed_time / 1000 AS seconds,
bytes_scanned, partitions_scanned, partitions_total, query_text
FROM snowflake.account_usage.query_history
WHERE start_time >= DATEADD(day, -7, CURRENT_TIMESTAMP())
AND execution_status = 'SUCCESS'
ORDER BY total_elapsed_time DESC
LIMIT 20;
In Scope:
--sql text with snowflake_query_helper.py --action analyze or optimize, with a complexity score and a suggested warehouse size per query.CREATE WAREHOUSE statement.references/snowflake-best-practices.md.Out of Scope:
engineering/sql-database-assistant/).engineering/senior-data-engineer/).Important Caveats:
--hours and --credit-price for your contract. Credit prices depend on edition, region and contract, and Snowflake features and pricing change over time.partitions_scanned close to partitions_total), and check SYSTEM$CLUSTERING_INFORMATION first, since automatic reclustering costs creditsMistake: Moving a slow query to a larger warehouse without reading its profile. Why it happens: It is one setting and often helps a little. Instead: Check the Query Profile first. Poor pruning or a bad join is not fixed by more compute; spilling to remote storage is the case where a larger size usually pays for itself.
Mistake: Adding clustering keys as routine "partitioning". Why it happens: Other warehouses need explicit partitioning. Instead: Snowflake micro-partitions automatically. Cluster only when a frequent filter on a very large table scans most partitions, and watch the reclustering credits.
Mistake: Leaving AUTO_SUSPEND at hours or disabled on ad-hoc and BI warehouses.
Why it happens: Users dislike the resume delay.
Instead: Suspend after 60-300 seconds; resume takes seconds while idle compute bills every second it runs.
| File | Purpose |
|---|---|
scripts/snowflake_query_helper.py | SQL pattern analysis and warehouse sizing |
assets/sample_queries.sql | Two queries with deliberate problems |
references/snowflake-best-practices.md | Query, warehouse, cost and modelling practices |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
/agenthubRuns a multi-agent job as a dependency graph: validates the DAG, tracks each agent's state on a board, then ranks and merges their outputs. Use when spawning parallel agents, monitoring a run, or merging results.
/agentic-evaluation-frameworkBuilds LLM and agent evals: weighted rubrics, LLM-as-judge design, inter-rater agreement and pairwise ranking (Elo, Bradley-Terry) from scores you collect. Use when setting up a judge, scoring outputs, or comparing model or prompt variants.
/agent-protocolDesign AI agent communication protocols: MCP tool schemas, A2A, function calling, and inter- agent messaging. Use when building multi-agent systems, defining tool interfaces, or implementing agent-to-agent communication.
Other plugins' skills for the same job