Agent Skills: nextjs-server-client-components

Guide for choosing between Server Components and Client Components in Next.js App Router. CRITICAL for useSearchParams (requires Suspense + 'use client'), navigation (Link, redirect, useRouter), cookies/headers access, and 'use client' directive. Activates when prompt mentions useSearchParams, Suspense, navigation, routing, Link component, redirect, pathname, searchParams, cookies, headers, async components, or 'use client'. Essential for avoiding mixing server/client APIs.

ID: wsimmonds/claude-nextjs-skills/nextjs-server-client-components

Install this agent skill to your local

npx skills add wsimmonds/claude-nextjs-skills --skill nextjs-server-client-components

Skill Files

The files that make up nextjs-server-client-components.

Download Skill

More agent skills