Agent Skills: nextjs-client-cookie-pattern

Pattern for client components calling server actions to set cookies in Next.js. Covers the two-file pattern of a client component with user interaction (onClick, form submission) that calls a server action to modify cookies. Use when building features like authentication, preferences, or session management where client-side triggers need to set/modify server-side cookies.

UncategorizedID: wsimmonds/claude-nextjs-skills/nextjs-client-cookie-pattern

Install this agent skill to your local

pnpm dlx add-skill https://github.com/wsimmonds/claude-nextjs-skills/nextjs-client-cookie-pattern

Skill Files

Browse the full folder contents for nextjs-client-cookie-pattern.

Download Skill

Loading file tree…

Select a file to preview its contents.