fix-pr-review-loop SKILL.md skillA

fix-pr-review-loop from richkuo/rk-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add richkuo/rk-skills/fix-pr-review-loop@git:20261006.4c6da76

Pins git:20261006.4c6da76 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
richkuo/rk-skills
Path
skills/fix-pr-review-loop/SKILL.md
Versions recorded
15
Latest version
git:20261006.4c6da76, committed Oct 6, 2026
First version recorded
Sep 1, 2026
Size
14,704 bytes
Repository stars
50
License
MIT

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". Takes an optional PR number/URL (defaults to the current branch's PR). Repeatedly calls fix-pr-review, waits for the bot's re-review (@claude by default, @codex when selected), and repeats. Stops on a bare LGTM, on the first LGTM past 5 cycles, or to escalate when four or more cycles…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# fix-pr-review-loop

Resolve the latest review with `fix-pr-review`, wait for the bot's re-review, repeat. This skill owns the step 3 stop rules and the step 5 table. `work-on-issue-loop` runs steps 2 to 4 and reuses step 5's table with deltas; edit its step 4 with that table.

## Input

Nothing (the current branch's PR via `gh pr view`), or `#<N>` / `<N>` / URL / `owner/repo#N`.

## Steps

### 1. Resolve the PR and establish the starting state

Run `gh pr view <N|--> --json number,headRefName,headRepositoryOwner,baseRefName,url,state,isDraft`; `merged` or `closed`: stop and report. Compute `review_count` (0 on a fresh PR) and `pr_cycle_count` per Round counts in `skills/fix-pr-review/rereview-routing.md`, which owns both counts and the pending trigger; a verification limitation there stops the loop: report the missing evidence, post nothing. Fetch feedback with fix-pr-review step 1's three-channel query (reviews, issue comments, inline threads). Take the first case that applies:

- **Pending trigger present** (per Round counts, naming the selected bot): recover it; never post another. One naming the other bot: stop and report.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add richkuo/rk-skills/fix-pr-review-loop@sha256:b19ef087aa3a7f94

The line at the top of this page pins the label git:20261006.4c6da76, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qys3e2lovqephawr.svg)](https://markdownregistry.com/a/art_qys3e2lovqephawr)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 15 versions of this file, between Sep 1, 2026 and Oct 6, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261006.4c6da76 latest2026-10-06 4c6da76 14,704 BA view · diff
git:20261004.47b4d962026-10-04 47b4d96 15,300 BA view · diff
git:20261002.6c4566e2026-10-02 6c4566e 15,073 BA view · diff
git:20261002.51ca0842026-10-02 51ca084 14,960 BA view · diff
git:20260929.53ba9192026-09-29 53ba919 14,947 BA view · diff
git:20260927.55c22802026-09-27 55c2280 19,476 BA view · diff
git:20260927.05b872f2026-09-27 05b872f 19,008 BA view · diff
git:20260927.681870c2026-09-27 681870c 13,267 BA view · diff
git:20260923.104a89e2026-09-23 104a89e 10,693 BA view · diff
git:20260923.55514102026-09-23 5551410 10,543 BA view · diff
git:20260905.01718822026-09-05 0171882 10,462 BA view · diff
git:20260905.cd7c29b2026-09-05 cd7c29b 10,780 BA view · diff
git:20260904.8bcf5df2026-09-04 8bcf5df 10,743 BA view · diff
git:20260904.d971a4c2026-09-04 d971a4c 10,682 BA view · diff
git:20260901.408a4182026-09-01 408a418 9,653 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (14704 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

richkuo/rk-skills · 50 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qys3e2lovqephawr
GET https://markdownregistry.com/api/v1/resolve?ref=richkuo/rk-skills/fix-pr-review-loop
GET https://markdownregistry.com/api/v1/blob/b19ef087aa3a7f94cd00e4f8807cfe90c0d3bee72587814a615df227da63fc84

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from richkuo/rk-skills

AGENTS.md AGENTS.md file
richkuo/rk-skills · AGENTS.md
git:20260817.faa195b · audit B · 50 stars
CLAUDE.md CLAUDE.md file
richkuo/rk-skills · CLAUDE.md
git:20261031.cef71f0 · audit B · 50 stars
app-prd SKILL.md skill
richkuo/rk-skills · skills/app-prd/SKILL.md · Use when the user wants an app idea turned into a Product Requirements Document (PRD) committed to a repo — "create a…
git:20261006.4c6da76 · audit A · 50 stars
cli-dispatch SKILL.md skill
richkuo/rk-skills · skills/cli-dispatch/SKILL.md · Required dispatch procedure for running a build, fix pass, or validate pass on an external coding CLI — the Codex CLI…
git:20261007.71d313a · audit A · 50 stars
codex-validate-plan-work-on-issue SKILL.md skill
richkuo/rk-skills · skills/codex-validate-plan-work-on-issue/SKILL.md · Use when the user wants one or more GitHub issues run in parallel through a Codex CLI validate pass, a separate Codex…
git:20261011.cbb2a8b · audit A · 50 stars
create-release SKILL.md skill
richkuo/rk-skills · skills/create-release/SKILL.md · Use when the user asks to "create a release", "cut a release", "tag a version", "publish release notes", or ship a new…
git:20261006.4c6da76 · audit A · 50 stars
execution-plan-review SKILL.md skill
richkuo/rk-skills · skills/execution-plan-review/SKILL.md · Use when the user wants to review or revise the ordering/model/effort/plan/plan-effort assignments on a milestone's…
git:20261022.bc1e35d · audit A · 50 stars
expo-app-initialize SKILL.md skill
richkuo/rk-skills · skills/expo-app-initialize/SKILL.md · Scaffolds a new Expo React Native app with the tabs template, expo-router, react-native-mmkv, expo-dev-client, and…
git:20261007.e110522 · audit A · 50 stars
fable-advisor SKILL.md skill
richkuo/rk-skills · skills/fable-advisor/SKILL.md · Use when the user wants a task executed by the current session model with a persistent Fable 5.1 advisor overseeing it…
git:20261006.4c6da76 · audit A · 50 stars
fable-dispatch SKILL.md skill
richkuo/rk-skills · skills/fable-dispatch/SKILL.md · Required dispatch procedure for running a subagent on Fable 5.1: positive harness detection, the Claude Code CLI shim…
git:20261006.4c6da76 · audit A · 50 stars
fable-new-issue-loop SKILL.md skill
richkuo/rk-skills · skills/fable-new-issue-loop/SKILL.md · Use when the user asks to have a Fable 5.1 subagent draft and file a GitHub issue, then autonomously drive it all the…
git:20261006.4c6da76 · audit A · 50 stars
fable-new-issue SKILL.md skill
richkuo/rk-skills · skills/fable-new-issue/SKILL.md · Use when the user wants a GitHub issue created by a Fable 5.1 subagent. Spins up a read-only subagent running on Fable…
git:20261006.4c6da76 · audit A · 50 stars

Every file in richkuo/rk-skills

Browse by kind, by grade A, or by owner.