/bigquery-expert:bigquery-featuresfrom bigquery-expert
Provides guidance on BigQuery-specific SQL features including STRUCT/ARRAY/UNNEST, MERGE, scripting, JSON functions, GIS, BQML, and BI Engine. Includes working examples and common pitfalls.
Ships in bigquery-expert. 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.
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 | Use Case | Key Syntax |
|---|---|---|
| STRUCT/ARRAY | Nested data, denormalization | STRUCT<>, ARRAY<>, UNNEST() |
| MERGE | Upserts, SCD Type 2 | MERGE...WHEN MATCHED...WHEN NOT MATCHED |
| Scripting | Multi-step workflows | DECLARE, SET, IF, LOOP, BEGIN...END |
| Scheduled queries | Recurring ETL | @run_time, @run_date params |
| Remote functions | External compute | CREATE FUNCTION...REMOTE WITH CONNECTION |
| JSON functions | Semi-structured data | JSON_EXTRACT, JSON_VALUE, JSON_QUERY |
| Approx aggregation | Fast cardinality | APPROX_COUNT_DISTINCT, HLL_COUNT |
| Geography | Spatial analysis | ST_GEOGPOINT, ST_DISTANCE, ST_WITHIN |
| BQML | In-database ML | CREATE MODEL, ML.PREDICT, ML.EVALUATE |
| Search/Vector | Full-text & similarity | SEARCH(), VECTOR_SEARCH() |
| BI Engine | Sub-second dashboards | Reservation-based, auto-accelerates |
For every feature question, provide all four of these:
STRUCT<> notation, SAFE. prefix where relevant).bigquery-optimization skill for cost-aware patterns.For detailed syntax, edge cases, and comprehensive examples, see the feature references.
references/01-struct-array-unnest.md (opens in a new tab)references/02-merge-dml.md (opens in a new tab)references/03-scripting.md (opens in a new tab)references/04-json-functions.md (opens in a new tab)references/05-approximate-aggregation.md (opens in a new tab)references/06-geography-functions.md (opens in a new tab)references/07-bqml.md (opens in a new tab)references/08-search-vector.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub justvinhhere/bigquery-expert --plugin bigquery-expert5 skills in this plugin
/bigquery-cost-optimizationUse when asking about BigQuery costs, pricing, bytes billed, slot usage, reducing query costs, choosing between on-demand and editions pricing, managing reservations, optimizing storage costs, or understanding query caching behavior. Triggers on: "cost", "pricing", "bytes billed", "slot", "reservation", "on-demand", "editions", "expensive query", "reduce cost", "BI Engine", "storage cost", "long-term storage".
/bigquery-optimizationUse when writing, reviewing, or optimizing BigQuery SQL, asking about BigQuery best practices, working with .sql files targeting BigQuery, or troubleshooting slow/expensive BigQuery queries. Symptoms: high slot consumption, full table scans, expensive joins, slow queries, high bytes billed.
/bigquery-query-generationUse when generating BigQuery SQL from natural language descriptions, converting queries from other SQL dialects to BigQuery, writing new BigQuery queries from scratch, or when the user describes what data they need and expects SQL output. Triggers on: "write me a query", "generate SQL", "how do I query", "convert this to BigQuery", "I need to get data from", "create a query".
/bigquery-schema-designUse when designing BigQuery table schemas, choosing partitioning or clustering strategies, deciding between nested/repeated fields vs flat schemas, selecting table types (native, external, views, materialized views), choosing data types, or planning denormalization. Triggers on: "partition", "cluster", "STRUCT", "ARRAY", "nested fields", "table design", "schema", "materialized view", "external table", "denormalize", "data type", "TIMESTAMP vs DATETIME".
Other plugins' skills for the same job