nextjs-code-review

nextjs-code-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 59 tokens per session (1,432 once invoked), scanned A, original, MIT.

A review checklist for changes in Next.js App Router applications, covering structure, server-side actions, data fetching, security, and tests.

In plain words
What is it for?
Use it to review a pull request, feature, route, or server action in a Next.js project.
Why use it?
It helps catch unsafe or unsuitable changes before they are merged, without applying upgrades that were not requested.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to review a pull request, feature, route, or server action in a Next.js project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/nextjs-code-review
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.

Any agent
npx skills add beel-collab/presets.dev --skill nextjs-code-review
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nextjs-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/nextjs-code-review/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/nextjs-code-review)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/nextjs-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/nextjs-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nextjs-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/nextjs-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/nextjs-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,432 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00059 $0.01432
Opus 5.5 $0.00024 $0.00573
Sonnet 5.5 $0.00012 $0.00286
Haiku 4.5 $0.00006 $0.00143

Measured 17d ago against content hash 5b38cdbba97f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nextjs-code-review 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 17d 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.

antigravity/nextjs/nextjs-code-review/SKILL.md · 91 lines

How it starts

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

Next.js Code Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/nextjs-code-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

Next.js Code Review

Shared skill nextjs-code-review for Next.js. Codex and Antigravity CLI both read .agents/skills/nextjs-code-review/SKILL.md. Install this one file. Codex calls it with $nextjs-code-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a Next.js change: a pull request, a feature, or a request to "review the app", "check this route", or "look at the server actions". Cover structure, data, auth, and tests. Caching is one part of the review, not the whole job.

When to leave it

Stop for a CSS-only tweak, a repository that does not depend on next, or a request that names a different framework. Say what you found and wait. Do not upgrade next across a major version unless the request asked.

Steps

  1. Read the installed next version and the config. On 16.x, 16.4.5 is the security floor and 16.4.6 is the patch this review was written against. On 15.5, the floor is 15.5.29. A version below the floor is a high finding. A version above 16.4.6 is above-reviewed. An unreadable version is unparsed. Keep going so application bugs are still listed.
  2. Map the change. Note App Router versus Pages Router, and which files are Server Components, client components, actions, and route handlers. A "use client" file that only displays server data is a finding. A client file that imports server-only modules is a finding.
  3. Review each write. The session check happens first. The user id and tenant id come from the session. The other fields are validated, with a length cap on free text. A client-supplied role or tenant that is stored is a high finding.
  4. Review data loading. Independent reads should not be forced into a waterfall. For 'use cache', the key (arguments and captured values) is the isolation boundary. A tenant's rows stored under a key that omits the tenant is a high finding. A shared cacheTag on a key that already includes the tenant is not a finding. cookies(), headers(), or searchParams inside that cache are a high finding. The same function also passed through unstable_cache is a high finding. Binary arguments used as a user id are a high finding. Cache Components that are off mean you skip this step and say so.
  5. Review failures. Missing records use the not-found path. Unexpected failures are caught by a segment error boundary. Action results that the UI already understands stay small. Internal errors are not sent to the browser.
  6. Review the security edges that show up in the diff: Edge cookie writes, images.dangerouslyAllowSVG, and a fetched Response returned unchanged from a self-hosted route.
  7. Look at tests. A behavior change without a signed-out case, a bad payload, or a tenant-scoped read is a finding when the repo has a test runner. Run that runner only if the user asked you to change code or to execute checks. Record the command and the output. If you did not run it, write not run.

Read the full file on GitHub · 91 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. 17d ago First seen · 91 lines · 59 tokens per session scan A 5b38cdbba97f

Subscribe to this mod's changes

nextjs-code-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 6d ago), licensed MIT. It adds 59 tokens to every session and 1,432 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

nextjs-code-review compared with skills from other repositories

nextjs-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nextjs-code-reviewbeel-collab/presets.devSkill36d agoMITA59Claude Code, Codex
nextjs-patternsmartineserios/thebranaSkill38d agoMITA28Claude Code
self-reviewsammcj/agentic-codingSkill1743d agoApache-2.0A24Claude Code
typescript-developmentsammcj/agentic-codingSkill1743d agoApache-2.0A17Claude Code, Codex
next-application-structuresoulcodex/agenticSkill1010d agoMITA64Claude Code, Codex
fe-buildsh5623/fe-railSkill13d agoMITA57Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex