- Home
- Skills
- Code Quality & Review
- Moonlight Code Review
More screenshots
Works with the AI Agents you already use
Moonlight Code Review
A structured code review skill that ranks findings by severity and impact while filtering out linter noise.
Free
Moonlight Code Review
Example session with this skill installed
Review the changes in auth_service.py and give me a structured report on any security or logic risks.
- Read your context and instructions
- Compiled the moonlight code review
I have reviewed the changes in auth_service.py against the PR intent and project context. I focused on the new JWT implementation and session validation logic.
Review Findings
| Severity | Location | Problem | Impact | Recommendation |
|---|---|---|---|---|
| Critical | auth_service.py:42 | Missing exp (expiration) claim validation in JWT decoding. | Tokens never expire, allowing hijacked sessions to persist indefinitely. | Add options={"require": ["exp"]} to the jwt.decode call. |
| High | auth_service.py:115 | Database connection is not returned to the pool on hashing failure. | High traffic will lead to connection pool exhaustion and service downtime. | Wrap the hashing logic in a try...finally block to ensure db.close(). |
| Medium | auth_service.py:89 | Hardcoded 'utf-8' encoding in salt generation. | Potential for inconsistent hashing if the environment locale changes. | Use a global constant or config-driven encoding setting. |
What is done well
- Password complexity is enforced via a robust regex.
- The use of
argon2for hashing is a significant upgrade over the previous implementation.
Verdict: Changes Blocked.
The missing JWT expiration is a critical security vulnerability.
Next steps
- Fix the JWT expiration validation in the decode function.
- Implement the
try...finallyblock for database connection safety. - Add a test case specifically for expired token rejection.
Connects securely to your tools. The creator never sees your data.
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
- Analyze intent by reviewing the PR description, linked issues, and commit history to define the success criteria.
- Execute category walk through functional correctness, security, architecture, and performance checklists.
- Verify suspicions by attempting to write a concrete failure case for every suspected bug.
- 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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Free with an Agensi account
- Software
Git
Permissions
For the best results, give it a scope (a folder, file or main..HEAD) rather than reviewing the whole repo. Changes over ~1,500 lines are reviewed in risk order, and the report says what was skipped. Branch and diff reviews need Git (on Windows, install Git for Windows). It never edits your code: ask it to apply a fix if you want one.
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.