Skip to content

chore(bigquery-jdbc): add PR review skill and rework the prepare-pr review loop - #15120

Open
Neenu1995 wants to merge 3 commits into
mainfrom
chore/bq-jdbc-prepare-pr-agy-cli
Open

Neenu1995 wants to merge 3 commits into
mainfrom
chore/bq-jdbc-prepare-pr-agy-cli

Conversation

@Neenu1995

@Neenu1995 Neenu1995 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

What & Why

Finishes the agent skills of java-bigquery-jdbc, so that the shared skills hold what we learned from running them and nobody needs private rules on top.

  • New skill bigquery-jdbc-review-pr. A read-only reviewer's playbook. It reviews the "Files changed" diff, asks why the driver needs the change and whether the driver is the place for it, then checks the code and rates each finding blocking, major, minor or nit.
  • bigquery-jdbc-prepare-pr. A fresh reviewer on the author's own model every round, and a reviewer on another vendor's model on the first diff. scripts/review.sh builds the reviewer prompt. scripts/cross-review.sh starts the cross-model reviewer through Antigravity's conversation CLI, picks its model from what the CLI offers, and checks afterwards that it changed nothing. agy stays the route for terminal agents.
  • Guardrails 6 to 18 in AGENTS.md and DEVELOPMENT.md, with a pre-PR checklist that covers them.
    • 6 to 15, for the code: early return, real failures only, no sentinel values, final fields, results not side effects, reuse before you write, root cause, concurrency and resources, reflection, why before how.
    • 16 to 18, for the PR as a whole: fix upstream what belongs upstream, one logical change of about 300 lines of main code per PR, and stay on the problem.
  • Corrections in DEVELOPMENT.md, README.MD and the testing skill, where they described what the code doesn't do: how loggers are created and how they format, entry and exit logging, what BigQueryJdbcContextProxy does, two example tests that don't exist, and what @Tag("disable_universe_domain") does.

How It Was Tested

  • No Java code changed.
  • The two scripts passed a suite of 180 checks against a stand-in CLI, and ran against the real conversation CLI, including two full reviews. The suite is not part of this PR.
  • Every class, method, make target and path that the changed docs name was searched for on main.
  • The skills and scripts went through five rounds of the review loop they describe. Guardrails 16 to 18 and 14 lines of cross-review.sh came after the last round and were not reviewed.

Risks / follow-ups

  • The two scripts (994 lines of bash) have no tests in the repository. Follow-up: add the suite, with a CI job.
  • agy was not installed where this was written. Its command line is as its author wrote it.
  • The PR is bigger than guardrail 17 asks for. It can be split into the guardrails and corrections, the two skills with review.sh, and cross-review.sh.

Updates .agents/skills/bigquery-jdbc-prepare-pr/SKILL.md to use the Antigravity CLI (agy) instead of gemini or claude CLI commands for shell-based reviewer invocations.
@Neenu1995
Neenu1995 requested review from a team as code owners November 20, 2026 22:53

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the SKILL.md documentation for the bigquery-jdbc-prepare-pr agent skill, replacing references to Jetski, Claude Code, and Gemini CLI with Antigravity (IDE/App and CLI) instructions, and updating the policy guidance on third-party model usage. I have no feedback to provide.

…eview loop

- Add the bigquery-jdbc-review-pr skill, a read-only reviewer's playbook.
- prepare-pr: a fresh own-model reviewer every round and a cross-model
  reviewer on the first diff. review.sh builds the reviewer prompt.
  cross-review.sh runs the cross-model reviewer through Antigravity's
  conversation CLI and audits what it did.
- AGENTS.md, DEVELOPMENT.md: guardrails 6 to 18 and the pre-PR checklist.
- Correct DEVELOPMENT.md, README.MD and the testing skill where they named
  things that don't exist.
…-pr-agy-cli

# Conflicts:
#	java-bigquery-jdbc/.agents/skills/bigquery-jdbc-testing/SKILL.md
#	java-bigquery-jdbc/DEVELOPMENT.md
@keshavdandeva keshavdandeva changed the title chore(bigquery-jdbc): use Antigravity CLI in prepare-pr skill chore(bigquery-jdbc): add PR review skill and rework the prepare-pr review loop Dec 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants