Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    mgkyawzayya

    code-review-checklist

    mgkyawzayya/code-review-checklist
    Coding
    1
    1 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Review code changes for correctness, security, performance, and maintainability. Use for PR reviews, code audits, pre-merge checks, or quality validation of Laravel + React code...

    SKILL.md

    Code Review Checklist

    Exclusive to: reviewer agent

    Validation Loop (MANDATORY)

    Before completing any review, verify the codebase passes all checks:

    composer test           # All PHP tests pass
    npm run types          # No TypeScript errors
    npm run lint           # No linting errors
    ./vendor/bin/pint --test  # PHP style OK
    

    Report any failures as Critical findings.

    Instructions

    1. Review against project standards in docs/code-standards.md
    2. Run through the checklist below
    3. Report issues by severity (Critical → Warning → Suggestion)

    Review Checklist

    ✅ Correctness

    • Logic handles edge cases
    • Error handling is appropriate
    • Types are correct (no any unless justified)
    • Tests cover new/changed behavior
    • No dead code or unused imports

    🔒 Security (OWASP)

    • No secrets or credentials in code
    • User input validated and sanitized
    • Authorization checks in place
    • No SQL injection (use Eloquent/query builder)
    • No XSS (proper escaping, sanitization)
    • CSRF protection enabled
    • Rate limiting considered

    ⚡ Performance

    • No N+1 queries (use eager loading: with())
    • No unnecessary database calls
    • Large datasets are paginated
    • Indexes exist for filtered/joined columns

    🧹 Maintainability

    • Follows patterns in docs/code-standards.md
    • Names are clear and consistent
    • No unnecessary complexity
    • DRY — no copy-paste duplication

    🎨 Frontend

    • Uses existing shadcn/ui components
    • Loading and error states handled
    • Accessible (keyboard, labels, contrast)
    • Responsive (mobile + desktop)

    📝 Documentation

    • Code comments for non-obvious logic
    • Docs updated if behavior changed
    • Types documented with JSDoc if complex

    Laravel Security Checks

    Check Verify
    Mass assignment $fillable or $guarded defined
    Authorization Policy or Gate used
    Validation FormRequest with rules
    CSRF @csrf in forms
    SQL injection No raw queries with user input

    React Security Checks

    Check Verify
    XSS No dangerouslySetInnerHTML
    Props TypeScript interfaces used
    Secrets No sensitive data in client

    Severity Guide

    Level Criteria Action
    🚨 Critical Security flaw, data loss, breaks functionality Block merge
    ⚠️ Warning Performance issue, code smell, missing test Request fix
    💡 Suggestion Style improvement, better pattern Optional

    Output Format

    ## 🔍 Review Summary
    [One paragraph overview]
    
    ## 🚨 Critical (must fix)
    1. [Issue]: [File:Line] — [Why critical]
    
    ## ⚠️ Warnings (should fix)
    1. [Issue]: [File:Line] — [Recommendation]
    
    ## 💡 Suggestions (nice to have)
    1. [Suggestion]: [File:Line] — [Improvement]
    
    ## ✅ What's Good
    - [Positive observation]
    

    Examples

    • "Review this PR before merge"
    • "Check this code for security issues"
    • "Audit changes for performance"
    Recommended Servers
    GitHub
    GitHub
    Vercel Grep
    Vercel Grep
    OpenZeppelin
    OpenZeppelin
    Repository
    mgkyawzayya/claude-code-usage-flow
    Files