Skip to main content
Run any Skill in Manus
with one click

next-api-route

Stars0
Forks0
UpdatedMay 6, 2026 at 14:45

Use when the user asks to add or modify a Next.js App Router API route under `src/app/api/`. Couvre les conventions du repo: 2 familles de routes (publiques rate-limitées par IP hashée vs admin gardées par `getAdminSession()`), validation Zod avec error codes, runtime nodejs, signatures async pour `params`/`searchParams` (Next 16), `revalidatePath` après mutation, et les pièges sur les transactions + IP hashing.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly