Home / richkuo / rk-skills · skills/fix-pr-review-loop/SKILL.md · GitHub

fix-pr-review-loop skillA

fix-pr-review-loop is agent-read markdown (skill) from richkuo/rk-skills: 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 keep .

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# fix-pr-review-loop

Drive an open PR from "has review feedback" to "reviewed to convergence": resolve the latest review with `fix-pr-review`, wait for the bot's re-review, repeat. This skill owns the stop rules in step 3 and the terminal-state table in step 5. `work-on-issue-loop` runs steps 2 through 4 after it opens a PR and reuses step 5's table with its own deltas, so an edit to that table needs a matching edit in `work-on-issue-loop` step 4.

## 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

`gh pr view <N|--> --json number,headRefName,headRepositoryOwner,baseRefName,url,state,isDraft`. A `merged` or `closed` PR: stop and report. Otherwise fetch existing feedback with fix-pr-review step 1's three-channel query (reviews, issue comments, inline threads).

- **Unaddressed feedback present** (newer than any prior disposition comment, or an unresolved inline thread): it is review 1. Set `review_count = 1`, note its timestamp, go to step 3. Never post a redundant trigger.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add richkuo/rk-skills/fix-pr-review-loop@git:20260923.104a89e
Exact content
mdr add richkuo/rk-skills/fix-pr-review-loop@sha256:106fd14023f80ec2

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260923.104a89e latest2026-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. Deterministic, no model, 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 (10693 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 · 49 stars · license MIT · pushed 2026-09-24 · 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/106fd14023f80ec2019593cd7ff1b52f8e20944d96961269f9176b702f8e9660

Your agent 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.

More from richkuo/rk-skills

AGENTS.md agents
richkuo/rk-skills · AGENTS.md
git:20260817.faa195b · audit B · 49 stars
CLAUDE.md claude
richkuo/rk-skills · CLAUDE.md
git:20260924.1f0b4fa · audit B · 49 stars
app-prd 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:20260901.2e108d4 · audit A · 49 stars
cli-dispatch 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:20260923.d8bb824 · audit A · 49 stars
create-release 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:20260808.d2de7e3 · audit A · 49 stars
execution-plan-review skill
richkuo/rk-skills · skills/execution-plan-review/SKILL.md · Use when the user wants to review or revise the ordering/model/effort/fableplan/plan-effort assignments on a…
git:20260923.d8bb824 · audit A · 49 stars
fable-advisor 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:20260905.4d694c8 · audit A · 49 stars
fable-dispatch 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:20260924.1f0b4fa · audit A · 49 stars
fable-new-issue-loop 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:20260901.6c08e4b · audit A · 49 stars
fable-new-issue 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:20260901.6c08e4b · audit A · 49 stars
fable-orchestrate skill
richkuo/rk-skills · skills/fable-orchestrate/SKILL.md · Use when the user wants a task decomposed and driven by a Fable 5.1 orchestrator delegating implementation to Sonnet 5…
git:20260905.4d694c8 · audit A · 49 stars
fable-validate-fableplan-loop skill
richkuo/rk-skills · skills/fable-validate-fableplan-loop/SKILL.md · Use when the user asks to validate a GitHub issue with Fable 5.1, always plan it with Fable 5.1, and autonomously drive…
git:20260923.07468a2 · audit A · 49 stars

Every file in richkuo/rk-skills

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