agentleFS
voyager67voyager67/AgentFieldkit/skills/review-lens/SKILL.md

review-lens

Skill0 starsChanged 14 days agoMITView on GitHub

Review a diff for actionable correctness, security, reliability, and maintainability defects. Use before merging a change or when asked for an independent code review.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the task or issue first.

    line 10
  2. Distinctive:

    Look for defects in this order: data loss/security, incorrect behavior, broken compatibility, race conditions, poor error handling, …

    line 12
  3. Distinctive:

    Check tests against acceptance criteria.

    line 13
  4. Distinctive:

    Consider what happens for empty, malformed, duplicated, stale, unauthorized, or unexpectedly large input where appropriate.

    line 15
  5. Distinctive:

    Condition: when it occurs

    line 21
  6. Distinctive:

    Never fabricate line numbers or imply a test was run when it was not.

    line 28
  7. Distinctive:

    Do not rewrite the patch as part of a review unless asked to fix findings.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 Lens

Review method

  1. Read the task or issue first; identify the intended behavior and compatibility promises.
  2. Inspect the diff and relevant surrounding code. Do not review only the patch if callers or invariants matter.
  3. Look for defects in this order: data loss/security, incorrect behavior, broken compatibility, race conditions, poor error handling, performance regressions, then maintainability.
  4. Check tests against acceptance criteria. Look for untested branches, assertions that cannot fail, brittle timing, hidden reliance on mocks, and snapshots that obscure behavior.
  5. Validate each suspected issue against an actual execution path or invariant. Do not report style preferences as bugs.
  6. Consider what happens for empty, malformed, duplicated, stale, unauthorized, or unexpectedly large input where appropriate.

Finding format

For every finding include:

  • Severity: Critical / High / Medium / Low
  • Location: file and line or symbol
  • Condition: when it occurs
  • Impact: user-visible or operational consequence
  • Evidence: why the code causes it
  • Fix direction: the smallest practical remedy

Boundaries

  • Report findings before praise or summary. If no actionable issue is found, say so and mention the reviewed scope.
  • Never fabricate line numbers or imply a test was run when it was not.
  • Do not rewrite the patch as part of a review unless asked to fix findings.

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.