Skill / SKILL.md

Nextjs Client Cookie Pattern

wsimmonds/claude-nextjs-skills

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

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.

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-client-cookie-pattern directory with your client’s skill installer.

  • nextjs-client-cookie-pattern

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory nextjs-client-cookie-pattern

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
57b79e53b616391af79c19f273fd4d7f3402e6fc6704db84fed8dd6d16190a38
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills