pr-plain-review
Skill0 starsChanged 19 days agoMITView on GitHub
Plain-language review before approving a PR or branch: explains what changed, why, which critical files it touched (migrations, RLS, legal terms, auth, payments, infra) and what risk it carries. Read-only; it never edits code or approves without confirmation.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-cleanupSkill
- skill-creatorSkill
- architecture-mapSkill
- astro-architectureSkill
- monorepo-architectureSkill
- nestjs-architectureSkill
- nextjs-architectureSkill
- react-native-architectureSkill
- gh-cliSkill
- git-cleanupSkill
- backend-best-practicesSkill
- clean-codeSkill
- code-quality-reviewSkill
- design-patternsSkill
- frontend-best-practicesSkill
- solid-principlesSkill
- tdd-workflowSkill
- ssh-connectSkill
- ts-import-organizerSkill
- explain-changeSkill
- idd-applySkill
- idd-exploreSkill
- idd-planSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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
- Distinctive: line 35
Use this skill when the user:
- Distinctive: line 49
GitHub PR: read the metadata and diff without changing anything:
- Very specific: line 57
Read any issue or spec linked in the PR body (Closes #..., tracker ID) if you can access it, to understand the original intent.
- Distinctive: line 63
If the PR does things its description does not mention (e.g.
- Distinctive: line 64
If there is no description or issue, say *"Not specified in the PR"* instead of inventing reasons.
- Distinctive: line 67
Check every modified, renamed or deleted file, and the diff hunks, against the 6 families in references/critical-files.md:
- Distinctive: line 84
If no critical file was found, say so explicitly and list the categories you checked.
- Very specific: line 85
If the user asks to leave the review on GitHub/GitLab, show the exact text first and wait for confirmation before running gh pr comment or …
- Distinctive: line 92
Read-only by default: never edit project code, approve PRs, merge branches or post comments on the tracker/PR without an explicit request …
- Distinctive: line 94
No assumptions: if context is missing (no description, no visible CI, binary or generated file), say so explicitly under *"What could not …
- Very specific: line 97
Stay on focus: if the user also wants an architecture opinion or a deep refactor beyond this brief, suggest code-quality-review.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
PR Plain Review (revisar-pr)
🎯 Purpose
Gives whoever is about to approve a Pull Request or Merge Request a quick, honest read in plain language before they press Approve: what really changes for users, data and operations; why it was done; which critical files it touched; and what real risk the team takes on by approving it.
It is strictly read-only: it does not edit code, post comments, or approve or merge PRs without explicit confirmation.
⚡ When to Trigger
Use this skill when the user:
- Asks to review a PR, MR or branch before approving or merging it ("revisar-pr", "review this PR before I approve it", "what does this PR change and how risky is it?").
- Wants a plain-language / business explanation of a technical diff, or wants to check whether it touched sensitive areas (migrations, RLS, legal terms, auth, payments, infrastructure).
When to hand off to another skill:
- For a deep technical code audit (Clean Code, SOLID, patterns, TDD): use
code-quality-review. - To create a PR, diagnose GitHub Actions or publish a release: use
gh-cli.
📋 Workflow
Step 1: Get the Diff and Context (read-only)
- Find the source from the request:
- GitHub PR: read the metadata and diff without changing anything:
gh pr view <n> --json number,title,body,baseRefName,headRefName,files,commits,statusCheckRollup,labels,isDraft gh pr diff <n> gh pr view <n> --comments - GitLab MR:
glab mr view <n>andglab mr diff <n>. - Local branch or pasted diff: inspect
git log <base>..HEAD --oneline,git diff --stat <base>...HEADandgit diff <base>...HEAD(detectmain,masterordevelopif no base is given).
- GitHub PR: read the metadata and diff without changing anything:
- Read any issue or spec linked in the PR body (
Closes #..., tracker ID) if you can access it, to understand the original intent. - Large PRs (>40 files or >1500 lines): group the files by area, read every critical file in full and a representative sample of the rest, and state at the top of the report what was reviewed in detail and what only in summary.
Step 2: Translate the "What" and Check the "Why"
- Explain the observable effect of the change in plain language (what changes for end users, customers, stored data, costs or the support team). If a technical term cannot be avoided (e.g. RLS, migration, webhook), explain its practical impact in one sentence.
- Compare the PR's title, description and comments against the actual diff:
- If the PR does things its description does not mention (e.g. touches permissions, drops columns, changes prices or refactors unrelated modules), flag it as a silent change.
- If there is no description or issue, say "Not specified in the PR" instead of inventing reasons.
Step 3: Audit Critical Files
- Check every modified, renamed or deleted file, and the diff hunks, against the 6 families in references/critical-files.md:
- Migrations and data schema
- RLS, policies and permissions
- Legal terms, privacy and sensitive copy
- Authentication, sessions and secrets
- Payments and financial state
- Infrastructure, CI/CD and critical dependencies
- Also check for
CODEOWNERS(.github/CODEOWNERS,CODEOWNERSordocs/CODEOWNERS) to point out whether a touched file needs approval from a specific owner. - Full read required: for each modified critical file, read the whole file in its resulting state (not just the diff hunk) to catch interactions with policies, guards, earlier migrations or existing rules.
Step 4: Assess Risk, Reversibility and Objective Signals
- Classify the overall risk (
Low,Medium,HighorBlocking) with the matrix in references/report-template.md. - Assess reversibility: tell apart a PR that a
git revertafter merging undoes from one that leaves hard or impossible-to-undo effects (deleted data, column type changes, legal acceptance, key rotation, charges). - Collect the real state of
statusCheckRollup/ CI checks and check whether the critical areas add or update tests. Never assume the tests pass without evidence in the PR or a real run.
Step 5: Deliver the Pre-Approval Report
- Present the report in the chat following exactly the structure in references/report-template.md.
- If no critical file was found, say so explicitly and list the categories you checked.
- If the user asks to leave the review on GitHub/GitLab, show the exact text first and wait for confirmation before running
gh pr commentorgh pr review. Never run--approveormergewithout an explicit order.
⚠️ Critical Rules
- Reply in the user's language, even though this skill is written in English. The report template is in English; render it in the user's language.
- Read-only by default: never edit project code, approve PRs, merge branches or post comments on the tracker/PR without an explicit request and confirmation.
- Plain language backed by evidence: translate into clear impact for the reader, always citing the
file:lineor exact resource behind each risk. - No assumptions: if context is missing (no description, no visible CI, binary or generated file), say so explicitly under "What could not be verified".
- Never downplay critical files: any touch to migrations, RLS, legal terms, auth, payments or secrets goes in the dedicated table, even if it looks "small".
- Be honest about scope: in large PRs never pretend to have read every line; state which critical files were read in full and which areas were summarized.
- Stay on focus: if the user also wants an architecture opinion or a deep refactor beyond this brief, suggest
code-quality-review.
📚 References
- Critical files catalog: path patterns, diff signals and key questions per category.
- Report template and risk matrix: canonical format, risk criteria and a full example.
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.

