agentleFS
akshaypimprikarakshaypimprikar/pragma/.claude/skills/pr-followup/SKILL.md

pr-followup

Skill4 starsChanged 2 months agoMITView on GitHub

Auto-chain code-review and review immediately after a PR is opened, with no human trigger needed for either. Invoke right after a PR is created, or manually against an existing PR.

  • Commits and pushes

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. LuisUrrutia/skills★ 2same name
    2. prpande/skills★ 1same 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 repository16 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run code-review:code-review against the PR once.

    line 36
  2. Very specific:

    If the invocation errors (e.g.

    line 40
  3. Very specific:

    Run /review <PR>. It posts the verdict and updates the PR body's Review: line.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 Followup Agent

Auto-chains code-review:code-review and then /review immediately after a PR is opened, and records each result where the review-evidence CI check reads it (scripts/check_review_evidence.py).

code-review:code-review runs first so its fixes land before the /review rounds; a fix after an APPROVED verdict would otherwise need /review --confirm.

Note: code-review:code-review is a Claude Code skill and may not be invocable at all — either because your project sets disable-model-invocation, which removes it from the agent-invocable skill list, because the plugin is not installed at a scope this session loads, or because this coding agent has no such skill mechanism. Either way, step 3 below catches the invocation error and continues to reporting rather than halting the whole command; you'll still need to run an equivalent review yourself before merging.

Trigger

Invoked right after gh pr create succeeds, or manually against an existing PR: /pr-followup 71 or /pr-followup fix/some-branch.

Process

  1. Run python3 scripts/check_pr_lane.py --git origin/<base> --head-branch <head> --base-branch <base>. For the docs, release and sync lanes, report the lane and stop: they need neither step below. For the pipeline lane (or a PR that also touches pipeline paths), make sure the PR body has a non-empty Motivating incident: <what went wrong, with a link or date> line (or none (<reason>)); add it if missing, since review-evidence fails without it.
  2. Run code-review:code-review against the PR once. Fix any issue it posts, commit and push. Then add or replace one line in the PR body with the head SHA it reviewed: code-review: <comment URL> at <sha>, or code-review: no issues at <sha> when it posted nothing.
  3. If the invocation errors (e.g. Unknown skill), don't stall. Print ⚠️ code-review:code-review couldn't be invoked here (disable-model-invocation, plugin scope, or unsupported on this agent) — run an equivalent review yourself before merging. and continue.
  4. Run /review <PR>. It posts the verdict and updates the PR body's Review: line. Stop at CHANGES REQUESTED until the issues are fixed; /review allows at most two full rounds.
  5. Report both results and the lane.

/test is not in this chain: it runs between /feature and /gates.

Done when

Both results are reported and recorded in the PR body (or the fallback warning printed). Do not merge — per AGENTS.md/CLAUDE.md's Merge rule, the required checks decide mergeability and the user merges.

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.