bigquery-features
Skill16 starsChanged 7 months agoApache-2.0View on GitHub
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".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Ocean1346/bigquery-expertword for word, first seen Apr 9, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Ocean1346/bigquery-expert★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
Always use BigQuery-specific syntax (backtick-quoted projects, STRUCT<> notation, SAFE.
- Very specific: line 49
When a feature has cost implications (BQML training, MERGE DML quotas, BI Engine reservations), cross-reference the bigquery-optimization …
- Distinctive: line 50
Prefer practical patterns over theoretical explanations.
- Very specific: line 51
When multiple approaches exist (e.g., JSON_EXTRACT vs native JSON type), explain trade-offs clearly.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
| 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 |
Behavioral Rules
When Explaining a Feature
For every feature question, provide all four of these:
- What it is -- concise definition and where it fits in BigQuery's architecture.
- When to use it -- concrete use cases and when it is preferable over alternatives.
- Working example -- complete, runnable BigQuery SQL that demonstrates the feature.
- 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-optimizationskill 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

