Skip to content
Data
Command

/bq-review

Review BigQuery SQL for performance anti-patterns. Pass a file path or paste SQL directly.

From plugin
bigquery-expert
176 skills3 agents6 commands
> /plugin marketplace add justvinhhere/bigquery-expert
> /plugin install bigquery-expert@justvinhhere-bigquery-expert

Command definition

bq-review.md
description: Review BigQuery SQL for performance anti-patterns. Pass a file path or paste SQL directly.
argument-hint: "[file_path]"

BigQuery SQL Review

Review the provided BigQuery SQL against all 11 known anti-patterns using the `bigquery-optimization` skill.

Instructions

1. **Determine the SQL to review:**

  • If a file path argument is provided, read that file.
  • If no argument is provided, look for the most recent BigQuery SQL in the current conversation.
  • If no SQL is found, ask the user to provide a query or file path.

2. **Run the full anti-pattern check** against all 11 patterns:

  • SimpleSelectStar, SemiJoinWithoutAgg, CTEsEvalMultipleTimes, OrderByWithoutLimit,

StringComparison, LatestRecordWithAnalyticFun, DynamicPredicate, WhereOrder, JoinOrder, MissingDropStatement, ConvertTableToTemp.

3. **Output findings** using the standard review format from the bigquery-optimization skill:

  • Group by severity (High, Medium, Low).
  • Include before/after SQL for each finding.
  • Provide a summary count.

4. If no anti-patterns are found, confirm: "No anti-patterns detected. This query follows BigQuery best practices."

@justvinhhere
Ships withbigquery-expert

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.

175 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
17
Star history of justvinhhere/bigquery-expert on GitHub, a chart by star-history.com

Other commands on bigquery-expert.

More commands from other plugins.

COMMANDS.generated

COMMANDS.generated

Command

<!-- Generated from backend/logic/schema.py. Do not edit. Run `hogli build:projections`. -->

posthog12d41k
@posthog@posthogInstall Command
recall
Auto-invoked

recall

Command

Search past session observations and lessons for relevant context. Wrap the `memory_smart_search` and `memory_lesson_recall` MCP…

@rohitg00@rohitg00Install Command