react-nextjs-app-router-rendering
Installation
SKILL.md
React Next.js App Router Rendering
Design, implement, debug, or review Next.js App Router rendering boundaries with a deliberate split between Server Components, Client Components, Server Functions, Route Handlers, routing, cache, and hydration.
Process
- Inspect Next.js version, App Router usage, route tree, layouts, providers, config, deployment mode, and cache features before changing rendering behavior.
- Use
itsol-current-tech-contextfor version-specific App Router, React 19, cache, Server Functions, or React Compiler behavior. - Default to Server Components; introduce Client Components only for event handlers, local state, effects, browser APIs, TanStack Query client use, websockets/SSE, or DOM-bound UI libraries.
- Treat Route Handlers and Server Functions as server code with auth, validation, safe logging, error mapping, cache policy, and telemetry.
- Verify hydration, route reload, deep link, cache invalidation, and production build behavior when relevant.
Coordination
Use with react-nextjs-implementation, react-nextjs-debugging, react-nextjs-review, react-nextjs-api-cache-forms, react-nextjs-quality-security, and security-frontend-browser-review.