bq-design-table
Design a BigQuery table schema with optimal partitioning, clustering, and data types. Describe your data or paste a sample.
Estimate the cost of a BigQuery query or table. Pass a query, file path, or table description.
> /plugin marketplace add justvinhhere/bigquery-expert > /plugin install bigquery-expert@justvinhhere-bigquery-expert
How it fires
How this command gets triggered: by you, by Claude, or both.
/bq-estimate-costContext preview
What this command does when you run it.
Estimate the cost of a BigQuery query or table. Pass a query, file path, or table description.
description: Estimate the cost of a BigQuery query or table. Pass a query, file path, or table description. argument-hint: "[query, file_path, or table description]"
Estimate the cost of a BigQuery query or table using the `bigquery-cost-optimization` skill.
1. **Determine the input type:**
2. **For queries -- estimate compute cost:**
bq query --dry_run --use_legacy_sql=false 'YOUR_QUERY_HERE'
3. **For tables -- estimate storage cost:**
4. **Suggest cost reduction strategies** by referencing the bigquery-cost-optimization skill:
5. **Output format:**
## Cost Estimate **Query/Table:** [summary] **Estimated bytes billed:** X GB (X TB) **Estimated cost (on-demand):** $X.XX **Pricing note:** [editions equivalent if applicable] ### Cost Reduction Opportunities 1. [Opportunity with estimated savings] 2. [Opportunity with estimated savings] ### Validate Run --dry_run to confirm: bq query --dry_run --use_legacy_sql=false '...'
A comprehensive BigQuery plugin for Claude Code. Five integrated skill areas that activate automatically -- writing queries, designing schemas, optimizing costs, detecting anti-patterns, and navigating BigQuery-specific features.
Repo: justvinhhere/bigquery-expert
Design a BigQuery table schema with optimal partitioning, clustering, and data types. Describe your data or paste a sample.
Explain a BigQuery feature, function, or concept with working examples. Pass the feature name or question.
Generate optimized BigQuery SQL from a natural language description. Pass a description of the data you need.
Optimize BigQuery SQL by fixing all detected anti-patterns. Pass a file path or paste SQL directly.
Review BigQuery SQL for performance anti-patterns. Pass a file path or paste SQL directly.