afc:review

afc:review is a skill for Claude Code from jhlee0409/all-for-claudecode. It costs 19 tokens per session (2,091 once invoked), scanned B, original, MIT.

A code-review command that examines changed code, such as a file, staged changes, the current branch, or a GitHub pull request. It checks areas such as correctness, security, performance, and project design rules.

In plain words
What is it for?
Use it before merging code, to review staged work, inspect a pull request, or check a specific file.
Why use it?
It gives you a structured review of changes and checks whether the review itself is complete.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Use it before merging code, to review staged work, inspect a pull request, or check a specific file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jhlee0409/all-for-claudecode/review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jhlee0409/all-for-claudecode --skill review
Clone the repo
git clone --depth 1 https://github.com/jhlee0409/all-for-claudecode

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for afc:review

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/review/github.svg)](https://agentmods.dev/skills/jhlee0409/all-for-claudecode/review)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/review"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for afc:review

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/review"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,091 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.02091
Opus 5 $0.00010 $0.01045
Sonnet 5 $0.00004 $0.00418
Haiku 4.5 $0.00002 $0.00209

Measured 10d ago against content hash 6b8c6a1f4789, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

afc:review scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

!`cat .claude/afc.config.md 2>/dev/null || echo "[CONFIG NOT FOUND] .claude/afc.config.md not found. Create it with /afc:init."`
skills/review/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/afc:review — Code Review

Performs a comprehensive review of changed code (quality, security, performance, architecture compliance). Validates completeness of the review itself with convergence-based Critic Loop.

Arguments

  • $ARGUMENTS — (optional) Review scope (file path, PR number, or "staged")
    • If not specified: full git diff of current branch (unstaged + staged)

Project Config (auto-loaded)

!cat .claude/afc.config.md 2>/dev/null || echo "[CONFIG NOT FOUND] .claude/afc.config.md not found. Create it with /afc:init."

Config Load

Always read .claude/afc.config.md first — needed for CI Commands (YAML). Architecture, Code Style, and Project Context are auto-loaded via .claude/rules/afc-project.md.

If config file is missing:

  1. Ask: ".claude/afc.config.md not found. Run /afc:init?"
  2. If user accepts → run /afc:init, then restart with original $ARGUMENTS
  3. If user declines → abort

Execution Steps

1. Collect Review Targets

  1. Determine scope:
    • $ARGUMENTS = file path → that file only
    • $ARGUMENTS = PR number → gh pr diff {number}
    • $ARGUMENTS = "staged" → git diff --cached
    • Not specified → git diff HEAD
  2. Extract changed file list; read full content of each file (not just the diff)
  3. Load spec context (if available): .claude/afc/specs/{feature}/context.md and spec.md. If neither exists, skip SPEC_ALIGNMENT with note "no spec artifacts available"
  4. Build Impact Map — see Reverse Impact Analysis

2. Parallel Review (scaled by file count)

Assess complexity holistically: total diff size, file complexity, change diversity, and whether changes are localized or cross-cutting.

Pre-scan for parallel batch / swarm: Before distributing files, collect cross-boundary context — outbound calls between changed files with function signature + 1-line side-effect summary. Include Impact Map. Provide each agent a ## Cross-File Context block. Skip pre-scan for Direct mode.

Read the full file on GitHub · 198 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 198 lines · 19 tokens per session scan B 6b8c6a1f4789

Subscribe to this mod's changes

afc:review is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 2,091 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

audit-agents-skills

Audit Claude Code agents, skills, and commands for quality and production readiness. Use when evaluating skill quality, checking production readiness scores, or comparing agents against best-practice templates.

FlorianBruniaux/claude-code-ultimate-guide · 41 tokens

design-patterns

Detect, suggest, and evaluate GoF design patterns in TypeScript/JavaScript codebases. Use when refactoring code, applying singleton/factory/observer/strategy patterns, reviewing pattern quality, or finding stack-native alternatives for React, Angular, NestJS, and Vue.

FlorianBruniaux/claude-code-ultimate-guide · 59 tokens

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-ultimate-guide · 86 tokens

eval-skills

Audit all skills in the current project for frontmatter completeness, effort level appropriateness, allowed-tools scoping, and content quality. Produces a scored report with effort-level recommendations for each skill. Use when onboarding to a new project, reviewing skill quality before shipping, or adding effort…

FlorianBruniaux/claude-code-ultimate-guide · 67 tokens

review-pr

Perform a comprehensive code review of a pull request.

FlorianBruniaux/claude-code-ultimate-guide · 12 tokens

sonarqube

Analyze SonarCloud quality issues for a specific PR.

FlorianBruniaux/claude-code-ultimate-guide · 14 tokens