new-api

Community

Auto-generate Next.js API routes with validation.

Authormartinacostadev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Create Next.js API routes quickly with built-in validation to reduce boilerplate and enforce consistent patterns.

Core Features & Use Cases

  • Scaffold route.ts for RESTful endpoints (collection) or a single-item resource.
  • Optional schema.ts using Zod for request validation and type-safe inputs.
  • Centralized, typed error handling and predictable responses.

Quick Start

Provide the API path and desired operation to generate a ready-to-use Next.js API route with validation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: new-api
Download link: https://github.com/martinacostadev/claude-react-agents/archive/main.zip#new-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.