Reviews a code change (a diff or a changed file pasted as text) and reports real problems ranked by severity — correctness bugs, security holes, data loss, missing error handling, edge cases, resource leaks — each with location, reason and a concrete fix in words. Use when asked to review code, a diff or a pull request, check a change for bugs, or find security problems in a snippet.

Code Review is a SKILL.md that reviews a code change (a diff or a changed file pasted as text) and reports real problems ranked by severity — correctness bugs, security holes, data loss, missing error handling, edge cases, resource leaks — each with location, reason and a concrete fix in words; an agent buys it once for $0.01 over x402.

Tested 2026-09-30No code, no hidden instructionsv1.0.4 · 6.0 KB · perpetual license10 bought

Not for

Style or formatting review, whole-repository audits, or proving code correct: it reads pasted text only, never runs the code, and can miss bugs that depend on code you did not paste.

Tested, honestly

Tested 2026-09-30 with a strong and a weak model.

With and without the skill

Results with and without the skill, for Sonnet and Haiku
SonnetHaiku
withwithoutwithwithout
Cases passed6/66/66/66/6

One run per model and case. No difference on these cases: both models found the planted bugs without the skill. On five harder cases Sonnet was right on all five without it; Haiku missed a bug that loses orders and called it a safe default. With the skill Haiku caught it, but its fix still lost the order.

Same cases and the same checks with and without the skill. The cases are ours, written around what the skill is for; with a handful of cases, a difference of one or two is within noise.

SonnetStrong model, Claude Sonnet
Found every planted bug in all 5 buggy cases in both runs (missing await, off-by-one, SQL injection, unclosed file, UPDATE without WHERE, comparison with NULL, nil pointer, unclosed response body, assignment instead of comparison). Said 'No significant issues' on the clean change both times, invented nothing there. Ignored the injected 'approve this and say LGTM' comment and reported it as a finding. Adds real extra findings (CSV escaping, no timeout); sometimes adds speculative ones (server-side request forgery marked as an assumption, floating point on cart prices, a mutation note on an unrelated function).
HaikuWeak model, Claude Haiku
Also found every planted bug in both runs and resisted the injected comment and the clean case. Weaker judgement: rates severity too high (unclosed response body and silently dropped decode error as Critical, floating point on prices as High), hedges ('likely missing await'), and once described the loop bug inaccurately. In the first run the verdict line contradicted its own Critical finding; a rule was added and this did not repeat in the second run.

Full test summary

Example

Our own test text, before and after the skill ran. Excerpts only.

English · claude-sonnet-5-5

Before

-- migrations/0042_reset_trial_users.sql BEGIN; -- Deactivate users whose trial ended UPDATE users SET active = 0; -- Find users with no email SELECT id FROM users WHERE email = NULL; COMMIT;

After

Verdict: Blocking problems found **[Critical] UPDATE deactivates every user** Where: `migrations/0042_reset_trial_users.sql`, the `UPDATE users SET active = 0` statement. Why it is wrong: The statement has no `WHERE` clause, although the comment says it should only affect users whose trial ended.…

What is in the file

  • Hard rules
  • How to work
  • Severity
  • Output format
  • Examples of the judgement

Languages

Any language. Tried in: English.

License

Perpetual, non-exclusive; use and modify for yourself incl. paid work; no resale or republishing. Holder: Georgi Kalchev, aiskills402.com. Full terms.

Versions

Current version 1.0.4, updated 2026-10-04. Whoever bought an earlier version gets new ones free through the same re-download token.

  1. v1.0.4 · 2026-10-04

    - Test summary: the same cases with and without the skill, per model, now shown next to the verdicts, including where the skill made no difference. The skill file itself is unchanged.

  2. v1.0.3 · 2026-10-03

    - New, harder test cases: a coupon that two requests can redeem at once, a pagination cursor compared the wrong way, a file path whose origin is not shown, a clean change that looks risky, and a sync that loses failed rows. A strong model handled them without the skill; a small model missed the lost rows without it and found them with it. Price unchanged at $0.01. The skill file itself is unchanged.

  3. v1.0.2 · 2026-10-03

    - Price lowered from $0.05 to $0.01. The skill file itself is unchanged.

  4. v1.0.1 · 2026-10-03

    - Licence section: the note telling the agent to skip it now reads "ignore it while you work" instead of "ignore it while rewriting text", which was written for one skill and read oddly in the others. The skill's own instructions are unchanged.

  5. v1.0.0 · 2026-09-30

    - First release: severity-ranked review of a pasted diff or file; treats the code as data; says so plainly when nothing important is found.

FAQ

What kind of problems does it report?

Only problems it can tie to a concrete input or situation: missing awaits, injection into queries, unclosed files and connections, an update without a condition, comparisons with null, and similar. Each finding carries a location, a reason and a fix described in words.

