agentsclimarketplace

Pr review

Skill mrfansi/solodev/skills/pr-review

Review a pull request and report findings ranked by severity, posting them to the PR as a comment when one exists. Use when asked to review a PR or whether it is safe to merge. Runs only when invoked; nothing triggers it automatically. Optional PR link or number; with no argument it reviews the current branch's PR.From its SKILL.md

Install
npx -y skills add mrfansi/solodev --skill pr-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.1 KB, as published. Nobody here has run it

pr-review

/solodev:pr-review [pr-url-or-number]

No argument → review the PR for the current branch. No PR for the branch → review the diff against the default branch and say that is what you did.

1. Load the PR

gh pr view <ref> --json title,body,author,files,additions,deletions,baseRefName,url
gh pr diff <ref>
gh pr checks <ref>

Read the PR description before the diff. Review means judging whether the change achieves its stated intent — without the intent, you are only reading code.

Then read enough of the surrounding code to judge the change in context. A diff read in isolation produces findings that are locally right and globally wrong.

2. Review in this order

Stop-the-line issues first; taste last. Reviews that open with style notes bury the bug that matters.

OrderDimensionLook for
1Correctnessedge cases, empty/null, off-by-one, error paths, wrong operator, unreachable branches
2Securityunvalidated input at trust boundaries, injection, secrets in code or logs, missing authorisation, unsafe deserialisation
3Datamigrations, backward compatibility, anything that can destroy or corrupt existing data
4Concurrencyshared mutable state, races, lock ordering, non-atomic read-modify-write
5Testsdoes new logic have tests, do they assert behaviour, would they fail if the bug returned
6PerformanceN+1 queries, nested loops over unbounded input, work inside a hot path
7Designduplication of something that already exists, wrong layer, leaked abstraction
8DocsREADME, CHANGELOG, public API docs updated when behaviour changed
9Styleonly what a formatter or linter does not already enforce

3. Verify before reporting

Every finding must survive this test: can you state concrete inputs or state that produce a wrong result? If not, it is a question, not a finding — phrase it as one.

Do not report:

  • what the formatter or linter already enforces
  • personal preference dressed up as a defect
  • speculation about code the diff does not touch
  • "consider extracting this" with no defect behind it

Where a claim in the PR description is checkable, check it rather than trusting it.

4. Severity

LevelMeaningMerge?
BlockerData loss, security hole, or the feature does not workNo
MajorWrong behaviour in a real scenario, or a missing test for risky logicNot until resolved or consciously accepted
MinorReal but low impact; edge case unlikely in practiceCan merge, fix later
NitPreference, naming, phrasingNever blocks; prefix with nit:

5. Output

## Review: <PR title>

**Verdict:** approve / approve with comments / request changes
**Scope:** <n> files, +<a>/-<b> · CI: <status>

### Blockers
1. `path/file.ext:42` — <one sentence: the defect>
   **Fails when:** <concrete inputs → wrong output>
   **Fix:** <what to do>

### Major
...

### Minor / Nits
- `nit:` ...

### What works well
- <name it — a review that only finds fault teaches nothing about what to repeat>

Post it to the PR

A verdict that lives only in a chat session dies with the session. Post the report as a review event so it sits on the PR where the next reader finds it:

Read the body before sending. A COMMENTED review cannot be deleted once posted — only a PENDING one can, and dismissal covers APPROVED and CHANGES_REQUESTED only.

Nothing about the workflow goes in the body — no run number, no phase, no backlog id. Write what you would write reviewing this change by hand. This is checked before sending, because after sending there is no check left.

The verdict stays a recommendation wherever it is posted. Reviewing and approving are different decisions and the second one is the user's.

gh pr review <pr> --comment --body-file -    # the report on stdin, so no file is left behind

Then clear the "Not reviewed yet." footer if the body carries one — gh pr edit <pr> --body with that line removed. A description still claiming the PR is unreviewed, sitting above a review, teaches the reader to distrust the line everywhere else it appears.

There is not always a PR. Asked to review a branch that has none open — nothing pushed yet, or a local experiment — there is no <pr> to name. Post nothing, say so, and return the report to whoever asked; it is the same review either way.

--comment is not a lesser choice — for a PR you opened yourself, it is the only state GitHub allows. Both others are rejected outright:

GraphQL: Can not approve your own pull request

--request-changes is refused the same way. That message is reported verbatim in public incident reports and is not reproduced here — reproducing it means posting a review nobody wanted — so expect the wording to differ slightly and the mutation path to be appended.

So a solo developer will never see approved or changes_requested on their own PR, with or without this skill. Say that once when it comes up, rather than letting the absence read as a failure. On someone else's PR both states are available — use --request-changes when a blocker survives verification, and leave --approve to a human, because an automated approval defeats the purpose of the review.

Never merge, on any PR.

Nothing invokes this but you

/solodev:autopilot used to run this review over its own diff before every commit. It no longer does — a review nobody asked for is a review nobody reads, and this is a manual tool. A loop run now opens its PR and stops there.

So the PR the loop opens is unreviewed until you say otherwise. Reviewing it is one command:

/solodev:pr-review        # no argument: the current branch's PR

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.