review-loop

Solid

Bounded review-apply-resolve convergence loop for a GitHub PR (draft PRs are fine). Runs up to N=5 iterations of pr-reviewer → implement-suggestion (--resolve-all) → polish simplify, converging until every review thread is resolved — through a fix OR a reply (answered question, recorded rationale) — so the PR is left with zero open threads (only genuine human-judgment flags stay open). On convergence it also refreshes the PR description to match the shipped diff and, best-effort, notes the linked Linear ticket. Use after opening a draft PR to converge the branch to a clean, review-ready state before undrafting. Callers: autonomous-workflow Phase 6/7, create-pr (post-draft), and standalone via /review-changes. Invoke with /review-loop <PR-URL|#n> [--cap N] [--critical] [--no-feedback] [--no-refresh].

Code & Development 8 stars 2 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
32
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# review-loop — Bounded Review-Apply-Resolve Convergence Drive a PR from its initial draft state to a clean, review-ready state by iterating `pr-reviewer` → `implement-suggestion --resolve-all` → `polish simplify` until **every review thread is resolved** or the cap is reached, then refresh the PR description to match the shipped diff. A thread is resolved when it is **either fixed** (a code change landed) **or answered** (a reply — the answer to a question, the agent's take on a discussion, or a rationale for a declined suggestion). The only threads left open at convergence are genuine **human-judgment flags**: a real potential issue the agent will neither auto-apply nor honestly decline. That safety valve means the loop can never green-wash a PR by resolving a live finding — it surfaces it instead. This skill is an **orchestrator**. It contains no quality rules of its own. It sequences existing pieces, each owning its own domain: 1. `pr-reviewer` — finds issues (read-only; posts one `COMMENT` review; on a re-review resolves its own addressed threads). 2. `implement-suggestion --resolve-all` — applies actionable findings **and** replies-to-and-resolves the non-fix threads it can honestly close (single-shot, no `--watch`). 3. `Skill("polish", "simplify")` — applies Class M mechanical refactors behind a confidence gate. 4. On convergence — refreshes the PR description (via the shared description-contract) and, best-effort, notes the linked Linear ticket. ### Dispatch mech...

Details

Author
mthines
Repository
mthines/agent-skills
Created
3 months ago
Last Updated
2 days ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

fix-pr-review-loop

Use when the user asks to fix a PR review and drive it to approval autonomously — "fix the PR review and loop until approved", "fix-pr-review-loop", "keep addressing review comments until this PR is approved", or as the standalone counterpart to work-on-issue-loop's polling/resolving steps for a PR that already exists. Takes an optional PR number/URL (defaults to the current branch's PR). Repeatedly calls fix-pr-review to resolve the latest review, waits for the resulting re-review from the selected review bot (@claude by default, @codex when selected), and repeats. Stops on a bare LGTM with nothing left to fix; once past 5 review cycles it stops at the first LGTM it sees even if non-blocking findings remain, rather than continuing to chase them.

46 Updated today
richkuo
Code & Development Solid

review-loop

Convergence-paced review-resolve loop over code/PR diffs. Drives a pluggable review source (codex | code-review), verifies each finding against the codebase, auto-applies mechanical fixes and gates judgment fixes with the user, checks the applied edit bundle's fit against the work-flow once before handing forward, then re-reviews until the source verdict reaches approve. User-invoked via /review-loop.

157 Updated today
jongwony
Code & Development Solid

review-changes

Review branch changes or a PR for code quality, tests, documentation, and commit hygiene. Routes to the `review-loop` skill for a bounded review-apply-simplify convergence loop, or to `pr-reviewer` directly for a one-shot read-only review. Invoke with /review-changes.

8 Updated 2 days ago
mthines