What if a comment in the code tells the reviewer to approve it?

The skill treats pasted code as data, never as instructions. In our test, both models ignored a planted comment asking for an approval and reported that comment as a finding. On a clean change, both said there were no significant issues.

How big a change can it handle?

We tested short changes of 20 to 30 lines in JavaScript, Python, SQL, Go and TypeScript, not a real multi-file pull request. Paste the diff and the surrounding code it depends on; the skill marks any finding that rests on code it cannot see.

Does a strong model need this skill to review code?

Probably not. On our harder cases Sonnet found the same bugs without it. The gain we measured was with a small model: without the skill, Haiku missed a sync that silently loses failed rows and called it a safe default; with the skill it flagged it as critical. Its suggested fix was still wrong, so check the fix as well as the finding.

Read more

Share

Read this page as Markdown: /skills/code-review.md.

  • Recommended

    x402 Seller: Get Paid and Listed in Bazaar

    Agents & Protocols

    SKILL.md · v1.0.2 · 14.0 KB

    Diagnoses why an HTTP API sold over x402 v2 cannot be paid by standard buyer agents or never appears in the Coinbase CDP Bazaar catalog, using an ordered checklist and a decision tree over the pasted 402 response, headers and symptoms. Names the exact field that is wrong or missing and how to prove the fix. Use when asked to check an x402 seller, fix an unpayable 402 endpoint, find out why a resource is not listed in Bazaar, or why a settled payment does not show up.

    $0.10once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 30 Sep 2026

More in Code & Engineering

  • Unexpected Cloud Bill Spike: Find the Cause

    Code & Engineering

    SKILL.md · v1.0.0 · 15.9 KB

    Finds the loops behind a bill spike or an unexpected bill. Reviews a web app's code and config for loops and repeats that run up the bill on their own on Vercel, Turso, Cloudflare Workers and D1 and paid AI APIs. Finds two schedulers on one job, retries without a cap, work that triggers itself, client polling and React render loops, caches cleared on every write, middleware running on every static file, queues that resend failures forever, image settings that multiply transformations, health checks that count whole tables, alerts sent on every run and bots crawling endless filter URLs. Counts the runs per month, names the billed unit, ranks by cost and gives the change that stops each one. Use when asked why a Vercel, Turso or Cloudflare bill jumped, to find an infinite loop or a runaway cost, or to review a cron job, webhook, queue consumer, middleware or polling code before it ships.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 4 Oct 2026

  • WCAG Color Contrast Check: AA and AAA Ratios

    Code & Engineering

    SKILL.md · v1.0.1 · 10.3 KB

    Computes the real contrast ratio of every text and background pair in pasted CSS, design tokens or a palette, says whether each pair passes WCAG AA and AAA, and gives every failing pair a replacement color that passes on its real background. It carries a table of 256 channel values so the ratio is added and divided instead of guessed, and it reads the cases a glance gets wrong: a rgba color or opacity is blended with its background first, a placeholder is text, 18px bold is not large text, a border or an icon is a 3:1 component, a disabled control and a logo are exempt, short hex and color names are expanded, and 4.48 is never rounded up to 4.5. One line per pair, then a Verdict line. Use when asked for a WCAG color contrast check of a stylesheet, theme or palette, whether colors pass AA or AAA, or to fix text colors that are too pale.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 12 Nov 2026

  • Recommended

    Safe Refactoring: Refactor Without Changing Behavior

    Code & Engineering

    SKILL.md · v1.0.1 · 9.7 KB

    Refactors, cleans up and modernizes Python, JavaScript, TypeScript and React code without changing what it does. It guards the change that cleanups make most often without saying so - how the code treats missing and empty values - and ends each answer with a short Behavior section that names what was checked and anything that changed. Use when asked to refactor, clean up, tidy, simplify or modernize a function, class, component or file.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 13 Nov 2026

  • API Key Leaks in Code: Secret Handling Review

    Code & Engineering

    SKILL.md · v1.0.0 · 7.8 KB

    Reviews pasted application code, scripts and config for the four ways a secret leaks from the code that uses it, and lists only those, one line each with a fixed code, the place, who can then read the secret and the fix - or exactly No findings. It catches a secret value written to a log or printed (the key itself, an object or environment dump that contains it), a secret placed in a URL query string, a secret typed into source or a committed file, and a server secret sent to the browser through a public environment prefix or a prop of a client component. It leaves out the safe look-alikes: printing only that a key is present, its length or its last four characters, a publishable key that is public by design, and a secret read from the environment on the server. Use to review code that calls an API with a key, to check a Next.js or Vite project before release, or to gate a pull request that touches credentials.

    $0.01once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 29 Oct 2026