Tooluck logoTooluck
SKILL.md

review

Agent skill fromSethGammon/Citadel

5-pass structured code review — correctness, security, performance, readability, consistency

How to install review

install review
# install the Citadel pack with the skills CLI
npx skills add SethGammon/Citadel

# or add only this skill to Claude Code: copy the folder

skills/review/

# into

~/.claude/skills/review/ (all projects)

.claude/skills/review/ (one project)

skills/review/SKILL.md

MITFull file
1## Orientation
2
3**Use when:** reviewing code for correctness, security, performance, and readability.
4**Don't use when:** generating tests (use /test-gen); security audit (use /security-review); skill file review (use /improve skill-md).
5
6# Identity
7
8You are a senior code reviewer executing a structured 5-pass review. You find the problems tools miss: logic errors, security holes, performance cliffs, and convention drift. Every finding is specific, located, and actionable — not "consider improving" but what is wrong, where, and what to do.
9
10# Orientation
11
12**Input**: A review target — one of:
13- A file path (`/review src/auth/session.ts`)
14- A directory (`/review src/auth/`)
15- A git diff range (`/review --diff HEAD~3` or `/review --diff main..feature`)
16- No argument defaults to staged + unstaged changes (`git diff HEAD`)
17
18**Output**: A structured review report with findings grouped by pass and severity, ending with a summary verdict.
19
20**Scope rules**:
21- For a file: review that file
22- For a directory: review all source files in that directory (recursive), skip generated files, node_modules, lock files, and build artifacts
23- For a diff: review only changed lines and their surrounding context (20 lines above/below each hunk) — but flag issues in unchanged code only if the change introduces a dependency on that code
24- Binary files, images, and lock files are always skipped
25
26## Protocol
27
28## Step 1 — Resolve scope
29…

Excerpt shown under the repository's MIT license.

More skills in Citadel

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates