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.
npx skills add beel-collab/presets.dev --skill nextjs-code-reviewgit clone --depth 1 https://github.com/beel-collab/presets.devWrote 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.
[](https://agentmods.dev/skills/beel-collab/presets.dev/nextjs-code-review)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Read the installed
nextversion 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 isabove-reviewed. An unreadable version isunparsed. Keep going so application bugs are still listed. - 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. - 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.
- 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 sharedcacheTagon a key that already includes the tenant is not a finding.cookies(),headers(), orsearchParamsinside that cache are a high finding. The same function also passed throughunstable_cacheis 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. - 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.
- Review the security edges that show up in the diff: Edge cookie writes,
images.dangerouslyAllowSVG, and a fetchedResponsereturned unchanged from a self-hosted route. - 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.
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.
- 17d ago First seen · 91 lines · 59 tokens per session scan A 5b38cdbba97f
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.
nextjs-code-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextjs-code-reviewbeel-collab/presets.dev | Skill | 3 | 6d ago | MIT | A | 59 | Claude Code, Codex |
| nextjs-patternsmartineserios/thebrana | Skill | 3 | 8d ago | MIT | A | 28 | Claude Code |
| self-reviewsammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 24 | Claude Code |
| typescript-developmentsammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 17 | Claude Code, Codex |
| next-application-structuresoulcodex/agentic | Skill | 10 | 10d ago | MIT | A | 64 | Claude Code, Codex |
| fe-buildsh5623/fe-rail | Skill | 1 | 3d ago | MIT | A | 57 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |