Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

nextjs-16-server-action-requirements

Sterne1
Forks0
Aktualisiert27. Januar 2026 um 08:46

Fix Next.js 16 build errors in "use server" files. Use when: (1) Build error "A 'use server' file can only export async functions, found object", (2) Need to export constants/enums from server action files, (3) Want to use next/headers without forcing entire module into dynamic rendering, (4) Server action helpers like error() or validateInput() fail type checking. Covers Next.js 16 strict requirements for server action files and dynamic import patterns.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly