review-looplisted
Install: claude install-skill lklimek/claudius
# Peer Review Loop
Autonomous loop for addressing peer review feedback on a pull request. Repeats until the reviewer has no new actionable comments.
## User Confirmation
**Before starting the loop**, present the user with a summary of what this skill will do (request review, wait for feedback, apply fixes, commit, push, and re-request — potentially multiple iterations) and ask for explicit permission to proceed. Do not begin the loop until the user confirms.
## Prerequisites
- Load `claudius:git-and-github` skill first — all git, gh, and GitHub conventions come from there
- A pull request already exists on GitHub
- Changes are pushed to the remote branch
- The reviewer is specified (default: `@copilot`)
## Loop Steps
### 1. Request review
Request review from the specified reviewer. See the `git-and-github` skill (§ Requesting Reviewers) for the wrapper script and `@copilot` requirements.
### 2. Wait for review completion
Poll until a new review appears. Use the `gh-fetch-reviews.sh` wrapper from the **github** skill (`PR Review Comments` section). Reviews are ordered by `submitted_at`; compare against the last known review ID to detect new ones.
- Track the latest review ID before requesting. A new review has a higher ID.
- Timeout after ~10 minutes of polling — inform the user if no review arrives.
### 3. Read review comments
Fetch inline comments associated with the latest review. See the **github** skill (`PR Review Comments > Fetching inline review comments`