home/categories/full-stack/kensledev-claude-skills-nextjs-nextjs-client-cookie-pattern-skill-md
full-stackdevelopment

nextjs-client-cookie-pattern

Client component onClick/form → Server Action → set cookie. 'use client' calls 'use server' action using cookies() from next/headers.

kensleDev
maintainer
kensleDev
Updated 1/16/2026
Stars
0
Forks
0
quick start

Installation and usage

Client component onClick/form → Server Action → set cookie. 'use client' calls 'use server' action using cookies() from next/headers.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use nextjs-client-cookie-pattern