Omniscio

OmniscioSkills examplesCode review

A Claude Code code review skill you can copy

This is one complete SKILL.md, written for the job people ask for most often: a review before the commit. What a skill is and how the folder mechanism works is the skills guide; which built-in review command to use instead, and what each route costs, is the code review guide. This page is the custom checklist you own.

Checked against Anthropic's documentation on November 25, 2026. By the Omniscio team. Updated .

When this skill fires

Claude matches your request against the skill's description and when_to_use, so the description below carries the words people actually type: a code review, a pre-commit check, feedback on a diff.

  • On its own when you say "review my changes", "check this diff before I commit", "what is wrong with my branch", or "review this for security".
  • Directly when you type /review-checklist, optionally followed by a focus such as security or tests.

Its differences are the four named groups, the checklist you can edit, and a read-only rule that keeps it from changing files. All three are safe, so the frontmatter leaves model invocation on and Claude can reach for it without being asked.

The whole skill, ready to copy

Save this as SKILL.md inside a folder named review-checklist. The three dashes and the frontmatter between them must be the file's first line.

---
name: review-checklist
description: Reviews the current change for correctness, security, tests and readability, and reports findings by severity with file and line. Use when the user asks to review my changes, check this diff, for a code review, or for a pre-commit check.
argument-hint: [focus-area]
allowed-tools: Read Grep Glob Bash(git diff *)
---

## The change

!`git status --short`
!`git diff HEAD`

## Review it

Read the status list and the diff above, then open the files they touch. A diff hides the surrounding code that decides whether a change is right. A file in the status list that is not in the diff is untracked: open it and review its contents as new code.

Check each of these, in order:

- Correctness: the main path, every branch, off-by-one errors, empty and null inputs, and each error return.
- Security: untrusted input, authorisation at the boundary, and secrets in logs.
- Tests: a test that would fail if this change were reverted.
- Readability: names that say what the thing is, and no dead code.

Report every finding in one of four groups:

1. Blocking: wrong behaviour, data loss, a security hole, or a test that cannot pass.
2. Should fix: a real but limited bug, missing tests for new behaviour, or an unhandled error path.
3. Nit: style and naming worth saying once.
4. Praise: one specific thing the change does well.

Each finding outside the Praise group needs `file:line`, what is wrong, and the smallest fix. Keep the groups in that order.

If the status list and the diff are both empty, say there are no uncommitted changes and ask which branch or commit to review instead of guessing. If the user then names one, run `git diff` against it before reviewing.

If the arguments name a focus area such as security or tests, review for that first, then the rest.

Do not edit files. Propose the change and let the user decide.

What each part does

Every field is optional, and only description is recommended. A field name must match the documentation exactly, hyphens included, because Claude Code ignores an unrecognised one without reporting an error.

The four frontmatter fields in this file, and what each one changes.
FieldWhat it does here
name: review-checklistSets the command shown in the / menu. Without it the folder name becomes the command
descriptionWhat the skill does and when to use it. This is the text Claude matches a request against, so it names the jobs and the words a user would say
argument-hint: [focus-area]The hint shown during autocomplete. Square brackets are deliberate: a < or > in the description displays escaped, while an argument hint shows as typed
allowed-tools: Read Grep Glob Bash(git diff *)Lets Claude read, search and list files without asking during the turn that invokes the skill, and pre-approves the skill's own git diff command, which is otherwise permission-checked and aborts the invocation. The grant clears when you send your next message, and it restricts nothing else
  • The two injected lines are dynamic context. Claude Code runs git status --short and git diff HEAD before Claude sees the file and replaces each line with its output, so the review starts with the change, untracked files included, already in front of it. A failed command aborts the whole invocation rather than one line; empty output exits 0 and injects nothing, which is why the body handles that case in words.
  • "Read the diff above, then open the files" is the difference between a diff review and a code review. A hunk can look wrong in isolation and be correct given the function around it.
  • The four groups give the answer a shape. Without them a review returns a flat list where a missing test and a typo look equally urgent.
  • "Do not edit files" keeps the skill a reviewer. If you want the fixes applied, ask for that as a second, separate request.

