nextjs-app-router-audit

作者 datagrove-nl已验证

Claude skill: audit a Next.js App Router codebase for RSC boundary bugs, request waterfalls, and Core Web Vitals risks — with a zero-dependency scanner.

0
Stars
0
Forks
JavaScript
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/datagrove-nl/nextjs-app-router-audit

快速入门

使用 nextjs-app-router-audit 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Next.js App Router Audit — Claude Skill

A Claude skill that audits a Next.js App Router codebase for the mistakes that actually cost you — React Server Component boundary errors, request waterfalls, client/server anti-patterns, and Core Web Vitals regressions — and proposes concrete fixes ranked by severity.

It ships a zero-dependency static scanner plus a manual-review methodology for the judgment calls static analysis can't make.

What it catches

RuleSeverityWhy it matters
client-route-no-metadataERRORA "use client" page silently drops metadata — your SEO tags never ship.
legacy-next-headERRORnext/head is a no-op in the App Router — its tags never reach <head>.
legacy-next-imageWARNnext/legacy/image keeps old layout-shift-prone behavior.
needless-use-clientWARN"use client" with no interactivity — JS shipped to the browser for nothing.
client-fetch-in-effectWARNFetching in useEffect adds a render round-trip; move it server-side.
raw-imgWARN<img> skips next/image — CLS & LCP regressions.
unoptimized-fontWARNNetwork web fonts are render-blocking; use next/font.
page-missing-metadataWARNAsync page ships with no title/description.
dangerous-htmlWARNdangerouslySetInnerHTML — XSS risk if unsanitized.
request-waterfallINFOSequential awaited fetches that should be Promise.all.
no-streaming-fallbackINFOAsync page with no loading.tsx / Suspense.
force-dynamicINFORoute opts out of static/ISR rendering.
large-client-componentINFOBig Client Component ships entirely to the browser.

Use the scanner standalone

No install, no dependencies — just Node 18+:

node scripts/audit.mjs /path/to/your/nextjs-project
node scripts/audit.mjs /path/to/your/nextjs-project --json   # CI-friendly, exits non-zero on errors
Next.js App Router audit — 41 files in app/

ERROR client-route-no-metadata  app/dashboard/page.tsx:1
  A Client Component page cannot export `metadata` — its SEO tags are silently dropped.
  fix: Keep page.tsx a Server Component and isolate the interactive bits into a child marked "use client".

Summary  1 error  3 warn  9 info   score 67/100

See examples/sample-report.md for full output against the bundled fixture app.

Drop it into CI to fail a PR when a route loses its metadata or leaks a secret into the client bundle.

Use it as a Claude skill

Place the folder in your skills directory (e.g. ~/.claude/skills/) or upload it to your skills hub, then ask:

"Audit this Next.js app for performance and RSC problems."

Claude runs the scanner, does the manual checklist pass in reference/checklist.md, and reports the highest-leverage fixes.

Built by Datagrove

Maintained by Datagrove — a Dutch web development agency specializing in fast, well-architected Next.js websites and custom software. We build sites that pass Core Web Vitals and rank. Need an audit or a rebuild? Talk to Datagrove.

License

MIT — use it, ship it, adapt it.

常见问题

What is nextjs-app-router-audit?

nextjs-app-router-audit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by datagrove-nl. Claude skill: audit a Next.js App Router codebase for RSC boundary bugs, request waterfalls, and Core Web Vitals risks — with a zero-dependency scanner. It has 0 GitHub stars.

Is nextjs-app-router-audit safe to use?

Yes. nextjs-app-router-audit passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install nextjs-app-router-audit?

Clone the repository with "git clone https://github.com/datagrove-nl/nextjs-app-router-audit" and add it to your Claude Code skills directory (see the Installation section above). nextjs-app-router-audit ships a SKILL.md manifest, so compatible agents can discover and load it automatically.

What programming language is nextjs-app-router-audit written in?

nextjs-app-router-audit is primarily written in JavaScript. It is open-source under datagrove-nl on GitHub, so you can review or fork the full source.

Are there alternatives to nextjs-app-router-audit?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh nextjs-app-router-audit against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情