Stack Server Actions

Next.js 16 Server Actions patterns for the Persimmon stack. Use when writing form mutations, "use server" functions, revalidating cached data, building progressive-enhancement forms, implementing optimistic UI with useOptimistic, or handling action errors. Covers input validation with Zod, typed result shapes, revalidatePath/revalidateTag, redirects, and the `dynamic = "force-dynamic"` rule for pages that read the DB or auth at request time.

Persimmon-Automation-Labs Updated

File contents

Persimmon-Automation-Labs/persimmon-claude-skills/tree/main/skills/stack-server-actions commit 196fd7aaac

Frequently asked questions

npx skillmds@latest add persimmon-automation-labs/stack-server-actions