- Home
- Skills
- Code Quality & Review
- code review lens
More screenshots
Works with the AI Agents you already use
code review lens
by Dias Franny
A senior-level code review agent that identifies security, performance, and correctness bugs with actionable fixes.
$9
code review lens
Example session with this skill installed
Review this diff for the user authentication module. It handles session creation and database lookups.
- Read your context and instructions
- Compiled the code review lens
I have reviewed the diff for the authentication module. The review focused on security, correctness, and session management. ## Verdict: Request changes ## Findings ### src/auth/session.ts - **[Critical] Plaintext token leak** — `src/auth/session.ts:42` **Issue:** The session token is being logged to the console during creation. **Why:** This leaks active session identifiers to log aggregation services, allowing account takeover. **Fix:** Remove the log statement or mask the token. ```typescript // Fix logger.info({ userId: user.id }, "Session created"); ``` - **[High] Missing rejection handling** — `src/auth/session.ts:58` **Issue:** The database call for session insertion lacks a catch block. **Why:** An unhandled promise rejection will crash the process node in some environments or leave the request hanging. **Fix:** Wrap the call in a try/catch or append a .catch() handler. ### src/auth/db.ts - **[Medium] Potential connection leak** — `src/auth/db.ts:12` **Issue:** Database client is initialized inside the handler. **Why:** Rapid requests will exhaust the connection pool. **Fix:** Move the client initialization outside the handler scope. ## Blocks merge - [ ] [Critical] Plaintext token leak — `src/auth/session.ts:42` - [ ] [High] Missing rejection handling — `src/auth/session.ts:58` ## Not blocking (follow-ups) - [ ] [Medium] Potential connection leak — `src/auth/db.ts:12` **Next steps** 1. Remove the token logging in `session.ts` immediately. 2. Add a global error boundary or local catch to the session creation logic. 3. Move the database client to a singleton pattern.
Connects securely to your tools. The creator never sees your data.
About this skill
Shipping code with hidden race conditions, resource leaks, or injection vulnerabilities can lead to production outages and data loss. Code Review Lens acts as a senior engineer performing a focused technical audit on your pull requests. It ignores subjective style preferences to focus exclusively on correctness, security, performance, and concurrency. ## What it does - **Severity rating** assigns clear Critical, High, Medium, or Low ratings to every finding based on technical impact. - **Security auditing** checks for SQL injection, missing authorization, secret leaks, and unvalidated inputs using a dedicated checklist. - **Performance analysis** flags N+1 queries, unbounded loops, and blocking I/O in the request path. - **Actionable fixes** provides the specific code change required for every finding rather than vague architectural advice. - **Merge verdicts** delivers a definitive Approve, Approve with comments, or Request changes status. ## How it works 1. Provide a git diff or paste a block of code for review. 2. The agent analyzes the code against security, correctness, and performance benchmarks. 3. Review the categorized findings grouped by file and severity. 4. Execute the specific fixes provided for any "Blocks merge" items. ## Frameworks & tools This skill is language-agnostic and works with any codebase, including JavaScript/TypeScript, Python, Go, Rust, and SQL. It is designed for use within Claude Code, Cursor, or any LLM-based development environment. ## Why this beats prompting it yourself Generic prompts often result in "nitpicking" style suggestions or polite but useless praise. This skill enforces a strict severity scale and an output contract that demands a "Why" and a "Fix" for every issue, ensuring every comment is worth a developer's time. ## Use cases - Auditing a critical PR before it hits the main branch. - Performing a specialized security or performance pass on a legacy module. - Verifying error handling and transaction boundaries in new API endpoints. - Reducing the manual burden on senior developers during heavy release cycles. ## Known limitations Does not enforce local linting or styling rules. Large diffs exceeding 1500 lines may require multiple passes for full coverage.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
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.