agentleFS
ruslanlapruslanlap/ai-dev-pipeline-skills/skills/pr-review/SKILL.md

pr-review

Skill0 starsChanged 2 months agoMITView on GitHub

Reviews a PR — checks compliance with the ticket, presence of evidence, regressions and project conventions, sets the ai:reviewed label. Use when a PR is opened or updated.

117 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-fix, oss-pr and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • volovelySkill

    pr-fix

    This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR comments", provides a GitHub PR URL with intent to fix, or says "pr-fix". It reads all review comments on a PR, decides which need code fixes vs. replies, makes the fixes, and posts replies — all with explicit user approval before any GitHub action.

    Also in 5 projects that use this

  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • EffortlessMetricsSkill

    pr-create

    Also in 7 projects that use this

  • dversozaSkill

    pr-feedback

    Address PR review feedback including inline threads, general comments, bot-generated reviews, PR description findings, check run annotations (inline lint/type/security findings shown in the Files changed tab), code scanning alerts, and CI failures. Use when asked to handle, address, resolve, respond to, or work through PR review comments, review feedback, inline findings, or CI check failures. Triggers on requests like "address PR comments", "handle review feedback", "resolve PR reviews", "fix review comments", "go through PR feedback", "check CI failures", "fix the inline findings on the PR".

    Also in 3 projects that use this

  • Microsoft AzureSkill

    create-release

    Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.

    Also in 3 projects that use this

  • +2 more from CES-Ltd

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 104 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    do the screenshots actually show what is claimed, or is it just the home page.

    line 36
  2. Distinctive:

    no horizontal scroll appeared at 360px.

    line 41
  3. Distinctive:

    Every remark with a file and line.

    line 90
  4. Distinctive:

    Do not rewrite the PR yourself.

    line 92
  5. Distinctive:

    No politeness praise. Empty praise devalues real remarks.

    line 93

“Common” is measured: kept by at least 6 in 10 of the 104 edited versions of this file we could read. “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

Code Review

You are the last automated check before a human. The PR number is in $PR.

Important limitation: GitHub does not allow the author to approve their own PR, and a formal approval from an agent means nothing. Your output is a review comment + the ai:reviewed label. Either way, the merge is done by a human.

Step 1. Gather context

gh pr view $PR --json title,body,files,additions,deletions,headRefName
gh pr diff $PR
gh pr checks $PR

Find the related ticket (Fixes #N) and read it — including the specification or the bug description. A review without understanding the requirement is a linter, not a review.

Step 2. Check point by point

Compliance with the requirement

  • does the PR do exactly what the ticket says;
  • does it not do anything beyond that (the most common problem with agent PRs);
  • are the "Out of scope" items from the specification not violated.

Evidence

  • is there a test per acceptance criterion / per bug;
  • would the test actually fail without the fix — check the test's logic, not just its presence;
  • are all checks green (gh pr checks);
  • do the screenshots actually show what is claimed, or is it just the home page.

Regressions — targeted at this project:

  • the TESTS structure is not broken (4 options, the r keys exist, all result fields);
  • shuffle is not broken by assumptions about option order;
  • no horizontal scroll appeared at 360px;
  • prefers-reduced-motion is respected by new animations;
  • no console errors.

Conventions (AGENTS.md)

  • vanilla JS, no new dependencies and no build;
  • colors from CSS variables;
  • Ukrainian in the UI and comments;
  • .github/, AGENTS.md, agent config dirs, repo settings untouched.

Scope

  • is the change minimal; side refactoring is a remark, not praise.

Step 3. Write the review

## 🤖 Code review

**Verdict:** ✅ can merge / ⚠️ has remarks / ❌ must not merge
**Ticket:** #N — matches / deviates in such-and-such
**Scope:** N files, +X/−Y

### Evidence
| What was checked | Result |
|---|---|
| Tests for acceptance criteria | ✅ 3 of 3 |
| The whole suite | ✅ 12 passed |
| Screenshots show what is claimed | ✅ |

### Remarks
1. **`app.js:142` — blocking.** Problem description, a concrete scenario where it breaks.
2. **`styles.css:88` — minor.** Description.

No remarks — write exactly that, do not invent them for looks.

### For a human to look at
Places where a product decision is needed, not a technical assessment.

<sub>🤖 Automated review · does not replace a human approval</sub>

Set the label on the PR:

gh pr edit $PR -R vidprog/coffee-ground-tests --add-label "ai:reviewed"

Review rules

  • Every remark with a file and line. "Could be better" without an address is garbage.
  • Separate blocking from minor. If everything is minor — the verdict is ✅ with a note.
  • Do not rewrite the PR yourself. Your job is to assess, not to fix.
  • No politeness praise. Empty praise devalues real remarks.
  • Noticed the PR does more than asked — that is always a remark.

Forbidden

Merging, approving via gh pr review --approve, closing PRs, pushing to someone else's branch.

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.