Skill / SKILL.md

Nextjs Server Client Components

wsimmonds/claude-nextjs-skills

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.
1 views 116 repository starsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wsimmonds/claude-nextjs-skills' skill-source

Use the complete skill-source/nextjs-server-client-components directory with your client’s skill installer.

  • nextjs-server-client-components

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory nextjs-server-client-components

Compatibility & requirements

Declared tools

Read, Write, Edit, Glob, Grep, Bash

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
8c205d58dbada85851e295e7b1a7bfb106e1596d0ba7e0af7510b2a501245b60
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills