Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    stack code reviewer

    1

    Stack-aware code reviewer for React, FastAPI, Node, Go, and Rust that identifies security flaws and anti-patterns.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    stack code reviewer

    stack code reviewer

    Example session with this skill installed

    Review this FastAPI endpoint for performance and security issues: @app.get('/users/{id}') async def get_user(id: int): user = db.execute(f'SELECT * FROM users WHERE id = {id}').first() return user

    • Read your context and instructions
    • Compiled the stack code reviewer

    I have reviewed the FastAPI endpoint. The primary issues involve synchronous database execution inside an async route and a critical SQL injection vulnerability.

    Code Review: FastAPI User Endpoint

    Verdict: Request Changes
    Health Score: 35/100
    Key Takeaways: Critical SQL injection vulnerability and event-loop blocking detected.

    Prioritized Findings

    Critical: SQL Injection
    • Location: db.execute(f'SELECT * FROM users WHERE id = {id}')

    Rationale: Using f-strings to build queries allows attackers to bypass logic via the id parameter. Always use parameterized queries.

    • Recommendation:
    
    # Before
    db.execute(f'SELECT * FROM users WHERE id = {id}')
    
    # Recommended
    db.execute('SELECT * FROM users WHERE id = :id', {'id': id})
    
    Warning: Blocking Async Loop
    • Location: db.execute(...) inside async def

    Rationale: Calling a synchronous SQLAlchemy execute inside an async def route blocks the entire FastAPI event loop, preventing other requests from processing.
    *

    Recommendation: Use an awaitable database driver or define the route with def so FastAPI runs it in a thread pool.

    Refactored Implementation

    from fastapi import HTTPException, Depends
    from sqlalchemy.ext.asyncio import AsyncSession
    
    @app.get('/users/{id}', response_model=UserRead)
    async def get_user(id: int, db: AsyncSession = Depends(get_db)):
        # Use parameterized query and async execution
        result = await db.execute(
            select(User).where(User.id == id)
        )
        user = result.scalars().first()
        
        if not user:
            raise HTTPException(status_code=404, detail="User not found")
        return user
    

    Next steps

    1. Replace the synchronous database driver with asyncpg or equivalent.
    2. Implement Pydantic response_model to prevent internal schema leakage.
    3. Add a 404 error handler for missing records.

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

    About this skill

    Code reviews often miss stack-specific nuances, resulting in performance bottlenecks or security holes that linters can't catch. This skill provides deep-context audits for modern frameworks including React, Next.js, FastAPI, Node.js, Go, Rust, and PostgreSQL.

    What it does

    • Stack-specific heuristics detects anti-patterns unique to your framework like React hook stability or FastAPI async blocking.
    • Security auditing identifies vulnerabilities such as SQL injection, prototype pollution, and server secret leaks.
    • Performance optimization flags N+1 queries, sequential await waterfalls, and unnecessary memory allocations.
    • Actionable refactoring generates before-and-after code diffs and complete drop-in replacement snippets.
    • Adaptive rigor shifts between Pragmatic, Security-focused, or Strict Purist review modes based on your requirements.

    How it works

    1. Detect context by analyzing the language, framework, and runtime from your provided code or diff.
    2. Apply reference rules by checking against specialized guides for React, Python, SQL, Node, Go, or Rust.
    3. Prioritize findings into Critical, Warning, and Suggestion categories with stack-specific rationales.
    4. Deliver verdict including a health score and a refactored implementation that fixes identified issues.

    Frameworks & tools

    Supports React 18/19, Next.js App Router, Python (FastAPI/Pydantic/SQLAlchemy), Node.js (Express), Go, Rust, and PostgreSQL. Includes integrations for Cursor (.cursorrules) and Claude Code (CLAUDE.md).

    Why this beats prompting it yourself

    Generic LLM prompts often provide shallow feedback or "hallucinate" linting errors. This skill uses a curated reference library to enforce specific, high-stakes rules like event-loop safety and transaction lock avoidance that standard prompts ignore.

    Use cases

    • Auditing a Pull Request for framework anti-patterns before merging to production.
    • Refactoring a legacy SQL query to eliminate N+1 issues and improve indexing.
    • Hardening a FastAPI endpoint against async blocking calls and validation errors.
    • Optimizing React components to fix unstable hooks and unnecessary re-renders.

    Known limitations

    Does not focus on stylistic nitpicking or formatting handled by standard linters. Requires valid code snippets or diffs to accurately identify the tech stack.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Avoids cosmetic linting (Prettier/Ruff). Best results require identifying the specific framework in the prompt or code. Primary focus is on React, Next.js, Python, Node, Go, Rust, and SQL.

    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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Accounts
    Exchangerate

    Permissions

    Network Access
    Read Files
    Environment Variables

    Allowed Hosts

    api.exchangerate.host
    Listedtoday

    What's inside

    Frequently Asked Questions

    Unlike generic AI prompts, this skill uses specialized heuristics for frameworks like React 19 and FastAPI to identify deep-context issues like async event-loop blocking and hook instability that standard LLMs often miss.

    This skill is optimized for Cursor and Claude Code, providing ready-to-use `.cursorrules` and `CLAUDE.md` configurations to ensure the agent maintains context throughout your development session.

    The skill covers modern full-stack development, including React (Next.js App Router), Python (FastAPI/SQLAlchemy), Node.js, Go, Rust, and PostgreSQL.

    Yes, you can toggle between 'Pragmatic', 'Security-focused', or 'Strict Purist' modes to match your project’s current needs, whether you are prototyping or hardening a production system.

    You will receive the core logic for the Stack Code Reviewer, integration templates for Cursor and Claude Code, and a curated library of stack-specific reference rules.

    No, this skill is designed to complement tools like Prettier or ESLint by focusing on high-level logic, security vulnerabilities, and performance bottlenecks rather than stylistic formatting.

    New in Frontend & Web Apps