nextjs
Installation
SKILL.md
Next.js 16 — App Router
When to Use
Trigger on: next.js, nextjs, app router, server components, client components, use cache, proxy.ts, middleware migration, RSC, streaming, PPR, cacheComponents, route handler, server action, params, searchParams, cookies, headers, Suspense, cacheLife, cacheTag, revalidatePath, revalidateTag, next.config, turbopack, webpack.
Reference Files
| File | Description |
|---|---|
references/breaking-changes.md |
12 v15→v16 breaking changes, codemods, route segment replacements, CVE-2025-66478 |
references/best-practices.md |
Server/Client components, data fetching, caching, proxy, forms, auth, async APIs, performance |
references/errors-critical-high.md |
ERR-001 to ERR-014 — CRITICAL and HIGH severity errors with code fixes |
references/errors-medium-low.md |
ERR-015 to ERR-037 — MEDIUM and LOW severity errors, CVE summary |
references/ecosystem.md |
Prisma 7, Better Auth, Polar, @react-pdf, Anthropic SDK, Tailwind v4 compatibility |
references/patches.md |
6 postinstall patches + 3 config workarounds for Next.js 16.1.6 |
references/quick-cards.md |
11 quick reference cards (A-K): data fetching, caching, forms, proxy, env vars, DO/DON'T |