review-a-pr
Skill0 starsChanged 4 days agoMITView on GitHub
Have a Rush cloud agent review a GitHub pull request and report what it would change. Use when someone asks for a code review, a second opinion on a PR, or a check of a PR before merging.
In this repository5 other files it gives its agents.
- fix-a-bugSkill
- get-startedSkill
- hand-off-a-taskSkill
- run-in-parallelSkill
- save-an-agentSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Start the review: Call create_session with the PR URL as repo, a fresh UUID you write yourself as request_id, and a task like: "Review this …
- Very specific: line 25
Offer the next step: Ask follow-up questions with send_session_message in the same session.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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.
Files
Review a pull request with Rush
- Find the pull request. Get its URL. If the person names only a
repository, ask which PR. If
list_repositoriesdoes not list the repository, say the Rush GitHub App does not reach it yet (https://cloud.getrush.ai/console/settings/?section=connections) and stop. - Start the review. Call
create_sessionwith the PR URL asrepo, a fresh UUID you write yourself asrequest_id, and atasklike: "Review this pull request. Read the diff and the code it touches, run the tests and linters the repo has, and list each problem with its file and line, why it matters and the change you would make, most serious first. Say plainly if you find nothing. Do not push commits or post comments." Add anything the person asked to focus on, such as security or performance. To review several PRs, start one session each. - Wait. A review takes a few minutes: call
wait_for_sessionswithtimeout_seconds: 50until it settles. - Report. From
get_session: the findings, most serious first, each with its file and line, and which tests ran. Do not add findings of your own to Rush's list. Onneeds_revieworfailed, say so with the reason. - Offer the next step. Ask follow-up questions with
send_session_messagein the same session; its task told it not to push. To make the fixes, start a new session with the findings in itstaskand the PR's branch (/tree/<branch>) asrepofor a branch in the same repository; for a PR from a fork, the new session opens its own pull request. Start it only when the person asks.
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
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.

