nextjs-react-expert

Installation
SKILL.md

Next.js 15+ App Router — Dense Reference


Mandatory Pre-Flight Context Inspection

Before engineering Next.js 15+ App Router code, you MUST inspect:

  1. Next.js 15 Async Dynamic APIs → cookies(), headers(), and route params / searchParams are now async Promises (await params)
  2. Server Components by Default → Keep data fetching on the server; add "use client" only for user interactions or hooks
  3. Server Action Validation & Taint → Always declare "use server", validate inputs with Zod (schema.safeParse), and use experimental_taintUniqueValue for secrets
  4. Caching Semantics → fetch() is UNCACHED by default in Next.js 15; explicitly specify { cache: 'force-cache' } or revalidateTag() when static caching is intended

Activation Boundaries

  • Activate when: Building Next.js 15 App Router applications, Server Actions, route handlers, middleware, and configuring Partial Prerendering (PPR).
  • DO NOT activate when: Building pure client-only Vite/SPA applications or Express/Fastify standalone backend servers.

2026 Next.js 15 Architecture & Performance Invariants

Installs
3
GitHub Stars
7
First Seen
Apr 26, 2026