# Code Review Lite: Catch the Bug Your PR Missed

> A silent bug is hiding in your PR. This free 60-second check scans for leaked keys, silent failures and runaway files, with a RED/YELLOW/GREEN verdict and file:line for each problem. On a real PR tonight it caught a silent error-swallowing bug the PR itself missed (core/agent_loop.py:663).

Code Review Lite: Catch the Bug Your PR Missed is a free AI agent skill on Agensi by Mas Boy, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Mas Boy](https://www.agensi.io/creators/masboyalexandria)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/code-review-lite-catch-the-bug-your-pr-missed
- Tags: code-review, testing, static-analysis, lint, secrets-scan, code-quality, devtools, developer-productivity

## About this skill

A silent bug is hiding in your PR — and your PR itself missed it. This free 60-second pre-flight check scans your project for leaked keys, silent failures and runaway files, then gives one honest verdict: RED, YELLOW or GREEN — with the exact file and line for every problem.

- RED — fix before merge: a secret-pattern hit (reported by type + location only, values never stored) or a silent failure like an empty catch / swallowed error.
- YELLOW — worth a look: debug leftovers, TODO/FIXME markers, files over 500 lines, functions over 60 lines, or modules with no test sibling.
- GREEN — clean by this scan: none of the above.

Every finding carries file:line, ranked red-first, with a machine-readable lite.json for tooling. The report separates what the scan verified from what it merely suspects, so you know what to fix first.

Proof from real repos — this week, three maintainers shipped fixes from these reviews:

- foundry-x402 (x402 payment SDK): the review found the double-settle guard resting on the first-answering RPC with a 24-hour clock-drift tolerance. The v0.4.5 release cut the drift cap to 120 seconds, added stale-RPC failover and automatic reconciliation — and the regression test is named "[HIGH-1 / Mas Boy]" (sapphire-japan/machine-utility-foundry, test/safeFetch.test.ts:2411).
- aifuzzer: the review flagged a plugin loader that silently skipped malformed plugins. The fix logs the skipped file by name, with a regression test proving valid plugins still load; main.rs went from 1,295 to 136 lines in the same cleanup (Shura5860/aifuzzer).
- RagLeap PR #1666: a free scan flagged silent error-swallowing in three audit-write paths. The fix merged — warnings instead of bare pass, 5 new regression tests, 58 tests passing (ragleap/ragleap-core).

More proof — run on real codebases, 1 Dec 2026. Token Launch Radar (17 files, 1,755 lines): RED — 0 secrets (verified clean), 1 silent catch at src/lib/storage.ts:31, 2 debug leftovers, 5 large files, 11 untested modules. A real production codebase: YELLOW (95-line main(), one missing test sibling).

Honest limits: this is a pattern scan, not a review. It cannot judge correctness, logic bugs, or security design.

Want the deep pass? **Code Review Pro** does the evidence-first correctness review — a deterministic scanner finds secrets, injection sinks, unbounded loops, silent failure and un-awaited async, then each finding is proven with reproduction evidence before it is reported. https://www.agensi.io/skills/code-review-pro-blockers-risks-and-nits-line-by-line

## Known limitations

Heuristic secret detection may miss encoded keys. Brace-tracking for function length can be skewed by braces in comments. Conventional test naming only.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Code Review Lite: Catch the Bug Your PR Missed skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What kind of code issues does this skill detect?

This skill performs a fast, deterministic pattern scan to find hardcoded secrets, empty catch blocks that swallow errors, and maintenance smells like debug leftovers or oversized functions before you begin a manual review.

### Do I need any external accounts or software to run the scan?

The skill requires Node 22 or higher and uses a zero dependency script that runs locally without any API keys or network access. You simply provide the directory or file paths you want to analyze.

### What results will my AI agent provide after the scan?

You receive a traffic light summary (Red, Yellow, or Green) highlighting finding counts, a list of the top 10 issues with exact file and line locations, and a machine readable JSON file containing all findings.

### What are the limitations of the scan results?

This skill cannot determine if code is logically correct, identify injection paths, or reason about design. It is a pattern based scanner meant for quick wins, not a replacement for a deep architectural or security audit.

### Can this skill guarantee that my code is completely free of secrets?

The skill may miss credentials that are split across strings or encoded in unusual formats. Additionally, its function length and catch block detection use brace tracking, which can be skewed by braces appearing inside comments or strings.

### How should I instruct my agent to use this skill?

You can tell your agent to point the skill at a specific directory or a list of files from a recent PR. For example, ask it to perform a pre-review scan on your current branch to check for secrets and debug leftovers before you push your code.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