The body is about twenty lines, well under Anthropic's working guidance of 500 lines for a SKILL.md. That matters because once a skill loads its rendered content stays in the conversation and every line is paid for again on each turn.

Where to put it: personal or project

The same file, two locations, two audiences.
ChoosePathWho gets it
Personal~/.claude/skills/review-checklist/SKILL.mdYou, in every project on this machine, but not Cowork or cloud sessions
Project.claude/skills/review-checklist/SKILL.mdEveryone in this repository once it is committed

If both exist, personal wins: enterprise beats personal and personal beats project, so a home-folder copy of review-checklist runs instead of the repository's. Do not name it code-review: a skill with that name replaces the bundled /code-review command, while the bundled /review alias keeps running the bundled one.

Claude Code watches both skills directories and takes an added, edited or removed skill within the session, except in bare mode. If a new skill does not appear, run /reload-skills. Live detection covers the SKILL.md text only.

How to confirm it loads

  1. Look for the command. Type / and find review-checklist, or open the /skills menu.
  2. Ask the listing question. What skills are available? should name it. If it does not, the most likely causes are a misplaced folder or a file not named SKILL.md.
  3. Run it directly. /review-checklist security should produce the four groups for your current diff.
  4. Then test the automatic route. Make a small edit and ask "review my changes". If the direct route works and this one does not, the description is the problem, not the instructions.

For the cost side, /doctor estimates what the skill listing costs and names its biggest contributors, while /skill-doctor reports what each skill costs and how often it is used.

The common failure

A common failure for a review skill is the opposite of silence: it fires too often. A description that says only "reviews code" matches almost any request, so Claude reaches for a heavyweight checklist when you asked a passing question about a function.

  • If it fires too often, make the description more specific — name the change, the diff and the pre-commit moment — or set disable-model-invocation: true so only you can start it.
  • If it never fires, put the words you would actually type into the description. "Review my changes" and "check this diff" belong there; "perform a static analysis" does not.
  • If it aborts instead of reviewing, an injected command failed. A folder that is not a git repository, or one with no commits yet, makes git status or git diff exit non-zero, and the error names the command.
  • If /review-checklist itself is not recognised, check the name for a character Claude Code refuses, such as a zero-width space or <.

One silent trap sits above all three: if the opening three dashes are not the file's first line, the frontmatter is treated as ordinary body text. The skill still runs when named, but Claude gets no description to match, so it never fires on its own.

Where this fits

The built-in /code-review command, the cloud reviewer and the GitHub pull-request reviewer are covered by the Claude Code code review guide, and what each costs and misses is its subject. If you use the GitHub reviewer, REVIEW.md is the file that tunes it, and this skill is a different thing: instructions you own, run in your own session.

If the review should happen away from your conversation, that is a subagent rather than a skill. More copyable examples are in the skills examples library.

Where these answers come from

  • Extend Claude with skills, read November 25, 2026: the folder and file, the frontmatter fields used here, allowed-tools, dynamic context, where skills load, live change detection, the content lifecycle and the troubleshooting order.
  • Inject dynamic context: what !`command` does and why a failed command aborts the invocation.
  • The changelog: release 2.1.332, dated November 25, 2026, the newest listed on the day this page was checked.

Common questions

Is this the same as the built-in /code-review command?

No. The built-in command is a shipped skill with its own arguments and routes; this is a custom skill you own, which reviews the current diff against a checklist you can edit. The code review guide covers the built-in routes.

Why does it review only my uncommitted changes?

Because the injected command is git diff HEAD. If you want a range reviewed, change the injected line to that range, such as git diff main...HEAD; with an empty diff the body asks which branch or commit to review.

Can Claude edit the files it reviews?

Not under this file: the instructions say to propose the change and let you decide. If you want the fixes applied, ask for that as a separate request after reading the review.

Why does /review-checklist work but "review my changes" does not?

The description is what Claude matches an automatic request against. Put the words you actually say into it, then test again; if the direct command works, the folder and file are correct.