Code Review · agent skill
PR Reviewer
Staff-level review. Every finding labelled, with a line.
What it does
Loads when it is needed
Your agent loads it when the user asks for a code review or whether a change is safe to merge. It carries 5 rules and reads a profile.md with your details before it starts, so the output matches your brand and project.
Same prompt, with and without
Review refund endpoint before merge
Prompt · Review this diff before I merge it. Is it safe?
PR: "Add refund endpoint for support (BILL-118)". No test files changed.
src/billing/refund.ts (new)
1 export async function refundOrder(orderId: string, amountCents: number) {
2 const order = await db.orders.findById(orderId);
3 if (order.refundedCents + amountCents > order.totalCents) {
4 throw new Error("refund exceeds total");
5 }
6 await stripe.refunds.create({ payment_intent: order.paymentIntentId, amount: amountCents });
7 await db.orders.update(orderId, { refundedCents: order.refundedCents + amountCents });
8 return { ok: true };
9 }
src/routes/orders.ts (+5)
41 router.post("/orders/:id/refund", requireAuth, async (req, res) => {
42 const result = refundOrder(req.params.id, Number(req.body.amount));
43 res.json(result);
44 });Profile used: Project: order and payments API; Stack: TypeScript, Express, Stripe, Postgres; Strictness: Standard; Conventions: none beyond eslint
Both answers from the same model (Claude sonnet), 2026-10-16. The one without the skill was written in a separate session that never saw it. Shortened where marked with …
Install
One command, in your project
It detects your agent; add --agent all for every agent.
npx proskills-cli add pr-reviewer --order <order id from your receipt>
Or copy the skill folder (the one holding SKILL.md) into the directory your agent reads, then restart it or start a new session.
| Agent | This project | Every project |
|---|---|---|
| Claude Code | .claude/skills/ | ~/.claude/skills/ |
| Cursor | .agents/skills/ (or .cursor/skills/) | ~/.cursor/skills/ |
| Codex | .agents/skills/ | ~/.agents/skills/ |
| Gemini CLI | .agents/skills/ (or .gemini/skills/) | ~/.gemini/skills/ |
Changelog
What changed
- v1.0.0 · 2026-10-16
- First versioned release: Staff-level review. Every finding labelled, with a line.
- Scanned 100/100 before release.
Keep it current with npx proskills-cli update; your profile.md is never touched. Everyone who bought it gets the update free and an email when it lands.
Same collection
More from Code Review
The scan checks spec compliance, token cost, clarity and security patterns. A clean scan is not a guarantee: static scanners can be evaded. Scan any skill yourself.