new-api-route
CommunityBootstrap robust API routes fast.
AuthorAppleLamps
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill scaffolds Next.js App Router API routes with standard patterns, ensuring consistent structure and safe handling of requests.
Core Features & Use Cases
- Route scaffolding: Creates src/app/api/<path>/route.ts with templated GET and POST handlers.
- Best practices: Force-dynamic export, parameterized queries, and robust error handling pattern.
- Admin patterns: Clear guidance for admin routes and documentation.
Quick Start
Create route at src/app/api/<path>/route.ts using the provided template. Ensure dynamic routing is consistent with existing app.
Dependency Matrix
Required Modules
None requiredComponents
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-route Download link: https://github.com/AppleLamps/nick-shirley/archive/main.zip#new-api-route Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.