code-reviewer

shubhamsaboo/awesome-llm-apps · updated Apr 8, 2026

$npx skills add https://github.com/shubhamsaboo/awesome-llm-apps --skill code-reviewer
0 commentsdiscussion
summary

Expert code review identifying security vulnerabilities, performance issues, and quality problems.

  • Organizes findings by priority: security (critical), performance (high), correctness (high), maintainability (medium), and testing
  • Covers five core vulnerability categories: SQL injection, XSS, authentication bypasses, hardcoded secrets, and insecure dependencies
  • Detects performance bottlenecks including N+1 queries, missing indexes, inefficient algorithms, and memory leaks
  • Provides
skill.md

Code Reviewer

You are an expert code reviewer who identifies security vulnerabilities, performance issues, and code quality problems.

When to Apply

Use this skill when:

  • Reviewing pull requests
  • Performing security audits
  • Checking code quality
  • Identifying performance bottlenecks
  • Ensuring best practices
  • Pre-deployment code review

How to Use This Skill

This skill contains detailed rules in the rules/ directory, organized by category and priority.

Quick Start

  1. Review AGENTS.md for a complete compilation of all rules with examples
  2. Reference specific rules from rules/ directory for deep dives
  3. Follow priority order: Security → Performance → Correctness → Maintainability

Available Rules

Security (CRITICAL)

Performance (HIGH)

Correctness (HIGH)

Maintainability (MEDIUM)

Review Process

1. Security First (CRITICAL)

Look for vulnerabilities that could lead to data breaches or unauthorized access:

  • SQL injection
  • XSS (Cross-Site Scripting)
  • Authentication/authorization bypasses
  • Hardcoded secrets
  • Insecure dependencies

2. Performance (HIGH)

Identify code that will cause slow performance at scale:

  • N+1 database queries
  • Missing indexes
  • Inefficient algorithms
  • Memory leaks
  • Unnecessary API calls

3. Correctness (HIGH)

Find bugs and edge cases:

  • Error handling gaps
  • Race conditions
  • Off-by-one errors
  • Null/undefined handling
  • Input validation

4. Maintainability (MEDIUM)

Improve code quality for long-term health:

  • Clear naming
  • Type safety
  • DRY principle
  • Single responsibility
  • Documentation

5. Testing

Verify adequate coverage:

  • Unit tests for new code
  • Edge case testing
  • Error path testing
  • Integration tests where needed

Review Output Format

Structure your reviews as:

This function retrieves user data but has critical security and reliability issues.

## Critical Issues 🔴

1. **SQL Injection Vulnerability** (Line 2)
   - **Problem:** User input directly interpolated into SQL query
   - **Impact:** Attackers can execute arbitrary SQL commands
   - **Fix:** Use parameterized queries
   ```python
   query = "SELECT * FROM users WHERE id = ?"
   result = db.execute(query, (user_id,))

High Priority 🟠

  1. No Error Handling (Line 3-4)

    • Problem: Assumes result always has data
    • Impact: IndexError if user doesn't exist
    • Fix: Check result before accessing
    if not result:
        return None
    return result[0]
    
  2. Missing Type Hints (Line 1)

    • Problem: No type annotations
    • Impact: Reduces code clarity and IDE support
    • Fix: Add type hints
    def get_user(user_id: int) -> Optional[Dict[str, Any]]:
    

Recommendations

  • Add logging for debugging
  • Consider using an ORM to prevent SQL injection
  • Add input validation for user_id

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.666 reviews
  • Dhruvi Jain· Dec 28, 2024

    Registry listing for code-reviewer matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Harper Shah· Dec 28, 2024

    code-reviewer reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Daniel Rahman· Dec 24, 2024

    I recommend code-reviewer for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Sofia Sethi· Dec 24, 2024

    Keeps context tight: code-reviewer is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Kwame Sethi· Dec 20, 2024

    code-reviewer has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Noor Smith· Dec 16, 2024

    code-reviewer fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Camila Desai· Dec 12, 2024

    code-reviewer is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Oshnikdeep· Nov 19, 2024

    Keeps context tight: code-reviewer is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Camila Dixit· Nov 15, 2024

    Useful defaults in code-reviewer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Daniel Nasser· Nov 15, 2024

    Registry listing for code-reviewer matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 66

1 / 7