claudeframework: Skill for Claude Code

.claude/skills/2_review/SKILL.md

2_review is a skill for Claude Code from dixus/claudeframework. It costs 28 tokens per session (3,420 once invoked), scanned A, original, MIT.

A review workflow that examines completed implementation changes and writes a report to .claude/reviews/.

In plain words
What is it for?
Use it after implementation and before merging or committing to review correctness, scope, code quality, testing, security, and related concerns.
Why use it?
It compares the implementation with the project's context and, when supplied, its specification and current development phase.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

This is dixus/claudeframework's own configuration. It tells Claude Code how to work on claudeframework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claudeframework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dixus/claudeframework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dixus/claudeframework/main/.claude/skills/2_review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dixus/claudeframework

Made for: Claude Code.

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 2_review

README.md
[![agentmods](https://agentmods.dev/badge/skills/dixus/claudeframework/2_review/github.svg)](https://agentmods.dev/skills/dixus/claudeframework/2_review)
Your own site
<a href="https://agentmods.dev/skills/dixus/claudeframework/2_review"><img src="https://agentmods.dev/badge/skills/dixus/claudeframework/2_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 2_review

Your own site · 80×15
<a href="https://agentmods.dev/skills/dixus/claudeframework/2_review"><img src="https://agentmods.dev/badge/skills/dixus/claudeframework/2_review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,420 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00028 $0.03420
Opus 5.5 $0.00011 $0.01368
Sonnet 5.5 $0.00006 $0.00684
Haiku 4.5 $0.00003 $0.00342

Measured 1mo ago against content hash 59829f019b27, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

2_review scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/2_review/SKILL.md · 117 lines

How it starts

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

Review the current implementation changes and produce a written review report.

IMPORTANT: For best results, run this skill in a fresh session (/clear first) so the review is unbiased by the implementation context.

Use a subagent to do the file investigation so the reading does not consume the main session's context. The subagent should return its findings and you write the report from those findings.

Steps:

  1. Read CLAUDE.md for project context and conventions
  2. If $ARGUMENTS is provided, treat it as a spec filename and read .claude/specs/<name>.md to understand what was intended
  3. Phase awareness: check if .claude/specs/<name>-phases.md exists. If it does:
    • Read it and identify the current phase (the phase with status in-progress, or the latest done phase)
    • Scope all review lenses to the current phase's requirements and its assigned contract items only
    • Requirements belonging to later phases (status: pending) are explicitly out of scope — do not flag them as missing in Correctness, PM, or Spec validation
    • State at the top of the review report: "Reviewing Phase N of M — later-phase items are out of scope"
    • On the final phase (no pending phases remain), review against the full spec to catch cross-phase integration issues
  4. Read all files in .claude/context/ if the directory exists — for additional project context when evaluating correctness
  5. Detect review mode — check if .claude/reviews/<name>-review.md already exists from a previous cycle:
    • If no previous review exists → full review mode (steps 6-8 below)
    • If a previous review exists → delta review mode (step 9 below)

Full Review Mode (first review cycle)

  1. Identify what changed: use the project's version control system (e.g. git diff main or git diff HEAD~1); if not in a VCS repo, ask the user which files to review
  2. Read each changed file in full
  3. Evaluate against these criteria (multi-role review — address each lens):
    • Correctness: does it match the spec requirements? Are there logic bugs or missing cases?
    • Code quality: does it follow existing patterns? Is anything over-engineered or unnecessarily complex?
    • Security: any injection risks, exposed secrets, or missing input validation at system boundaries? OWASP top-10 considerations?
    • Tests / QA: are the relevant cases covered? Are there obvious edge-case gaps? Any regression risk to existing behavior? Are component-level rendering tests present (not just pure-function tests)?
    • UX / Minimal impact: does the change touch only what's necessary? Any scope creep? Are any fixes patches hiding a root-cause problem that should be fixed properly? For components displaying computed numbers, check for floating-point precision issues (use .toFixed() or Math.round()). For components with reactive state (useEffect + Zustand/Redux), check that dismissals, resets, and one-time actions cannot be re-triggered by unrelated state changes.
    • PM: does the change deliver business value? Does it align with the stated goal in the spec? Is anything built that wasn't asked for?
    • DevOps: any CI/CD implications? Environment variables, build config, or deployment steps affected? Any observability gaps (missing logs, metrics)?
    • Contract validation: read the spec's ## Contract section and give a verdict per item, never a single global one. This skill has no Bash tool and therefore does not execute the verify commands — running them is /ship Step 5's job. What you check here is whether each binding is real:
      • ✓ bound — the command's target exists (the named test file and test function are present in the diff or already in the codebase; the e2e spec path resolves) and its assertions actually cover the stated criterion. A test whose name matches the filter but asserts something else is ✗, not ✓.
      • ✗ unbound — the verify names a test that does not exist, a filter that would match nothing, or a test that asserts something other than the criterion. Severity: major. This is worse than an admitted gap: the Step 5 gate reports green and everyone downstream believes the criterion was proven. Also ✗ at major severity: a type: e2e item with no env field, or one bound to env: deployed whose criterion covers behaviour this diff introduces — that behaviour is not deployed at gate time, so the binding would fail correct code (or, once the old deployment coincidentally satisfies it, pass without proving anything).
      • manual — the item declares manual. Check whether the stated reason is still true (it claims no snapshot harness exists — has one appeared since?). If the reason has become false, flag minor: a criterion is being hand-waved that could now be automated.

Read the full file on GitHub · 117 lines

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. 1mo ago Changed · +25 lines 59829f019b27
  2. 2mo ago First seen · 92 lines · 28 tokens per session scan A 909d72c4cbf4

Subscribe to this mod's changes

2_review is a skill published in the GitHub repository dixus/claudeframework (10 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 3,420 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

openclaw/clawhub · 17 tokens

omh-code-review

This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 48 tokens

revdiff-plan

Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…

umputun/revdiff · 84 tokens

explore-unknowns

Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work through known unknowns, unknown knowns, and unknown unknowns one stage at a time, ending with a complete four-quadrant map in the user's hands. Use when a request is ambiguous or underspecified, the…

dzhng/skills · 162 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

asplos-writing-style

Use when drafting or revising ASPLOS prose — engineering the first two pages that rapid review actually reads, stating the cross-layer insight as one quotable sentence, structuring per-layer mechanism sections, writing bounded claims, and fitting everything into 11 self-contained pages that include figures and…

brycewang-stanford/Awesome-Journal-Skills · 65 tokens