backend-api

SpacePlushy's avatarfrom SpacePlushy

Design and implement RESTful API endpoints with proper HTTP methods, status codes, and consistent naming conventions. Use this skill when creating or modifying API routes, endpoints, or server-side request handlers. When working on files in src/pages/api/, files containing API route definitions, files implementing REST endpoints, files handling HTTP requests and responses, server middleware for API requests, API authentication and authorization logic, and files defining API versioning strategies. When designing URL structures for resources, implementing query parameter handling for filtering/sorting/pagination, setting up rate limiting for API endpoints, or configuring CORS and API security headers.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 22, 2025

When & Why to Use This Skill

This Claude skill streamlines backend development by automating the design and implementation of RESTful API endpoints. It ensures adherence to industry standards for HTTP methods, status codes, and naming conventions, while handling complex tasks like middleware integration, authentication, and pagination logic to build scalable and secure server-side architectures.

Use Cases

  • Developing new RESTful endpoints with standardized HTTP methods (GET, POST, PUT, DELETE) and precise status code handling.
  • Implementing advanced API features such as server-side filtering, sorting, and pagination via query parameter management.
  • Configuring essential API security and infrastructure, including CORS policies, rate limiting, and authentication/authorization middleware.
  • Managing API evolution through robust versioning strategies and maintaining consistent resource-based URL structures for better developer experience.
nameBackend API
descriptionDesign and implement RESTful API endpoints with proper HTTP methods, status codes, and consistent naming conventions. Use this skill when creating or modifying API routes, endpoints, or server-side request handlers. When working on files in src/pages/api/, files containing API route definitions, files implementing REST endpoints, files handling HTTP requests and responses, server middleware for API requests, API authentication and authorization logic, and files defining API versioning strategies. When designing URL structures for resources, implementing query parameter handling for filtering/sorting/pagination, setting up rate limiting for API endpoints, or configuring CORS and API security headers.

Backend API

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.

When to use this skill

  • When creating or editing API route files (e.g., src/pages/api/*.ts, src/pages/api/*.js)
  • When implementing RESTful endpoints with GET, POST, PUT, PATCH, DELETE methods
  • When designing resource-based URL structures and route hierarchies
  • When handling query parameters for filtering, sorting, pagination, or search functionality
  • When defining API response formats and HTTP status codes
  • When implementing API versioning strategies (URL path or header-based)
  • When setting up rate limiting, throttling, or API quota management
  • When configuring API security headers, CORS policies, or authentication middleware
  • When writing server-side request handlers or middleware functions
  • When working on API documentation or OpenAPI/Swagger specifications

Instructions

For details, refer to the information provided in this file: backend API