bug-check
Run automated tests and build checks first, then agent code review. For each bug found, propose or document a regression test.
Audit a BigQuery SQL query or dbt model for potential cost traps before it hits production.
> /plugin marketplace add yeaight7/agent-powerupsHow it fires
How this command gets triggered: by you, by Claude, or both.
/bigquery-cost-checkContext preview
What this command does when you run it.
Audit a BigQuery SQL query or dbt model for potential cost traps before it hits production.
description: "Audit a BigQuery SQL query or dbt model for potential cost traps before it hits production." argument-hint: "<sql_file_or_dbt_model>"
1. **Analyze Static SQL**: You cannot run the query to see the bytes billed. You must statically analyze the SQL syntax and dbt `config()` blocks. 2. **Focus on Bytes Billed**: In BigQuery, cost is driven by data scanned, not compute time. Focus entirely on reducing data scanned.
1. Read the provided SQL or dbt model file. 2. Look for the target table's schema (if available in the repo) to identify partitioned columns. 3. Evaluate the `WHERE` clauses. Are partition keys used? If not, flag a full table scan. 4. Evaluate the `SELECT` clauses. Are there unnecessary columns? 5. For dbt models, check the `config` block. Is this a table, view, or incremental model? If it's a massive daily table rebuild, recommend an incremental strategy. 6. Provide a concise report:
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Repo: yeaight7/agent-powerups
Run automated tests and build checks first, then agent code review. For each bug found, propose or document a regression test.
Use when a build, type check, or test suite is failing and needs to be unblocked with a minimal change.