agentleFS
virgoC0dervirgoC0der/awesome-claude-code/skills/review/SKILL.md

review

Skill1 starsChanged 3 months agoMITView on GitHub

Review recent changes against the project's harness rules — architecture, code quality, tests, security

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .harness/project.md if present.

    line 14
  2. Distinctive:

    Always cite specific files and lines — never give vague feedback.

    line 73

“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review the current uncommitted changes (or the most recent commits if specified) against the project's harness rules.

This skill is project-agnostic — every check below is parameterized by .harness/project.md. If that file does not exist, the review uses sensible defaults and tells the user that creating one would make reviews more accurate.


Step 1: Load context

  1. Read .harness/project.md if present.
  2. Get the changed files:
    git diff --name-only HEAD
    git diff --name-only --cached
    (Combine staged + unstaged. If the user names a commit range, use that instead.)

Step 2: Run the checklist

A. Architecture Compliance

  • Every changed file lives where Source Layout and placement_rules require.
  • No import violates layer_order.
  • Role-specific shape rules (e.g. tool function signatures, model placement) are respected if declared.
  • No reverse imports introduced.

(Run the arch-reviewer agent for the heavy lifting if the diff is large.)

B. Code Quality

  • Project's format_check, lint, and typecheck (if any) all pass.
  • Project's Conventions are respected: error handling, logging, secrets access.
  • No hardcoded credentials, API keys, or tokens.
  • No dead code, no obvious copy-paste duplication, no TODOs left without owners.

C. Testing

  • Every new public function/method/route has at least one test.
  • Tests live in the project's test_dirs, mirroring the source structure.
  • Tests assert real behavior — no tautological tests that mock everything and assert what was mocked.
  • Edge cases (empty input, errors, timeouts) are covered, not only happy paths.

D. Security

  • No secrets committed.
  • User input is validated before use in DB / shell / file / prompt / URL contexts.
  • Authorization is checked on mutating operations.
  • Errors don't leak internal details to users.

(Run security-reviewer for the heavy lifting if the diff touches input handling, auth, or external calls.)

E. Spec / Change Alignment (if a harness change is active)

  • Changes correspond to tasks in <change-dir>/tasks.md.
  • Every spec scenario in <change-dir>/specs/ has corresponding code and tests.
  • No gold-plating — features added that the spec did not request.

Step 3: Report

For each finding:

SeverityFileIssueFix
CRITICAL / WARNING / INFO<project-relative path>:<line><concise issue><specific suggested change>

End with a one-line verdict:

  • APPROVE — no findings, or only INFO items.
  • APPROVE WITH SUGGESTIONS — only WARNING items.
  • REQUEST CHANGES — at least one CRITICAL.

Always cite specific files and lines — never give vague feedback.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.