Index of every page on this site: llms.txt
All skills
richtabor avatar

/fresh-eyes

@89eb2e9
by Rich Taborrichtabor/agent-skills74 stars
10
Run it yourself

Re-reads code you just wrote with fresh perspective to catch bugs, errors, and issues. Use after completing a feature, fixing a bug, or any code changes. Triggers on "review my code", "fresh eyes", "check for bugs", "did I miss anything", or "sanity check".

Use this Skill: https://skilld.dev/gh/richtabor/agent-skills/fresh-eyes

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈67 tokens for metadata: the name and description. ≈651 when used: this file.

Description uses 3.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈270 characters, or 3.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Fresh Eyes Review

Re-read all code you just wrote or modified with a fresh perspective. Look for obvious bugs, errors, problems, and confusion that are easy to miss when deep in implementation.

When to Use

  • After completing a feature or fix
  • Before committing changes
  • When you feel like something might be off
  • After a long coding session

Process

1. Identify Changed Code

Find all files you modified in this session. If unclear, ask the user or check recent git changes:

git diff --name-only HEAD~1
git diff --name-only --cached

2. Re-read with Fresh Eyes

Read each modified file completely. Pretend you've never seen this code before. Look for:

Logic errors

  • Off-by-one errors
  • Inverted conditions
  • Missing null/undefined checks
  • Race conditions
  • Incorrect comparisons (== vs ===, > vs >=)

Obvious bugs

  • Typos in variable names
  • Copy-paste errors
  • Forgotten return statements
  • Unused variables that should be used
  • Wrong function called

Missing pieces

  • Error handling gaps
  • Edge cases not covered
  • Cleanup code missing (close connections, clear timeouts)
  • Validation missing at boundaries

Confusion risks

  • Misleading variable names
  • Complex logic without comments
  • Inconsistent patterns within the file
  • Magic numbers without explanation

3. Fix Issues

For each issue found:

  1. Explain what's wrong in 1 sentence
  2. Fix it immediately
  3. Move to the next issue

Don't ask for permission. Just fix obvious problems.

4. Report Summary

After fixing, provide a brief summary:

## Fresh Eyes Review

Fixed 3 issues:
- `api/users.ts:47` — Missing null check on user.profile
- `api/users.ts:82` — Off-by-one in pagination (used > instead of >=)
- `utils/format.ts:15` — Typo: `formattedDte` → `formattedDate`

No other issues found.

If nothing found:

## Fresh Eyes Review

Reviewed 4 files. No issues found.

What NOT to Do

  • Don't refactor working code
  • Don't add features
  • Don't change style preferences
  • Don't optimize prematurely
  • Don't add comments to obvious code
  • Don't reorganize file structure

Focus only on bugs, errors, and problems. If it works and isn't broken, leave it alone.

Checklist

Run through mentally for each file:

  • All variables initialized before use?
  • All functions return what they should?
  • All loops terminate correctly?
  • All conditions handle both branches?
  • All async operations awaited?
  • All errors caught or propagated?
  • All resources cleaned up?
  • All edge cases handled (empty, null, zero, negative)?

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This code review skill identifies bugs in recently modified files. It uses git commands to find changes and processes source code content, which introduces a potential surface for indirect prompt injection if those files contain malicious instructions. The skill operates locally to perform its tasks.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/1 file flagged

Signed by skilld at 89eb2e9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 10 months ago

README badge

README badge for richtabor/agent-skills/fresh-eyes