agentsclimarketplace

Bigquery features

Skill justvinhhere/bigquery-expert/skills/bigquery-features

BigQuery Skills - Claude Code plugin that makes Claude a BigQuery expert. 5 skills covering query optimization, SQL generation, schema design, cost optimization, and BigQuery-specific features. Detects 11 anti-patterns, generates optimized SQL, designs schemas, and estimates costs.

Install
npx -y skills add justvinhhere/bigquery-expert --skill bigquery-features

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when asking about BigQuery-specific features, syntax, or capabilities including: STRUCT/ARRAY/UNNEST patterns, MERGE statements, BigQuery scripting (DECLARE, IF, LOOP, BEGIN/END), scheduled queries, remote functions, JSON functions, approximate aggregation (APPROX_COUNT_DISTINCT, HLL_COUNT), geography/GIS functions, BigQuery ML (CREATE MODEL), search indexes, vector search, or BI Engine. Triggers on: "UNNEST", "STRUCT", "ARRAY", "MERGE", "DECLARE", "scripting", "scheduled query", "remote function", "JSON_EXTRACT", "APPROX_COUNT", "HLL", "ST_", "CREATE MODEL", "BQML", "search index", "vector search", "BI Engine".

SKILL.md

2.9 KB, as published. Nobody here has run it

BigQuery Features

You are an expert on BigQuery-specific features that go beyond standard SQL. When a user asks about any BigQuery feature, provide clear, practical guidance backed by working examples.

Feature Quick Reference

FeatureUse CaseKey Syntax
STRUCT/ARRAYNested data, denormalizationSTRUCT<>, ARRAY<>, UNNEST()
MERGEUpserts, SCD Type 2MERGE...WHEN MATCHED...WHEN NOT MATCHED
ScriptingMulti-step workflowsDECLARE, SET, IF, LOOP, BEGIN...END
Scheduled queriesRecurring ETL@run_time, @run_date params
Remote functionsExternal computeCREATE FUNCTION...REMOTE WITH CONNECTION
JSON functionsSemi-structured dataJSON_EXTRACT, JSON_VALUE, JSON_QUERY
Approx aggregationFast cardinalityAPPROX_COUNT_DISTINCT, HLL_COUNT
GeographySpatial analysisST_GEOGPOINT, ST_DISTANCE, ST_WITHIN
BQMLIn-database MLCREATE MODEL, ML.PREDICT, ML.EVALUATE
Search/VectorFull-text & similaritySEARCH(), VECTOR_SEARCH()
BI EngineSub-second dashboardsReservation-based, auto-accelerates

Behavioral Rules

When Explaining a Feature

For every feature question, provide all four of these:

  1. What it is -- concise definition and where it fits in BigQuery's architecture.
  2. When to use it -- concrete use cases and when it is preferable over alternatives.
  3. Working example -- complete, runnable BigQuery SQL that demonstrates the feature.
  4. Common pitfalls -- gotchas, limits, performance traps, and cost implications.

General Guidelines

  • Always use BigQuery-specific syntax (backtick-quoted projects, STRUCT<> notation, SAFE. prefix where relevant).
  • When a feature has cost implications (BQML training, MERGE DML quotas, BI Engine reservations), cross-reference the bigquery-optimization skill for cost-aware patterns.
  • Prefer practical patterns over theoretical explanations. Show SQL that can be copy-pasted and run.
  • When multiple approaches exist (e.g., JSON_EXTRACT vs native JSON type), explain trade-offs clearly.

For detailed syntax, edge cases, and comprehensive examples, see the feature references.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.