Reviewprompt onlyIntermediate

Address Review Feedback

This loop systematically identifies, analyzes, and resolves unresolved code review comments to improve code quality and ensure all feedback is addressed before merging.

← all loops
code-reviewfeedbackquality-assuranceautomationcode-improvement

Goal

Resolve all unresolved review comments in the codebase

How to Run

Run this loop in a supported coding environment (e.g., Cursor, Claude Code) to automatically find review comments, understand them, and make necessary code changes until all are resolved.

  1. 01

    Start Loop

    Initiate the loop by running the kickoff prompt in your coding environment

  2. 02

    Check for Comments

    Run 'comment audit' to identify unresolved review comments

  3. 03

    Analyze & Act

    For each unresolved comment, understand the feedback and make required code changes

  4. 04

    Verify Resolution

    Re-run 'comment audit' to confirm the comment is resolved

  5. 05

    Repeat Until Clean

    Continue the cycle until no unresolved comments remain

Workflow Steps

  1. 01

    Comment Audit

    Run 'comment audit' to list all unresolved review comments

  2. 02

    Comment Analysis

    Read and understand each unresolved comment's context and requirements

  3. 03

    Code Modification

    Make targeted changes to address the specific feedback in the comment

  4. 04

    Verification

    Run 'comment audit' again to verify the change resolves the comment

  5. 05

    Iteration Check

    If unresolved comments remain and iteration limit not reached, repeat the workflow

Kickoff Prompt

Start the "Address Review Feedback" loop.

Goal: Resolve all unresolved review comments in the codebase
Max iterations: 10
Between iterations run: comment audit
Exit when: No unresolved comments found


Begin by checking for unresolved review comments using 'comment audit'. For each unresolved comment, analyze its context and make the necessary code changes to address it. After resolving each comment, verify with another audit. Continue this process until all comments are resolved or the maximum iterations are reached.

Self-pace this loop. After each iteration, run `comment audit` and evaluate the output, and only continue if the exit condition is not met (No unresolved comments found). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.

Guardrails

hardcoded
  • ·Only modify files directly related to the review comment
  • ·Do not introduce new features or refactor unrelated code
  • ·Ensure all changes maintain existing test coverage
  • ·Preserve original functionality while addressing feedback
  • ·Request clarification if a comment is ambiguous or unclear

Flow Diagram

rendering…

Related loops — Review