| name | process-review |
| description | Use when finding and addressing RVW review comments in source code |
Find and process all RVW review comments. Argument: $ARGUMENTS (optional repo alias)
Comment Types
// RVW: comment - Discuss with user, propose fix, wait for confirmation
// RVWY: comment - YOLO mode: make the fix without asking
1. Discover comments
python scripts/review.py comments $ARGUMENTS
Parse the JSON output to get list of {file, line, comment, yolo}.
2. If no comments found
Say "No RVW comments found." and stop.
3. For each comment
If yolo: true (RVWY)
- Read the context around the comment
- Make the fix you think is best
- Remove the RVWY comment marker
- Briefly report what you did (one line)
If yolo: false (RVW)
-
Open the file at the comment line in VSCode:
mcp__vscode__openFile(path=<file>, line=<line>)
-
Show:
- File:line and the comment text
- Read the surrounding context (5 lines before/after)
- Propose a specific fix
-
Wait for user confirmation before proceeding.
-
After user confirms:
- Make the fix
- Remove the RVW comment marker
4. After all comments addressed
git add -A
git commit -m "Address review feedback"
Ask: "Stage for another review round (/lrt-rocm:stage-review) or ready to finalize?"