LogoClawIndex
CasesSkillsAbout
LogoClawIndex

create-api-endpoint - Create Next.js 15 App Router API endpoints

Create type-safe Next.js 15 App Router API route handlers with validation, authentication, and error handling

Tags

Updated: 2026-02-13
apinextjstypescriptbackend

Capabilities

create API route handlersvalidate with Zod schemasadd authentication checkshandle error responses

Typical Inputs

Next.js 15 projectAPI endpoint pathZod validation schema

Typical Outputs

route.ts filesAPI endpointsHTTP handlers

What this skill does

  • create API route handlers
  • validate with Zod schemas
  • add authentication checks
  • handle error responses
  • implement pagination
  • apply rate limiting

Inputs

  • Next.js 15 project
  • API endpoint path
  • Zod validation schema
  • authentication configuration

Outputs

  • route.ts files
  • API endpoints
  • HTTP handlers

Requirements

  • Next.js 15 App Router
  • TypeScript
  • Zod library

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.