agentleFS
rockdairockdai/agent-scripts/skills/pr-recheck/SKILL.md

pr-recheck

Skill0 starsChanged 7 months agoUnlicenseView on GitHub

Use when the qa agent must re-evaluate a pull request after prior review feedback, including project aliases like "recheck N", dev replies, new commits, unchanged heads, finding closure, new test coverage, approval, and dev notification.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. jonathascosta/claude-code-workflow★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the consuming repository's agent instructions and fetch:

    line 16
  2. Distinctive:

    If the head did not change but the dev replied, judge the reply against the code and project rules.

    line 51
  3. Distinctive:

    If neither code nor relevant replies changed, say the head has not changed and keep the prior unresolved findings.

    line 52
  4. Distinctive:

    If all findings are closed and no new issues are found, emit the host's approval signal.

    line 58
  5. Very specific:

    After the result is visible on the PR, notify the dev using the project rule.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PR Recheck

Overview

Recheck the PR's latest state against the previous review context. This is not a fresh blind review: it verifies whether prior findings were closed, whether the dev's replies are technically sound, and whether new changes introduced new risks.

Project-specific trigger aliases such as recheck N are compatibility shims. The reusable concept is "re-evaluate a PR after feedback".

Gather Context

Read the consuming repository's agent instructions and fetch:

  • Current PR head SHA and diff.
  • Previous reviews, inline comments, issue comments, and dev replies.
  • Commits since the last reviewed head.
  • Checks and tests relevant to changed files.

Tool selection. Prefer the local gh CLI for all GitHub interactions; it is the lowest-friction, best-authenticated path on most workstations. Fall back to a GitHub MCP server or connector tool only when gh is missing, unauthenticated, or the required call has no gh equivalent. Do not start with a connector when gh would work.

gh pr view N --json headRefOid,reviewDecision,comments,reviews,files
gh pr diff N
gh api --paginate repos/OWNER/REPO/pulls/N/reviews
gh api --paginate repos/OWNER/REPO/pulls/N/comments
gh api --paginate repos/OWNER/REPO/issues/N/comments

gh pr view --json reviews returns at most one unpaginated page; on PRs with many review rounds it silently truncates older verdicts. Always fetch the full review history via the paginated gh api line above before deciding any finding is "closed".

Blocker Pre-check

The blocker gate from pr-review applies on every recheck. If the current head has CI failing or mergeable: CONFLICTING, post the blocker as a finding, emit the host's CHANGES_REQUESTED signal, and stop — do not re-walk prior findings or the new diff this round. The dev will need to push another commit either way, and the recheck after that fix is when the real re-evaluation belongs.

Detect with:

gh pr view N --json mergeable,statusCheckRollup
gh pr checks N

See pr-review § Blocker Pre-check for the full rules (what counts as a blocker, pending vs failed, both-present handling, and the finding format). Once the dev re-notifies with recheck N and the blocker is gone, the recheck proceeds normally through Decision Path.

Decision Path

  • If the head changed, review the increment since the previous deep-reviewed head. A round that fast-failed on a blocker reviewed nothing, so it does not move this baseline — if every prior round was blocker-skipped, the increment is the full base-to-head diff. Then verify every prior finding is actually closed, and check that new or changed behavior has tests.
  • If the head did not change but the dev replied, judge the reply against the code and project rules. Do not accept "fixed" claims without evidence.
  • If neither code nor relevant replies changed, say the head has not changed and keep the prior unresolved findings.

Output

Post the result to the PR. For unresolved issues, write findings with concrete evidence.

If all findings are closed and no new issues are found, emit the host's approval signal. Step 1 is the durable verdict; Step 2 is courtesy reinforcement for human readers:

  1. Submit an approving review (gh pr review N --approve). On hosts that block self-approval, this step will fail; fall back to the host's documented self-PR mechanism (e.g., a structured <!-- baxian:<agent>:approve --> marker on its own line, outside fenced blocks).
  2. Submit a :+1: review comment (gh pr review N --comment --body ':+1:').

Each host defines its own recognized signals — check the host's agent rules. :+1: is not a universal verdict shorthand; only treat it as decisive if the host explicitly documents it.

After the result is visible on the PR, notify the dev using the project rule. If the project uses a qa-to-dev callback, use review-notify or the configured transport.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.