Skip to content
Caveman Review

Caveman Review Skill

The Caveman family's code-review skill: one line per finding in the form L<line>: problem. fix., with optional bug, risk, nit and question prefixes, and full prose kept for security and architecture issues.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from JuliusBrussee/caveman.

$ npx skills add JuliusBrussee/caveman --skill caveman-review

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/caveman-review/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/JuliusBrussee/caveman.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/caveman-review ~/.claude/skills/caveman-review

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/caveman-review/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • One line per finding: location, problem, fix
  • Multi-file form with file:line locations
  • Optional bug, risk, nit and question severity prefixes
  • Explicit list of filler phrases to drop
  • Keeps exact line numbers, symbol names and the why when needed
  • Switches to full prose for security, architecture and onboarding reviews
  • Comments only: no fixes, approvals or linter runs
  • "normal mode" returns to verbose reviews

Caveman Review is the code-review member of Julius Brussee's Caveman skills, which push coding agents toward short, information-dense output to save tokens and reading time. Applied to reviews, it replaces the usual paragraphs of hedged suggestions with one line per finding that gives the location, the problem and a concrete fix, ready to paste into a pull request.

The format is fixed: L<line>: <problem>. <fix>., or <file>:L<line>: on a multi-file diff, with an optional severity prefix when findings are mixed: bug for broken behaviour, risk for fragile code such as a race or a swallowed error, nit for style the author can ignore, and q for a genuine question. The skill lists the phrases to drop ("I noticed that", "you might want to consider", per-comment praise, restating what the line does, hedging words) and what to keep: exact line numbers, symbol names in backticks, a specific fix instead of "consider refactoring", and the reason when the fix is not self-evident. Worked before-and-after examples show a four-sentence null-check comment reduced to a single tagged line.

It also knows when not to be terse. Security findings, architectural disagreements and reviews for someone new to the codebase get a normal explanatory paragraph before the terse style resumes. The boundaries are narrow on purpose: it writes review comments only, and does not write the fix, approve or request changes, or run linters. Saying "stop caveman-review" or "normal mode" switches back to ordinary review prose. Apache-2.0; it works alone or alongside the other Caveman skills.

Try it

Once installed, ask your agent something like:

/caveman-review the diff on this branch against main

SKILL.md

The instructions your agent loads, as published by Julius Brussee.

SKILL.md
name
caveman-review
description
Compressed code review - one line per finding with location, problem and fix. Use for /caveman-review, "review this PR", or "review the diff".

Write code review comments terse and actionable. One line per finding. Location, problem, fix. No throat-clearing.

Rules

Format: L<line>: <problem>. <fix>. — or <file>:L<line>: ... when reviewing multi-file diffs.

Severity prefix (optional, when mixed):

  • 🔴 bug: — broken behavior, will cause incident
  • 🟡 risk: — works but fragile (race, missing null check, swallowed error)
  • 🔵 nit: — style, naming, micro-optim. Author can ignore
  • ❓ q: — genuine question, not a suggestion

Drop:

  • "I noticed that...", "It seems like...", "You might want to consider..."
  • "This is just a suggestion but..." — use nit: instead
  • "Great work!", "Looks good overall but..." — say it once at the top, not per comment
  • Restating what the line does — the reviewer can read the diff
  • Hedging ("perhaps", "maybe", "I think") — if unsure use q:

Keep:

  • Exact line numbers
  • Exact symbol/function/variable names in backticks
  • Concrete fix, not "consider refactoring this"
  • The why if the fix isn't obvious from the problem statement
Examples

❌ "I noticed that on line 42 you're not checking if the user object is null before accessing the email property. This could potentially cause a crash if the user is not found in the database. You might want to add a null check here."

✅ L42: 🔴 bug: user can be null after .find(). Add guard before .email.

❌ "It looks like this function is doing a lot of things and might benefit from being broken up into smaller functions for readability."

✅ L88-140: 🔵 nit: 50-line fn does 4 things. Extract validate/normalize/persist.

❌ "Have you considered what happens if the API returns a 429? I think we should probably handle that case."

✅ L23: 🟡 risk: no retry on 429. Wrap in withBackoff(3).

Auto-Clarity

Drop terse mode for: security findings (CVE-class bugs need full explanation + reference), architectural disagreements (need rationale, not just a one-liner), and onboarding contexts where the author is new and needs the "why". In those cases write a normal paragraph, then resume terse for the rest.

Boundaries

Reviews only — does not write the code fix, does not approve/request-changes, does not run linters. Output the comment(s) ready to paste into the PR. "stop caveman-review" or "normal mode": revert to verbose review style.

Install

Skill: Code Review

by Matt Pocock

New

Matt Pocock's two-axis code review skill: parallel sub-agents check a diff against the repo's coding standards and against the originating issue or spec, reported side by side.

Addy Osmani's skill for multi-axis code review before merge: correctness, readability, architecture, security and performance, with severity labels, change-size targets, a tests-first review order and a review checklist.

Skill: Caveman Compress

by Julius Brussee

New

The Caveman family's skill for rewriting memory files such as CLAUDE.md or a todo list into terse caveman-speak to cut input tokens, with code, URLs and commands preserved exactly and a readable backup kept.

Skill: Caveman Commit

by Julius Brussee

The Caveman family's commit-message skill: terse Conventional Commits that state intent, an imperative subject of 50 to 72 characters, a body only when the why is not obvious, and no AI attribution.

Browse all skills →