# Code Review — Real Bugs, Security & Performance

> Thorough, senior-level code reviews for Python and JavaScript/TypeScript. Finds real bugs, security holes, and performance traps; rates each finding by severity; suggests concrete fixes; and knows what NOT to flag. Ships a pattern scanner and a report validator, both tested on 33 real checks.

Code Review — Real Bugs, Security & Performance is a paid AI agent skill on Agensi by Pavithran, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Pavithran](https://www.agensi.io/creators/pavithran)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/code-review-real-bugs-security-performance
- Tags: devops, python, javascript, typescript, bugs, security, code-quality

## About this skill

Most code reviews are either a rubber stamp or a style argument. This skill does the real thing: it finds the defects that will break in production, rates them by severity, and suggests concrete fixes — and it knows what NOT to flag, so the author doesn't learn to ignore the next review. 1) Run the scanner, then triage. A pattern detector (review_scan.py, standard library only) scans Python and JavaScript/TypeScript for concrete defects — SQL injection, eval(), hardcoded secrets, shell=True, unsafe deserialisation, bare except:, mutable default arguments, == None, innerHTML XSS, Math.random() tokens, loose ==, and more — each with a code, a severity, and a suggested fix. Then the agent triages every finding by reading the line: a scanner finding is a lead, not a verdict. 2) Read the code for what the scanner cannot see. The skill walks through correctness (trace the happy path by hand), security (auth, injection, secrets, expiry, limits), data flow, error handling, concurrency, and performance — in that order. This is the part no tool does, and it is where the serious findings live: a delete endpoint with no ownership check, a function that sums items[:-1] and undercharges every order, a transfer that deducts before the destination is found. 3) Rate every finding by severity. A five-level rubric (Critical / High / Medium / Low / Info) with upgrade and downgrade rules: rate the impact, not the cleverness; rate the reachable impact; when torn between two levels, pick the higher one and say why. Never rate a style nit above Low. 4) Decide what NOT to flag. Style the project already has, naming and formatting, formatter-owned details, preferences disguised as defects, hypotheticals with no trigger — all go in a 'Not flagged' section with one line of reason each. That section is the proof the reviewer looked. 5) Write the review and validate it. A fixed report format (verdict, findings with severity + file:line + fix, 'Not flagged' section) checked by a second script (review_checklist.py) that enforces the discipline: no verdict without findings, no finding without a severity, a location, and a fix, and no APPROVE with an open Critical or High finding. What's inside: SKILL.md (step-by-step process, decision criteria, severity definitions, good/bad review comments, constraints), two Python scripts (standard library only — no network, no credentials), three reference guides (severity rubric, common bug patterns, security review checklist), and three full before/after reviews with real scanner output: a Python auth module (10 scanner findings + 2 manual findings), a JavaScript comment widget (6 + 2), and a clean rate limiter that earns an APPROVE. Tested, honestly: 33 checks, 33 passed — the scanner flags all 28 planted defects across 3 files and reports 0 findings on 6 clean files; a manual review caught all 4 logic bugs the scanner correctly missed (off-by-one, a method checked as a boolean, an unexpired token, a deduct-before-lookup); the checklist validator passes the good report 7/7 and fails each of 4 bad reports on exactly its one intended check; all 3 example review reports pass 7/7. The full evidence, including the 6 defects found and fixed during testing, is in TEST-REPORT.md. The limits are stated there too: the skill has not been run inside a buyer's live agent, the scanner has not been run on a large real-world codebase, and the JavaScript checks are line-based heuristics (the Python ones use the AST and are precise). Works in Claude, ChatGPT, Cursor, Codex and Gemini CLI — any agent that reads SKILL.md. Python 3.8+ only; no installs, no accounts.

## Known limitations

Optimized for Python and JS/TS only. Requires Python 3.8+ for internal scripts. Does not flag stylistic preferences or formatting issues.

## 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 — Real Bugs, Security & Performance skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from a standard linter or a generic AI prompt?

This skill prioritizes production-breaking defects like SQL injection, race conditions, and logic errors over stylistic preferences. It uses a structured triage process to filter out false positives and ensure every flagged issue is reachable and impactful.

### Which languages and environments are supported?

The skill is optimized for Python, JavaScript, and TypeScript environments. It requires access to your source code or diffs and functions best when integrated into workflows supporting Python 3.8+ for its internal scanning scripts.

### What is included in the final report generated by the skill?

Each review includes a detailed report with file and line references, a severity rating from Info to Critical, concrete code fixes, and a 'Not flagged' log to verify the audit's depth.

### Can I use this skill for security-sensitive code audits?

Yes, it is specifically designed for high-stakes modules like authentication handlers and payment processing where security vulnerabilities and silent logic failures are most costly.

### Does this skill require any complex configuration or setup?

The skill is delivered as a ready-to-use agent capability; simply provide the target code or pull request data to the agent, and it will follow its internal multi-step inspection protocol automatically.

---

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.
