review-pr
Skill486 starsChanged 15 days agoApache-2.0View on GitHub
Create a structured integration and review plan for a Pull Request
We split this skill into the rules it gives an agent
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 178 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
Use this skill when the user runs the /review-pr <number> slash command or uses any of these natural language triggers:
- Distinctive: line 17
When triggered, you MUST follow these exact steps:
- Very specific: line 20
Run gh pr view <number> to read the PR description.
- Very specific: line 21
Run gh pr diff <number> to see the exact code changes and files touched.
- Very specific: line 23
Create a new markdown task file at task/pr-<number>-fix.md with exact Rust struct/trait definitions and target file paths.
- Very specific: line 28
Run antigravity-ide task/pr-<number>-fix.md to open the file for the user.
- Distinctive: line 29
Ask the user to manually review and explicitly approve the plan before any implementation begins.
- Very specific: line 37
When creating task/pr-<number>-fix.md, structure it exactly like this:
- Distinctive: line 102
Do NOT merge or apply the PR automatically.
“Common” is measured: kept by at least 6 in 10 of the 178 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.
Files
PR Review and Integration Workflow
Use this skill when the user runs the /review-pr <number> slash command or uses any of
these natural language triggers:
- "lets review pr
<number>" - "lets work on pr
<number>" - "lets take a look at pr
<number>"
Workflow
When triggered, you MUST follow these exact steps:
- Information Gathering
- Run
gh pr view <number>to read the PR description. - Run
gh pr diff <number>to see the exact code changes and files touched.
- Run
- Task File Generation (No Source Code Edits)
- Create a new markdown task file at
task/pr-<number>-fix.mdwith exact Rust struct/trait definitions and target file paths. - The file MUST follow the template structure below, organizing the PR into distinct, actionable chunks (phases/headings).
- Create a new markdown task file at
- Format, Present & Execute
- Automatically run
prettier --write task/pr-<number>-fix.mdto format the new file. - Run
antigravity-ide task/pr-<number>-fix.mdto open the file for the user. - Ask the user to manually review and explicitly approve the plan before any implementation begins.
- Once approved, execute each phase (in a clean or
/compact-ed thread) and verify with./check.fish --check(cargo check -q --message-format=short).
- Automatically run
Task File Template
Canonical Example: See task/done/pr-455-fix.md for a complete, canonical example of a well-written PR review task file.
When creating task/pr-<number>-fix.md, structure it exactly like this:
_Task: PR <number> Integration (<short description>)_
# User Story & Context
## Problem
[Describe the user-facing problem that this PR is attempting to solve. What triggers the
bug?]
## Root Cause
[Describe the underlying technical root cause. Why is this happening in the codebase?]
## Expected Behavior
[Describe what the expected behavior should be after the fix.]
# Overview
[Brief summary of the PR, author, and what problem it solves.]
# Implementation Plan
We will process each of the action items iteratively using the following loop:
1. **Implementation:** Write the specific code changes for the current heading.
2. **Local Testing:** Run `./check.fish --check` and, where applicable, test
functionality.
3. **Mandatory Manual Review:** You (the user) will manually review the specifically
touched files before the heading is marked as checked `[x]`.
_(Once all headings are successfully implemented and checked off, we will proceed to final
verification and cleanup.)_
## Phase 1: [Name of first distinct fix/feature]
[Brief context of the problem and the specific fix.]
- _Context:_ [Why this change is needed.]
- _The Fix:_ [What the code actually does.]
- _File(s) Touched:_ [List the files.]
## Phase 2: [Name of next fix/feature...]
...
## Final Verification & Cleanup
- [ ] Verify full test suite coverage using `./check.fish --full`.
- [ ] When ready to merge, invoke the `/merge-pr` slash command to push the changes,
optionally update the author, and cleanly merge to `main`.
- [ ] Update the current meta-task (e.g. `task/prepare-vX.Y.Z-meta-task.md`) to check off
PR #<number>.
- [ ] **Mandatory manual review:** Verify every file modified in this task for correct
implementation and ensure no regressions.
- [ ] `path/to/modified_file_1.rs`
- [ ] `path/to/modified_file_2.rs`
- [ ] `task/prepare-vX.Y.Z-meta-task.md`Critical Rules
- Do NOT merge or apply the PR automatically. The purpose of this workflow is to rewrite
or cherry-pick the fixes systematically while validating them against the current
mainbranch. - Break down the PR diff into logical, self-contained action items rather than just one giant block.
Other versions185 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 185
- denoland/deno★ 109ksame name
- ToolJet/ToolJet★ 41ksame name
- remix-run/remix★ 33ksame name
- tirth8205/code-review-graph★ 32ksame name
- alpinejs/alpine★ 32ksame name
- nrwl/nx★ 29ksame name
- jlowin/fastmcp★ 28ksame name
- PrefectHQ/fastmcp★ 28ksame name
- livewire/livewire★ 24ksame name
- microsoft/fluentui★ 20ksame name
175 more not listed
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.
Used alongsideProjects with it also use write-product-spec, diagnose-ci-failures 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.
zerx-labSkillwrite-product-spec
Write a PRODUCT.md spec for a significant user-facing feature in Zap, focused on detailed behavior and validation. Use when the user asks for a product spec, desired behavior doc, or PRD, wants to define feature behavior before implementation, or when the feature is substantial or behaviorally ambiguous enough that a written spec would improve implementation or review.
Also in 4 projects that use this
zerx-labSkilldiagnose-ci-failures
Diagnose CI failures for a PR using the GitHub CLI, extract error logs, and generate a plan to fix them. Use when the user asks to check CI status, pull CI issues, triage test failures, or investigate PR build failures.
Also in 3 projects that use this
n24q02mSkillreview-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
Also in 3 projects that use this
n24q02mSkillbuild-graph
Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
Also in 3 projects that use this
charlesmatteSkillwrite-tech-spec
Generate a technical specification document from an existing PRD through relentless technical interview and codebase exploration. Use when user wants to write a tech spec, technical specification, technical design document, TDD (technical design doc), or go deeper on the technical details of a PRD.
Also in 4 projects that use this
dekozaSkillfix-pr
Repair an existing pull request's review findings and target-branch conflicts, verify the result, and update the same open PR.
Also in 5 projects that use this
- +2 more from zerx-lab
- +1 more from n24q02m
In this repository30 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- build-infra/AGENTS.mdAGENTS.md
- rust-analyzer-mcp-server/AGENTS.mdAGENTS.md
- task/AGENTS.mdAGENTS.md
- llms.txtllms.txt
- analyze-log-filesSkill
- analyze-performanceSkill
- audit-taskSkill
- batch-refactor-with-sub-agentsSkill
- check-bounds-safetySkill
- check-code-qualitySkill
- check-test-coverageSkill
- code-reviewSkill
- concurrency-safetySkill
- create-commit-messageSkill
- create-prSkill
- design-philosophySkill
- fast-string-allocationsSkill
- fix-issueSkill
- merge-prSkill
- organize-modulesSkill
- organize-testsSkill
- release-crateSkill
- remove-crate-prefixSkill
- run-clippySkill
- safe-renamingSkill
- test-cross-platformSkill
- write-documentationSkill
- write-structured-tracingSkill
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.

