skills/cloud/gcp/bigquery-optimization/SKILL.md
--- name: bigquery-optimization description: Use when designing BigQuery schemas, optimizing queries, managing partitioning/clustering, controlling costs, or studying for GCP Professional Data Engineer (GCP-PDE). Covers domains: Design data processing systems (~22%) and Store the data (~15-20%). --- # BigQuery Optimization ## When to Use - Designing tables for an analytics use case on GCP - Queries are slow or unexpectedly expensive - Planning partitioning/clustering strategy - Preparing for G
npx skillsauth add kienbui1995/magic-powers skills/cloud/gcp/bigquery-optimizationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
WHERE date = '2024-01-01') to reduce bytes billedSELECT * — select only needed columns (columnar storage)WHERE on partitioned/clustered columnsWITH CTEs for readability; avoid deep nestingAPPROX_COUNT_DISTINCT for large cardinality estimatesINFORMATION_SCHEMA.JOBS_BY_PROJECT → monitor slot usage and bytes billedcontent-media
Use when designing for XR (AR/VR/MR), choosing interaction modes, or adapting 2D UI patterns for spatial computing
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Use when executing a structured workflow — select and run a feature, bugfix, refactor, research, or incident template with correct agent and model assignments per phase.