Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Write Next.js Server Actions v1.0.0

Use this resource to write the mutations and forms of a Next.js application

New

  • 340 downloads
  • 152 likes
  • 118 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install nextjs-server-actions-forms-2

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent defines Server Actions with the 'use server' directive, calls them from forms, adds Zod validation, shows the submission state, then revalidates pages with revalidatePath. You get forms that write data without a separate API route.

Mostly picked by

Updated November 2, 2026

Card for the “Write Next.js Server Actions” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: defining and calling Server Actions
  • references/form-handling.md: forms, validation and useFormStatus
  • references/revalidation.md and examples/mutation-patterns.md: revalidation and mutation patterns

Good fit for

  • You are adding a contact or sign-up form to Next.js
  • A change must refresh a list on screen

Not for

    Tags

    • server actions
    • forms
    • revalidation

    About

    You say

    “Add a product review form with Zod validation and revalidate the product page.”

    Card for the “Write Next.js Server Actions” skill

    Skill published by davepoon under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write the mutations and forms of a Next.js application
    3. Review and adjust the result

    Content preview

    Files

    • examples/mutation-patterns.md13.2 KB
    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/form-handling.md12.3 KB
    • references/revalidation.md9.4 KB
    • SKILL.md7.8 KB

    Origin and licence

    Listed unmodified

    Author
    davepoon
    Source
    github.com/davepoon/buildwithclaude/tree/75c22add059d710b269153142600ec8ef21c2092/plugins/nextjs-expert/skills/server-actions
    Licence
    MIT

    Notice

    « server-actions » (davepoon, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.