The PR Review Skill: How Every Change Gets Checked
AI can write a feature in minutes and hide a bug in it for months. A change can run fine and still do the wrong thing. The cheapest place to catch that is before it ships, while the change is small and fresh.
That is the job of the PR review skill, the check every change I make goes through. It is a skill for Claude Code: a set of written steps that Claude follows the same way every time. It is free to use. The step-by-step detail is in the Technical tab.
A real catch
On the job-alert app I build, I added a new kind of search: a research search. It collects jobs so members can study a market, and it never sends those jobs to anyone.
The change worked. But the review found one gap: the list of searches would still show a “new jobs” count for a research search. That count would point to jobs that were never sent. The verdict was “ready with fixes”. Today the count for those searches stays at zero.
The same review also confirmed what was right: every query still checked which account the data belonged to, and research jobs could not end up in the queue for proposal drafts.
What it checks, in plain words
It only looks at what changed, so it is fast enough to run every time. It does four jobs:
- It looks for bugs. Does the change do what it should? What happens with empty input, or two people clicking at once? Did it break something that used to work?
- It checks the structure. A second, separate reviewer checks the change against my 15 architecture rules. Is the code in the right place? Can a user change data that is not theirs?
- It runs a few focused checks. Are errors reported, or quietly swallowed? Is the new behavior tested? If the database changed, is its design still sound?
- It gives one clear answer. Ready to ship, not ready, or ready with fixes, with problems sorted by how serious they are. Missing tests get written, not just listed.
For a check of the whole app, there is a separate weekly review skill.
Where a person still reads the code
The skill does the first sweep. It does not replace a person. Sensitive code means logins, payments, permissions, personal data, and anything that deletes or moves data. How much of it gets read by hand depends on the stage.
| Stage | What gets read by hand |
|---|---|
| MVP | The skill checks every change. Hand reads are rare. Speed matters more, and much of this code may be thrown out. |
| Before launch | A senior developer reads all sensitive code line by line before real users arrive. |
| In production, making money | Every change to sensitive code is read by a senior developer before it ships. Other changes get the skill plus spot checks, based on how much they matter. |
On my projects, that senior developer is me. The tools find problems. I read the code and decide. If AI wrote it, I still own it. What free tools catch in sensitive code, and what they miss: the security audit toolkit.
Four questions to ask about your change checks
- Does someone other than the writer check each change? A fresh reviewer sees what is there, not what was meant.
- Are bugs and structure checked separately? One check asked to find everything tends to find one problem and stop.
- Does each check end in a clear answer? Ship, don’t ship, or ship with fixes.
- When a test is missing, does it get written, or only listed?
You don’t need to run any of this yourself. I run the check on every change, fix what it finds, and you see the verdict.
For the bigger picture, read How I Review AI-Written Code.
The short version
Every change gets two separate checks, one for bugs and one for structure, then a few focused checks and one clear verdict. Missing tests get written before the change ships. On a SaaS I built end to end, that is how a wrong “new jobs” count got caught and fixed.
Who checks each change in your project before it reaches your users?
The skill runs in Claude Code. You can read it on GitHub. Here is each step, where it comes from, and why.
What it looks at
Only the change. If I touched five files, it reviews those five files. For a check of the whole app, there is a separate weekly review skill.
Step 1: Find out what changed
Source: custom.
The skill compares my work against the main version of the code. It lists every file that changed. That list decides which extra checks run later.
Step 2: Look for bugs
Source: adapted from superpowers, a free open-source skill pack.
A fresh reviewer reads the change. It has no memory of the session that wrote the code, so it reviews what is there, not what was meant.
It asks plain questions. Does the code do what it should? What happens with empty input? What if two people click at once? Did this change break something that used to work?
Step 3: Check the structure
Source: custom.
A second reviewer checks the change against my 15 architecture rules. Is the code in the right place? Is every input checked? Can a user change data that is not theirs?
I keep this apart from the bug check on purpose. One reviewer asked to find everything tends to find one problem and stop.
Step 4: Extra checks
Source: custom, except the cleanup check, which is built into Claude Code.
Then a few focused checks run side by side:
- Error handling. Do errors get reported, or quietly swallowed?
- Tests. Is the new behavior tested? Would a test catch it if it broke?
- Types. If new data shapes were added, are they safe?
- Cleanup. Can the code be simpler, or reuse something that already exists?
Some checks only run when they matter. If the database changed, the database design gets checked. If files were deleted or renamed, it looks for old code left behind.
Step 5: One report
Source: custom.
All the findings go into one file, sorted by how serious they are: critical, important, minor. At the top is one plain answer: ready to ship, not ready, or ready with fixes.
If the same problem shows up more than once, the report says so. That usually means a rule needs to change, not just one line of code.
Step 6: Fill the test gaps
Source: custom.
If the review found missing tests, the skill writes them. Then I get a short summary and a link to the full report.
What is custom, what is not, and why
Claude Code already comes with a review command, /code-review. So why build my own? Because a review is only as good as what it knows to look for. Some checks are the same for every project. Others depend on my rules and on mistakes I have seen AI make again and again.
So I use three kinds of parts:
| Part | Source | Why |
|---|---|---|
| Cleanup check | Built into Claude Code (/simplify), used as is | Spotting repeated or overly complex code is the same job in every project. The built-in one does it well and gets better with each release. |
| Bug check | Adapted from superpowers, a free open-source skill pack | Finding bugs is mostly a general job. A good open version already existed. I changed it to run as a fresh reviewer and feed my one report. |
| Structure check and the 15 rules | Custom | No general tool knows my rules. The built-in review will not flag a route that talks to the database directly, or an update with no ownership check, unless it causes an obvious bug. |
| Error, test, type, database, and old-code checks | Custom | Each one targets a mistake I kept finding in AI-written code: errors quietly swallowed, tests that check the wrong thing, unsafe types at the edges. |
| Writing missing tests | Custom | General reviews list the missing tests. This one writes them, so the gap closes the same day. |
| The order, the one report, the verdict | Custom | Which check runs when, how the results merge, and the ship or do-not-ship answer are what turn separate tools into one process. |
My rule of thumb: use the default when the job is the same for every codebase. Go custom when the check depends on my rules or on a mistake that keeps coming back.
I still use the built-in /code-review for a quick bug check on a small change. It is a good tool. It just is not enough on its own for code that real users depend on.
More Posts
All posts
November 25, 2026
Why Your App Went Offline on Vercel's Free Plan (and How to Stay Under the Limits)
Vercel's free plan pauses every site on the account when one monthly limit runs out. What the limits mean in plain words, what uses them up, and the fixes, from a real case.
November 24, 2026
Why Your Project Starts With a Small Paid Step: Requirements and an Estimate Before the Build
A price given before the work is measured is a guess, and someone pays for it later. What a small paid first step gets you: written decisions, a cost range and a time range, and the choice to stop there.