agentleFS
michellepellonmichellepellon/superpowers/skills/fresh-eyes-review/SKILL.md

fresh-eyes-review

Skill1 starsChanged 8 months agoMITView on GitHub

Use when about to commit, create a PR, or declare work complete — after verification-before-completion confirms tests pass but before code ships. Catches security vulnerabilities, logic errors, and business rule bugs that slip through despite passing tests.

5 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Fresh-Eyes Review

Overview

Deliberate re-reading of changed code with psychological distance. Catches what you assumed was correct.

Core principle: 100% test coverage can coexist with critical bugs.

Prerequisite: verification-before-completion must pass first.

Process

  1. Announce: "Starting fresh-eyes review of [N] files."
  2. Walk each changed file through the five checklists below.
  3. Fix immediately. Re-run tests after each fix.
  4. Declare: "Fresh-eyes complete. [N] issues found and fixed: [brief description of each]." Include this even for zero findings.

Checklists

Security

CheckLook For
InjectionUnsanitized input in queries, commands, or templates
Path traversalUnvalidated file paths, ../ sequences
Auth gapsUnprotected endpoints, missing authorization checks
SecretsHardcoded credentials, tokens, or keys

Logic

CheckLook For
BoundariesOff-by-one in indices, loops, pagination
Race conditionsConcurrent access to shared state
Null handlingUnguarded access chains that could throw
Error swallowingEmpty catch blocks, ignored rejections

Business Rules

CheckLook For
CalculationsFormulas matching requirements, correct rounding
ConditionsAND/OR logic correct, negations applied properly
Edge casesEmpty input, single item, zero, maximum values
DefaultsSensible values when optional fields omitted

Input Validation

CheckLook For
Type checksExpected types enforced at boundaries
Range checksNumeric bounds, string lengths, array sizes
Format checksEmail, URL, date formats validated

Performance

CheckLook For
N+1 queriesLoops making individual database/API calls
Unbounded workMissing limits on iterations, result sets, payloads
Resource leaksUnclosed connections, streams, event listeners

Resistance Patterns

RationalizationReality
"Tests are comprehensive"Tests validate design, not correctness
"I'm confident it's correct"Confidence is inversely correlated with bugs
"It's just a small change"Small changes cause large outages
"Partner is waiting"3 minutes now saves 3 hours debugging later
"Senior dev already approved"They reviewed intent, not implementation details
"Production is blocked"Rushing causes the outages being rushed to fix

Red Flags — STOP

  • "I already looked at this code while writing it"
  • "The tests cover everything"
  • "This is too trivial to review"
  • "I just need to commit this quickly"

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.