- Home
- Skills
- Code Quality & Review
- Code Review Lite: Catch Secrets Before You Commit
Works with the AI Agents you already use
Code Review Lite: Catch Secrets Before You Commit
by Mas Boy
Your AI coding agent just committed a secret and nobody noticed.
Free
Code Review Lite: Catch Secrets Before You Commit
Example session with this skill installed
Run Review Lite on the worked examples and show me the traffic-light report for each codebase, with file:line findings.
- Read your context and instructions
- Compiled the code review lite
Worked examples run 1 December 2026: a deliberately messy app scored RED — possible Stripe live secret key at src/config.js:3 (value redacted, verified absent from all output), empty catch at src/app.js:20, 543-line file, 80-line function, 4 debug leftovers, 4 files without tests. A tidy tested module scored GREEN with zero findings. A real production codebase scored YELLOW (95-line main(), one missing test sibling). Deterministic: clean-unzip rerun reproduced identical findings.
Connects securely to your tools. The creator never sees your data.
About this skill
Your AI coding agent just committed a secret and nobody noticed. This free 30-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 printed) or an empty/swallowing catch block.
- YELLOW — worth a look: debug leftovers, TODO/FIXME markers, files over 500 lines, functions over 60 lines, source files without test siblings, files over 1 MB.
- 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 scan is deterministic (same code in, same report out), runs offline with zero dependencies, and records per-file read errors instead of silently skipping them. Scanning zero files reports "no files were scanned" — unscanned code is never called clean.
Proof — run on real codebases, 1 Dec 2026. Token Launch Radar (17 files, 1,755 lines): RED — 0 secrets, but 3 empty-catch hits (one at scripts/dashboard/app.js:175, duplicated across generated copies), 1 oversized file, 3 long functions, 6 missing test siblings. PredArena Solana app (34 files, 9,107 lines): RED — 0 secrets, 3 empty catches, TradeBox.tsx oversized at 639 lines, 10 long functions, 27 missing test siblings. And the planted test fixture with a fake Stripe key: RED, key caught and redacted. Real codebases, real verdicts — no demo data.
Honest limits: this is a pattern scan, not a review. It cannot judge correctness, logic bugs, or security paths; secret patterns are heuristics (verify hits; a clean scan is not proof); function-length and catch checks use brace-tracking heuristics; test detection knows conventional names only. A green light means "no obvious pre-review problems", not "this code is right".
Want the deep pass? Code Review Pro does the evidence-first correctness review — findings proven with reproduction steps, injection-path analysis, and regression tests written against each finding. Run Review Lite for the 60-second quick wins; run Pro when the merge matters.
Want the deep pass? Code Review Pro does the evidence-first correctness review — a deterministic scanner finds secrets, injection sinks, swallowed errors, and hotspots, then every blocker is confirmed by tracing the actual code path, with a fix order and one regression test per finding. Run Code Review Lite for the 60-second quick wins; run Pro when the merge matters. 👉 https://www.agensi.io/skills/code-review-pro-blockers-risks-and-nits-line-by-line
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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.