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

nextjs-api-route

Stars2
Forks0
UpdatedMay 19, 2026 at 14:01

Generate Next.js App Router API route files (route.ts) following the project's thin-route pattern. Use this skill whenever the user asks to add an endpoint, create a route, add an API, or implement a new HTTP handler. Triggers on phrases like "add a route for", "create an endpoint", "I need a POST/GET/PUT/DELETE for", or any request that implies a new app/api/ file. Always use this skill even for simple routes — it enforces the correct pattern.

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