- Home
- Skills
- Leegonzales
- Aiskills
- Pr Review Loop
pr-review-loop_skill
- Python
20
GitHub Stars
4
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill leegonzales/aiskills --skill pr-review-loop- CHANGELOG.md531 B
- LICENSE1.1 KB
- README.md6.3 KB
- SKILL.md4.1 KB
Overview
This skill manages the pull-request push-review-fix cycle using Gemini Code Assist, with an automatic fallback to Claude when Gemini is rate-limited. It orchestrates fetching comments, applying fixes or skipping with replies, committing via approved scripts, and triggering repeat review cycles until the PR is ready. It enforces safe git usage by requiring specific helper scripts instead of raw git commands.
How this skill works
The skill polls the PR for unresolved review comments and summarizes them by priority and file. For each comment it proposes a fix or a rationale to skip, posts a reply that can auto-resolve the thread, then commits changes using the provided commit-and-push script. After pushing, it triggers another review cycle and repeats until no new actionable feedback appears. If Gemini is rate-limited, the skill switches to Claude and uses the Claude review script and task tool prompts.
When to use it
- After pushing changes and waiting for CI or reviewer feedback
- When someone says “new reviews available” or “check PR feedback”
- While iterating on reviewer comments to converge the PR
- To monitor CI and review status until merge readiness
- When you want an automated, repeatable review-feedback loop that enforces reply and commit steps
Best practices
- Never run raw git commands; always use the provided commit-and-push.sh script
- Reply to every review comment with Fixed / Won't fix / Deferred / Acknowledged templates
- Be skeptical: evaluate suggestions for correctness, project fit, and complexity before applying
- Use --wait polling to avoid noisy loops; let the tool poll for new comments every 5 minutes when requested
- Track a final verification loop in your task tracker before merging
Example use cases
- You pushed a feature branch and want automated review cycles until reviewers sign off
- Addressing a batch of reviewer comments: propose fixes, commit via the script, trigger another review
- CI failed after a change: fetch comments, fix the failing tests, push with commit-and-push.sh, and re-trigger review
- Gemini quota exceeded: fall back to Claude to generate review suggestions and proceed with the same reply/commit flow
- Final verification loop: run one more review cycle after resolving all threads, then confirm merge readiness
FAQ
Do not use raw git. Always use the provided commit-and-push.sh script to create commits and push changes.
How does the fallback to Claude work?
When Gemini hits its quota the skill calls the claude-review.sh or trigger-review.sh --claude script and continues the same review loop using Claude-generated prompts.