# Moonlight PR Review Verdict

> PR-scoped code review that delivers blocking vs non-blocking findings and a clear approval verdict.

Moonlight PR Review Verdict 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-pr-review-verdict
- Tags: code-review, github-actions, git, security, testing

## About this skill

Code reviews often result in superficial feedback or missed architectural risks. This skill acts as a technical code owner to evaluate pull requests against their stated intent, identifying blocking defects and security risks before they hit production.

### What it does
- **Intent verification** checks if the diff actually matches the PR description and acceptance criteria while flagging scope creep.
- **Risk-based triage** prioritizes reviews for sensitive areas like authentication, database migrations, and public API contracts.
- **Security auditing** applies OWASP Top 10 standards to identify vulnerabilities in the changed code and surrounding context.
- **Test assessment** evaluates if new behaviors have meaningful assertions, error path coverage, and consistent lockfile updates.
- **Verdict generation** delivers a clear decision between Approve, Request Changes, or Block based on a false-positive filter.

### How it works
1. **Context Discovery**: The skill fetches the PR diff, linked issues, and existing comments to understand the goal.
2. **Deep Inspection**: It reads surrounding code for each hunk to check for side effects in callers and callees.
3. **Multi-layer Review**: Code is analyzed for correctness, security, performance, and maintainability in that specific order.
4. **Classification**: Findings are categorized into blocking issues, non-blocking suggestions, and questions.

### Frameworks & tools
This tool uses `gh cli` for metadata retrieval and standard `git` commands for diff analysis. It integrates with existing project linters and test suites to verify CI status and check for regression coverage.

### Why this beats prompting it yourself
Generic prompts often produce style nits that formatters should handle or miss breaking changes in surrounding files. This skill enforces a strict verdict-driven workflow that ignores speculative feedback and focuses on data loss, security risks, and architectural alignment.

### Use cases
- Reviewing complex database migrations for backward compatibility.
- Auditing security-sensitive changes in authentication or payment flows.
- Verifying that bug fixes include appropriate regression tests.
- Onboarding new contributors by providing objective, standard-aligned feedback.

### Known limitations
Requires an authenticated GitHub CLI session for remote PR viewing. It cannot automatically fix findings unless explicitly instructed to apply changes.

## 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 PR Review Verdict 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 standard AI code review prompts?

PR Review Verdict focuses on architectural risks, security vulnerabilities, and intent verification rather than superficial style nits, ensuring every comment is actionable and leads to a definitive Approve or Block decision.

### What technical environment is required to run this skill?

This skill requires a GitHub CLI (gh) authenticated session and access to your project's git environment to analyze diffs and fetch surrounding code context for its deep inspection process.

### Can I use this skill specifically for high-risk changes like database migrations?

Yes, the skill is designed to prioritize and audit sensitive changes specifically in areas like authentication modules, database migrations, and public API contracts to prevent breaking changes.

### What does the final output of the review look like?

The skill delivers a structured report categorizing findings into blocking defects and non-blocking suggestions, ending with a clear 'Approve', 'Request Changes', or 'Block' verdict based on its analysis.

### Will the PR Review Verdict automatically commit fixes to my pull request?

No, the skill acts as a technical auditor; while it identifies defects and suggests improvements, it will not modify your source code unless you explicitly use a separate automated refactoring tool.

---

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.
