What problem does it solve? Writing correct and performant BigQuery code requires deep knowledge of SQL optimization rules, BigFrames library conventions, and the exact syntax of BigQuery ML/AI functions. This Skill provides routing to specialized reference guides so generated queries, DataFrame code, and ML function calls follow validated standards and avoid common mistakes. ## Core Features & Use Cases - Query Optimization: Applies column pruning, predicate pushdown, early aggregation, and mandatory rewrites like replacing IN subqueries with EXISTS. - BigFrames Code Generation: Produces valid BigFrames Python code that avoids to_pandas() pitfalls, uses bigframes.ml for modeling, and keeps computation in the cloud. - BigQuery ML & AI Functions: Supplies exact syntax for AI.FORECAST, AI.EVALUATE, AI.GENERATE_TABLE, AI.GENERATE_EMBEDDING, VECTOR_SEARCH, contribution analysis, and remote model creation. - Use Case: Ask for a time-series forecast of daily sales by store, and receive a correct AI.FORECAST query using TimesFM with proper named arguments, id_cols grouping, and confidence intervals. ## Quick Start Ask the assistant to write an optimized BigQuery query or a BigFrames script for your dataset, for example to forecast sales or generate text embeddings.