# Moonlight Code Review

> A structured code review skill that ranks findings by severity and impact while filtering out linter noise.

Moonlight Code Review is a free AI agent skill on Agensi by LINGALA SURESH, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [LINGALA SURESH](https://www.agensi.io/creators/lingala-suresh)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/moonlight-code-review
- Tags: code-review, security, refactoring, pull-requests

## About this skill

Reviewing code requires more than just reading a diff. This skill enforces a structured, context-aware review process that prioritizes high-risk areas like security and concurrency while eliminating low-value style nits. It delivers severity-ranked findings with concrete evidence and actionable fixes.

### What it does
- **Risk-based triage** identifies and prioritizes auth, data migrations, and concurrency issues before general logic.
- **Deep context analysis** examines callers, callees, and dependencies to find bugs that a simple diff view misses.
- **Evidence-backed reporting** ensures every finding includes a specific failure scenario and impact assessment.
- **False-positive filtering** automatically skips issues handled by linters or pre-existing code untouched by the current change.
- **Actionable recommendations** provide specific code snippets and the shortest path to PR approval.

### How to works
1. **Analyze intent** by reviewing the PR description, linked issues, and commit history to define the success criteria.
2. **Execute category walk** through functional correctness, security, architecture, and performance checklists.
3. **Verify suspicions** by attempting to write a concrete failure case for every suspected bug.
4. **Generate findings** using a structured format that ranks issues by severity (Likelihood × Impact).

### Frameworks & tools
Works with any programming language or framework. It integrates with existing `stack-*` skills for technology-specific deep dives into databases, frontend, or backend architectures.

### Why this beats prompting it yourself
Generic prompts often result in "rubber-stamping" or "nitpicking" style over substance. This skill mandates a verification step where the agent must prove a failure scenario exists before reporting it, drastically reducing noise.

### Use cases
- Reviewing high-stakes pull requests involving financial logic or sensitive data.
- Performing a final self-review on a complex feature before submitting to a lead.
- Identifying missing error paths or unhandled edge cases in large refactors.
- Auditing legacy codebase areas for architectural or performance regressions.

### Known limitations
Does not report on style or formatting issues handled by automated linters. Focuses only on logic, security, and architecture within the provided context.

## Requires

- Git

## 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 Moonlight Code Review 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

### How does this skill differ from just asking a standard AI agent to 'review my code'?

Unlike generic prompts that focus on syntax or style, this skill requires the agent to prove a failure scenario before reporting it, ensuring you only see critical logic, security, and performance issues.

### Which programming languages and frameworks is this code review skill compatible with?

The skill is language-agnostic and works across all programming environments, though it can be paired with specific 'stack-*' skills for deeper architectural analysis of databases or frontends.

### Will this skill report on style guides, linting errors, or formatting preferences?

No, this skill is specifically designed to filter out 'linter noise' so your team can focus on high-impact architectural and security risks rather than formatting or indentation.

### What exactly is included with my purchase of the Code Review skill?

You receive the full structured skill definition, which includes the risk-based triage logic, the multi-step verification process, and the severity-ranked reporting template.

### What is the setup process for integrating this skill into my current development workflow?

Simply import the skill into your compatible AI agent platform and provide it with access to your PR description and code diff to begin the structured review process.

### How does the agent determine the severity level of the bugs it finds?

The skill performs a 'category walk' through functional correctness, security, and performance checklists, using a Likelihood × Impact matrix to rank findings from critical to low-priority.

---

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.
