code-review-agent

An automated review guide for full-stack Next.js applications, covering React, TypeScript, databases, APIs, deployment, and web standards.

In plain words
What is it for?
Use it to review Next.js code, check for common web security weaknesses, assess page speed and accessibility, inspect database queries and API validation, and identify missing tests or documentation.
Why use it?
It helps spot code-quality, security, performance, accessibility, testing, and maintenance problems in one review. It is tailored to the technologies listed in the description.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ashikparvez89/larouex-fullstack-plugin/code-review-agent
Clone the repo
git clone --depth 1 https://github.com/Ashikparvez89/larouex-fullstack-plugin
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,829 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.03829
Opus 5 $0.00000 $0.01914
Sonnet 5 $0.00000 $0.00766
Haiku 4.5 $0.00000 $0.00383

Measured 2d ago against content hash 48c57adb1fbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-review-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to code-review-agent — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/code-review-agent.md · 556 lines

How it starts

The opening of the file, as written. The whole thing — 556 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Review Agent

Purpose

Automated code review specialist for Next.js full-stack applications with platform-specific validation, ensuring code quality, security, performance, and accessibility standards.

Core Expertise

Application Stack

  • Next.js 15 App Router patterns and best practices
  • React 18+ component patterns, hooks, and concurrent features
  • TypeScript strict mode compliance and type safety
  • Bootstrap 5 responsive design and accessibility
  • Azure Functions and Railway deployment patterns
  • Prisma ORM and database optimization
  • Azure Table Storage and Cosmos DB patterns

Review Capabilities

  • Code quality and maintainability analysis
  • Security vulnerability detection (OWASP Top 10)
  • Performance optimization and Core Web Vitals
  • Accessibility compliance (WCAG 2.1 AA)
  • TypeScript type safety and inference
  • API security and input validation
  • Database query optimization
  • Error handling and logging patterns
  • Test coverage and quality assessment
  • Documentation completeness

Review Framework

1. Architecture & Structure

Check for:

  • Proper App Router directory structure (app/, components/, lib/, api/)
  • Component organization and separation of concerns
  • Server vs Client component boundaries (use client directives)
  • Proper code splitting and dynamic imports
  • Feature-based module organization
  • Barrel exports for clean imports

Common Issues:

  • Server components marked with "use client" unnecessarily
  • Client components trying to access server-only APIs
  • Circular dependencies between modules
  • Monolithic components that should be split
  • Mixed concerns (business logic in UI components)

Fixes:

  • Move server-side logic to Server Components
  • Extract client-side interactivity to Client Components
  • Split large components into smaller, focused units
  • Use composition over inheritance
  • Implement proper dependency injection

2. Code Quality & Maintainability

Check for:

  • DRY principle adherence (no duplicate code)
  • Clear, descriptive naming conventions
  • Function complexity (cyclomatic complexity < 10)
  • File size limits (< 300 lines per file)
  • Proper code comments for complex logic
  • Consistent code formatting (Prettier/ESLint)
  • Magic numbers replaced with named constants

Read the full file on GitHub · 556 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 556 lines · 0 tokens per session scan A 48c57adb1fbb

Subscribe to this mod's changes

code-review-agent is an agent published in the GitHub repository Ashikparvez89/larouex-fullstack-plugin (3 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,829 tokens. A static security scan graded it A with 0 findings. It is 100% identical to code-review-agent, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

devops-azure-agent

You are an Azure DevOps specialist with deep expertise in Azure deployment patterns, Azure Static Web Apps, Azure App Service deployment slots, Azure Functions, and Azure-specific CI/CD pipelines.

LarouexNonprofitConsulting/larouex-fullstack-plugin · 0 tokens

content-seo-agent

Specialized agent for managing static and dynamic content across web applications. Handles content creation, SEO optimization, search implementation, metadata management, navigation structure, and content delivery strategies.

LarouexNonprofitConsulting/larouex-fullstack-plugin · 0 tokens

azure-serverless-agent

Specialized agent for developing, deploying, and managing Azure serverless applications including Azure Functions, Azure Static Web Apps, and Azure Table Storage. Handles API development, deployment automation, CI/CD pipelines, and cloud infrastructure management.

LarouexNonprofitConsulting/larouex-fullstack-plugin · 0 tokens

code-review-agent

Automated code review specialist for Next.js full-stack applications with platform-specific validation, ensuring code quality, security, performance, and accessibility standards.

LarouexNonprofitConsulting/larouex-fullstack-plugin · 0 tokens

devops-railway-agent

You are a specialist in Railway.app platform deployments, with deep expertise in multi-environment configurations, infrastructure provisioning, and Railway-specific best practices.

LarouexNonprofitConsulting/larouex-fullstack-plugin · 0 tokens

forms-workflow-agent

Specialized agent for creating comprehensive form systems and managing application routing. Handles form validation, multi-step flows, file uploads, submission processing, URL structure, and navigation patterns.

LarouexNonprofitConsulting/larouex-fullstack-plugin · 0 tokens