API New — Development skill for Claude Code
Create a new Next.js API route with validation, error handling, and TypeScript.
How to install API New
Installs to ~/.claude/skills/gr8monk3ys-skills-api-new/SKILL.md
mkdir -p ~/.claude/skills/gr8monk3ys-skills-api-new && curl -fsSL https://raw.githubusercontent.com/gr8monk3ys/skills/HEAD/commands/api-new.md -o ~/.claude/skills/gr8monk3ys-skills-api-new/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What API New does
description: Create a new Next.js API route with validation, error handling, and TypeScript model: claude-opus-4-8
Create a new Next.js API route following modern best practices for solo developers.
Requirements
API Endpoint: $ARGUMENTS
Implementation Guidelines
1. **Next.js 15 App Router** (Recommended)
Use Route Handlers in `app/api/` directory with TypeScript
2. **Validation**
- Use Zod for runtime type validation
- Validate input early (before DB/API calls)
- Re
Alternatives in Development
- Ars Citation Check — ARS academic-paper citation-check mode — citation error report 4.5k ★
- Mcporter — Call MCPs via TypeScript, masquerading as simple TypeScript API 4.1k ★
- n8n Validation Expert — Fix n8n validation errors with error catalog 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Nxt API Route
Generates a Next.js App Router API route handler (route.ts) with proper TypeScript types, request validation,
API Gen
Generate REST API endpoints with routes, validation, error handling, and tests
Minimalism
Use in any coding session when writing or changing code — enforces the laziest solution that actually works (Y
Claude API Skill
Professional-grade Claude API skill framework. Comprehensive guide covering Messages API, streaming, tool use,
Sc Build
Build, compile, and package projects with intelligent error handling and optimization
Claude Skill
🔍 Enhance code searches with ast-grep, finding patterns in your code structure for improved error handling an
Related Agents
Shep Web Route Creator
Scaffolds ONE new Next.js API route under src/presentation/web/app/api/, wires it to an existing use case via
API Route Reviewer
Use this agent when you have just written or modified API route handlers, endpoint configurations, or Express.
Production API Auditor
Audits API code for production readiness — error handling, input validation, authentication, rate limiting, st