# Code Review (Single-Pass)

> Get an expert second opinion on your code to catch bugs, security holes, and messy logic before you ship.

Code Review (Single-Pass) is a free AI agent skill on Agensi by Diego Oliveira, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Diego Oliveira](https://www.agensi.io/creators/diegoos)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 0.1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/code-review-single-pass
- Tags: code-review, security, api, quality, git

## What it does

- Scans code changes for logic errors and hidden bugs before they reach your users
- Identifies security vulnerabilities like leaked secrets or weak data protection
- Checks if new code follows your existing project rules and naming styles
- Flags slow code that might make your app lag or crash under pressure
- Suggests the exact lines to change to fix a problem without breaking other parts
- Provides a clear verdict on whether to approve or fix the submitted work

## Who it's for

- **Founders building their first app:** Make sure your new features won't break or leak customer data before you go live. Try: "Review the code for my new signup page."
- **Freelance developers managing multiple clients:** Catch bugs and sloppy mistakes in your work before your client sees them. Try: "Check my last three commits for any security holes."
- **Small engineering teams without a senior lead:** Get a second set of eyes on every pull request to keep code quality high. Try: "Review PR #42 and tell me if it is safe to merge."
- **Engineering teams automating code reviews in CI/CD pipelines:** Fast, read-only PR reviews that catch real bugs and security flaws with zero false-positive noise Try: "Review PR #123 for security and correctness issues"

## About this skill

When you are writing code or managing a project, it is easy to miss a tiny mistake that crashes the whole site or lets a hacker in. This skill acts as a focused reviewer for your work. It looks at your new code changes and hunts for logic errors, security gaps, and messy sections that will be hard to fix later. It does not just say "this is bad", it tells you exactly which line is the problem and how to fix it.

**How it works**

1. Give your AI agent a link to a pull request, a specific file, or just paste some code.
2. The skill reads the changes and checks them against five rules: correctness, security, quality, structure, and speed.
3. It double-checks every potential bug against the rest of your files to make sure the warning is real.
4. You get a clear report with a "Verdict" telling you if the code is safe to use or needs work.

**What you get:** A structured report flagging critical bugs and security risks with specific instructions on how to fix them.

> For a large and deep code review, see the [`code-review-plus`](https://www.agensi.io/skills/code-review-plus) skill.

## Requires

- Git

## Known limitations

This skill only reads code and cannot edit your files directly. It works best on small to medium changes; very large files may be harder to scan in one go, use `code-review-plus` skill for large and deep reviews.

## Technical details

This skill uses the GitHub CLI (gh) to fetch PR data and git for local diffs. It performs a single-pass analysis across correctness, security, quality, architecture, and performance axes. It references AGENTS.md or .editorconfig for context and can integrate with a 'coding' skill for advanced quality checks. All outputs are read-only and formatted as a structured Markdown report.

## 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 (Single-Pass) 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 kinds of problems can this code review help me find?

This skill analyzes code changes to find bugs, security holes, and logic errors. It checks your work against five specific standards including correctness and speed to ensure the code is safe to use and easy to maintain.

### How do I tell the agent which code it should look at?

You can give the agent a link to a pull request, a specific commit hash, a branch name, or just paste the code directly. If you do not specify a target, it will automatically look at your current local changes or the branch you are working on.

### What does the final report look like?

You will receive a structured report that lists every issue by file and line number. It provides a verdict on whether the code is safe to merge and gives you specific instructions on how to fix each identified bug or security risk.

### Do I need any special software to make this work?

It uses the GitHub command line tool to view pull requests and standard git commands to read your files. If these tools are not available or if the agent cannot log in, it will report the error and tell you how to fix it so the review can continue.

### Are there any limits to what it will review or change?

It only looks at the specific code changes you provide and does not check for issues in your existing code unless your new changes make those old problems active. It also stays strictly read-only, meaning it will never change your files directly.

### Does it check if my new code matches the style of the rest of my project?

The skill checks if your new code follows the same naming and structure as the files around it. It also looks for redundant or unused code that can be removed to keep your project clean.

---

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.
