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.
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.
- 01
Start Loop
Initiate the loop by running the kickoff prompt in your coding environment
- 02
Check for Comments
Run 'comment audit' to identify unresolved review comments
- 03
Analyze & Act
For each unresolved comment, understand the feedback and make required code changes
- 04
Verify Resolution
Re-run 'comment audit' to confirm the comment is resolved
- 05
Repeat Until Clean
Continue the cycle until no unresolved comments remain
Workflow Steps
- 01
Comment Audit
Run 'comment audit' to list all unresolved review comments
- 02
Comment Analysis
Read and understand each unresolved comment's context and requirements
- 03
Code Modification
Make targeted changes to address the specific feedback in the comment
- 04
Verification
Run 'comment audit' again to verify the change resolves the comment
- 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
Related loops — Review
Review
PR Polish Loop
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
Self-Review Loop
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.
Review
Security Review Resolver
An automated iterative loop that analyzes code for security vulnerabilities, runs security checks, identifies issues, implements fixes, and continues until security approval is achieved. The agent self-paces through act → check → inspect cycles to ensure code meets security standards.