Backend API
When to use this skill
- When creating or modifying API route files (e.g.,
app/api/*/route.ts,pages/api/*.ts,routes/*.ts,controllers/*.ts) - When designing new API endpoints or refactoring existing endpoint structures
- When implementing HTTP request handlers (GET, POST, PUT, PATCH, DELETE)
- When setting up RESTful resource-based URL patterns
- When adding versioning to your API (URL path or header-based)
- When implementing query parameters for filtering, sorting, pagination, or search
- When defining HTTP status codes for API responses
- When adding rate limiting headers or functionality to API endpoints
- When reviewing API architecture for consistency with REST principles
- When working with nested resource endpoints
- When structuring API error responses and success responses
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend API.
Instructions
For details, refer to the information provided in this file: backend API