# Code Reviewer (agent)

> Code Reviewer (agent): Comprehensive code review covering patterns, anti-patterns, security, performance, and readability

Code Reviewer (agent) is a paid AI agent skill on Agensi by Laravel Company, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $3 (one-time purchase)
- Creator: [Laravel Company](https://www.agensi.io/creators/laravelcompany)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/code-reviewer-agent
- Tags: ai-agents, laravel, php, data

## About this skill

Manual code reviews often miss subtle architectural patterns or security vulnerabilities specific to the PHP ecosystem. This skill transforms your agent into a senior practitioner focused on Laravel standards, providing structured feedback that follows strict project conventions.

### What it does
- **Standardized Reviewing** provides consistent audits based on the Laravel Company prompt library.
- **Pattern Analysis** identifies anti-patterns, security risks, and performance bottlenecks in PHP code.
- **Assumption Logging** lists what the agent doesn't know about your environment instead of guessing.
- **Security Auditing** checks code against predefined security guidelines to prevent common vulnerabilities.
- **Laravel Convention Enforcement** ensures code aligns with modern Laravel practices and coding standards.

### How it works
1. **Context Ingestion** where the agent reads your provided files and identifies missing architectural details.
2. **Step Planning** to outline the review process before generating feedback.
3. **Constraint Validation** where the agent checks its findings against security and coding standard files.
4. **Structured Delivery** of the final report using a mandatory template covering summary, details, and risks.

### Frameworks & tools
This skill is optimized for PHP 8.x and Laravel environments. It incorporates project-specific standards defined in Markdown reference files.

### Why this beats prompting it yourself
Writing a prompt that balances security, performance, and framework-specific patterns is difficult to maintain. This skill encapsulates professional-grade logic, ensuring your agent never "hallucinates" test results and always follows a strict output contract.

### Use cases
- Reviewing Laravel Pull Requests for adherence to internal coding standards.
- Auditing legacy PHP scripts for security vulnerabilities and modern refactoring opportunities.
- Onboarding new developers by providing automated, convention-aware feedback on their commits.
- Validating database migrations and Eloquent queries for performance issues.

### Known limitations
This skill requires external reference files like `coding-standards.md` to be present in the context. It does not execute live code or run actual unit tests.

## 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 Reviewer (agent) 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

### Which versions of PHP and Laravel does this agent support?

This skill is optimized for PHP 8.x and Laravel environments. It works best when provided with your local `coding-standards.md` or security reference files to ensure feedback matches your team's specific architecture.

### Does the Code Reviewer Agent actually run my code to find bugs?

No, the agent does not execute code or run PHPUnit tests. It performs deep static analysis and pattern matching to identify architectural flaws, security risks, and convention deviations before you ever hit 'deploy'.

### How is this different from just asking a standard LLM to review my code?

Unlike basic prompts, this skill uses a multi-step 'Assumption Logging' and 'Step Planning' process. This prevents the agent from guessing about your environment and forces it to validate every finding against your specific project constraints.

### What exactly is included in the purchase of this skill?

You will receive the specialized agent skill configuration, including the structured review logic and the mandatory reporting templates. It also includes documentation on how to set up your external reference files for optimal results.

### Which AI models or platforms are compatible with this skill?

The skill is designed to work with any major LLM (like GPT-4 or Claude 3.5) that supports system instructions and file context. It excels in environments where you can provide repository files as context for the agent to analyze.

### Can this skill detect security vulnerabilities specific to Laravel?

The agent is designed to identify common PHP/Laravel vulnerabilities such as SQL injection in Eloquent, unsafe mass assignment, and improper authorization checks. It audits code against the security guidelines provided in your project context.

---

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.
