API Design
Installation
SKILL.md
API Design & Integration Skill
Comprehensive guide for designing and implementing robust, scalable APIs in Next.js applications. From RESTful endpoint design to request validation, error handling, authentication, and rate limiting, this skill covers all aspects of production-ready API development.
Build APIs that are intuitive to use, well-documented, and follow industry best practices. Implement proper HTTP semantics, consistent error responses, and type-safe request/response handling.
Core Workflows
Workflow 1: RESTful Route Handlers
Purpose: Create well-organized API routes following REST conventions
Steps:
- Plan resource-based URL structure
- Create route handlers for each HTTP method
- Implement request validation
- Add proper error handling
- Return consistent response format