soloopx.by solo lemon.
Back to loops
Reviewmanual

PR Self-Review

Review your own diff like a senior reviewer, fix issues, and repeat for three passes before opening the PR.

3 views1 usesby solo lemon.

// parameters

Triggermanual
Max iterations3
Exit conditionThree review passes completed with no critical findings

// run_this_loop

Copy the kickoff into your agent first. The blueprint below explains how the loop evaluates progress and when it should stop.

Open in CursorOpen in Claude

Use loop copies the kickoff prompt. Share copies the loop link. Open in Cursor / Claude only pre-fill that prompt — they do not install hook files. Download loop saves the loop as pr-self-review.md.

Start the "PR Self-Review" loop.

Goal: three clean self-review passes on the current diff
Max iterations: 3
Between iterations run: git diff main...HEAD
Exit when: three passes complete with no critical findings

Step 1: Review the diff like a senior reviewer. Fix findings, then re-review.

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.

// blueprint

The loop contract: target outcome, execution sequence, checks, stopping condition, and safety constraints.

Goal

three clean self-review passes on the current diff

// loop_sequence

// loop_sequence_diagram.json
closed loop

Trigger

Manual start

Actions block

3 steps
1Review diff
2Address findings
3Re-review

Feedback gate

Evaluate: state progress

Run the check, read the output, then decide whether the loop is complete.

Check failed

Repeat actions with the latest feedback.

Success

Three review passes completed with no critical findings

Safety capMax 3 iterations

// steps

  1. 1
    Review diff

    Review the current branch diff. List bugs, edge cases, naming issues, and missing tests.

  2. 2
    Address findings

    Fix the highest-severity findings from the review with minimal scope.

  3. 3
    Re-review

    Review the updated diff and confirm prior findings are resolved.

Guardrails

Hardened
  • Do not modify the check command or exit criteria to force success
  • Do not skip, disable, or bypass checks to pass the exit condition
  • If stuck after several iterations, stop and report blockers instead of gaming metrics