Automates the process of reviewing a Pull Request and continuously iterating until it receives approval. The agent checks the review status, makes necessary changes, and responds to feedback until the PR is approved.
Get PR approval
Run this loop in your preferred coding environment to automatically handle PR reviews and revisions until approval is achieved.
Initiate the Loop
Start the loop in your chosen environment (Cursor, Claude Code, Codex, etc.) by providing the initial kickoff prompt.
Check Review Status
The agent will run 'review status' to determine the current state of the PR review.
Act Based on Status
Depending on the status (pending, changes requested, approved), the agent will either make code changes, wait, or exit.
Repeat Until Approved
Continue the cycle until the exit condition 'Approval received' is satisfied or the max iterations are reached.
Step 1
Check current PR review status using 'review status' command
Step 2
If status is 'pending', wait for a specified interval before rechecking
Review
This loop systematically identifies, analyzes, and resolves unresolved code review comments to improve code quality and ensure all feedback is addressed before merging.
Review
An automated workflow loop that iteratively reviews and improves pull request code quality to achieve merge readiness. This loop focuses on code standards, testing, documentation, and best practices through self-paced agent iterations.
Review
A self-paced loop for coding agents to iteratively review and improve their pull request quality before submission. The agent acts on the codebase, runs automated checks, inspects results, and refines changes until all quality criteria are met.
Step 3
If status is 'changes_requested', analyze feedback and modify the PR accordingly
Step 4
If status is 'approved', exit the loop successfully
Step 5
If max iterations reached without approval, halt and report failure
Start the "Review Until Approved" loop. Goal: Get PR approval Max iterations: 10 Between iterations run: review status Exit when: Approval received Goal: Achieve PR approval. You are an automated code reviewer. Continuously check the PR review status using the command 'review status' and take appropriate actions based on the result. If changes are requested, implement them and push updates. Repeat this process until the PR is approved or until you've reached 10 iterations. Only exit when the exit condition 'Approval received' is met. Context: You're working in a collaborative development environment where timely and accurate PR reviews are critical for deployment. Self-pace this loop. After each iteration, run `review status` and evaluate the output, and only continue if the exit condition is not met (Approval received). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.