More screenshots

    Works with the AI Agents you already use

    Moonlight PR Review Verdict

    by LINGALA SURESH

    1

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

    Free

    Security scanned
    Moonlight PR Review Verdict

    Moonlight PR Review Verdict

    Example session with this skill installed

    /pr-review-verdict https://github.com/acme/api/pull/482 -- focus on security and data migrations

    • Read your context and instructions
    • Compiled the moonlight pr review

    I have reviewed PR #482 focusing on the new encrypted field migration and the JWT refresh logic.

    Verdict: Request changes

    The PR introduces a high-risk migration that lacks a rollback strategy and contains a potential race condition in the token refresh service. While the encryption implementation is sound, these architectural issues must be addressed before merging.

    PR understanding

    • Intent: Implement field-level encryption for user PII and modernize refresh token rotation.
    • Scope: Changes to User model, EncryptionService, and AuthMiddleware.
    • Risk areas: Database locking during migration, crypto key management, and token concurrency.

    Blocking findings

    • src/models/user.py:42: Migration performs an ALTER TABLE on a live PII column without a temporary shadow column, risking data loss if the process interrupts.
    • src/services/auth.py:112: Refresh token lookup lacks a transaction lock, allowing potential reuse during concurrent requests.

    Non-blocking suggestions & questions

    • suggestion: src/crypto/utils.py:15: Use a constant-time comparison for HMAC verification to prevent timing attacks.
    • question: Have we verified the KMS key rotation policy for the new PII_ENCRYPTION_KEY?

    Test and compatibility assessment

    • Tests: New unit tests cover encryption/decryption. Integration tests for the token rotation race condition are missing.
    • Compatibility: Breaking change in GET /user response format; needs a version bump or transformer.

    What's good

    • Clean separation of the EncryptionProvider interface.
    • Excellent documentation of the token rotation sequence in the PR description.

    Suggested follow-ups

    • Implement an automated secret scanning CI gate to prevent key leakage.
    • Refactor the AuthMiddleware to use a strategy pattern for different token types.

    Next steps

    • Address the migration safety by using a three-step shadow column approach.
    • Add a concurrency test case for the refresh_token endpoint.

    Connects securely to your tools. The creator never sees your data.

    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

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    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.

    Free