general-code-review

general-code-review is a skill for Claude Code, Codex from w00fx/spec-anchored-agentic-development. It costs 56 tokens per session (946 once invoked), scanned A, original, MIT.

A code-review checklist for finding defects in changed code, including logic errors, unnecessary complexity, weak tests, and type-design problems.

In plain words
What is it for?
Use it to review a code diff for correctness, simplicity, test coverage, and type-related holes.
Why use it?
It helps catch problems that might otherwise reach a human reviewer or production, while separating specification and domain-rule checks into other reviews.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/w00fx/spec-anchored-agentic-development/general-code-review
Any agent
npx skills add w00fx/spec-anchored-agentic-development --skill general-code-review
Clone the repo
git clone --depth 1 https://github.com/w00fx/spec-anchored-agentic-development

Made for: Claude Code, Codex.

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 general-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/w00fx/spec-anchored-agentic-development/general-code-review.svg)](https://agentmods.dev/skills/w00fx/spec-anchored-agentic-development/general-code-review)
Your own site
<a href="https://agentmods.dev/skills/w00fx/spec-anchored-agentic-development/general-code-review"><img src="https://agentmods.dev/badge/skills/w00fx/spec-anchored-agentic-development/general-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 946 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00056 $0.00946
Opus 5 $0.00028 $0.00473
Sonnet 5 $0.00011 $0.00189
Haiku 4.5 $0.00006 $0.00095

Measured today against content hash fe464e0dd0ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

general-code-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 today.

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.

.agents/skills/general-code-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.

General code-review and cleanup criteria

Apply this skill inside the general-code-reviewer agent. Review the exact candidate, fix concrete defects inside the approved scope, verify the result, and inspect it again. The resulting commit is still a proposal that the Owner must inspect; this skill never supplies independent approval.

Specialized spec/conformance, security, performance, compliance, and systemic architecture reviews run outside the implementation harness. Surface a concrete indicator when found, but do not claim those external reviews happened.

Required inputs

Require the exact input SHA, complete diff, task/outcome, approved plan and scope, repository context/rules, verification commands, and baseline failures. Do not operate on a moving or unidentified candidate.

Dimension 1 — Correctness and regression surface

Trace the happy path and material failures:

  • empty, single, large, zero, negative, first/last, overflow, and absent values;
  • error propagation, partial failure, cleanup, retries, cancellation and timeout;
  • duplicates, ordering, idempotency, races and non-atomic state transitions;
  • caller/consumer compatibility, signatures, serialization and contract drift;
  • behavior outside the touched lines that the change can regress.

Fix reproducible defects. Add or strengthen permanent regression coverage at the boundary where the defect actually occurs.

Dimension 2 — Simplicity, cohesion and local architecture

Remove needless complexity without expanding the task:

  • duplicated logic or mechanisms already supplied by the repository;
  • dead code, unreachable branches and obsolete compatibility shims;
  • speculative abstractions, unused configurability and one-caller frameworks;
  • functions with mixed responsibilities, deep nesting or misleading names;
  • framework/IO concerns leaking into business logic;
  • local dependency-direction, ownership or resource-lifecycle mistakes;
  • new technical-layer/entity folders that violate the capability layout.

Read the full file on GitHub · 117 lines

Files

What ships with it

2 files 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. today Changed · -1 lines · -16 tokens per session fe464e0dd0ea
  2. 5d ago First seen · 118 lines · 72 tokens per session scan A b3f577440822

Subscribe to this mod's changes

general-code-review is a skill published in the GitHub repository w00fx/spec-anchored-agentic-development (5 stars, last pushed 2d ago), licensed MIT. It adds 56 tokens to every session and 946 once invoked, about $0.0003 per session on Opus 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