backend-api

设计和实现遵循现代标准的RESTful API、GraphQL端点和后端API架构。在创建或修改API端点、路由处理器、控制器、API中间件、身份验证/授权逻辑或任何定义HTTP端点的文件(如routes.py、api.js、controllers/、endpoints/或API规范文件(OpenAPI/Swagger))时使用此技能。在实现API版本控制、速率限制、请求/响应处理、API文档或处理API网关配置时应用此技能。此技能对于构建可扩展、安全且文档完善、遵循RESTful原则、优雅处理错误并提供跨微服务和无服务器架构一致开发体验的API至关重要。

📖 中文导读:设计和实现遵循现代标准的RESTful API、GraphQL端点和后端API架构。在创建或修改API端点、路由处理器、控制器、API中间件、身份验证/授权逻辑或任何定义HTTP端点的文件(如routes.py、api.js、controllers/、endpoints/或API规范文件(OpenAPI/Swagger))时使用此技能。在实现API版本控制、速率限制、请求/响应处理、API文档或处理API网关配置时应用此技能。此技能对于构建可扩展、安全且文档完善、遵循RESTful原则、优雅处理错误并提供跨微服务和无服务器架构一致开发体验的API至关重要。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: Backend API description: Design and implement RESTful APIs, GraphQL endpoints, and backend API architecture following modern standards. Use this skill when creating or modifying API endpoints, route handlers, controllers, API middleware, authentication/authorization logic, or any files that define HTTP endpoints such as routes.py, api.js, controllers/, endpoints/, or API specification files (OpenAPI/Swagger). Apply this skill when implementing API versioning, rate limiting, request/response handling, API documentation, or when working with API gateway configurations. This skill is essential for building scalable, secure, and well-documented APIs that follow RESTful principles, handle errors gracefully, and provide consistent developer experiences across microservices and serverless architectures.

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 modifying REST API endpoints, routes, or controllers
  • When implementing GraphQL schemas, resolvers, or queries
  • When working on API middleware, authentication, or authorization logic
  • When designing API request/response structures and data serialization
  • When implementing API versioning strategies (URL path or header-based)
  • When adding rate limiting, throttling, or API security features
  • When writing API documentation (OpenAPI/Swagger specifications)
  • When working with files like routes.py, api.js, controllers/, endpoints/, or API gateway configs
  • When implementing error handling and consistent HTTP status codes for APIs
  • When building microservices communication patterns or serverless API functions
  • When adding pagination, filtering, sorting, or search capabilities to API endpoints
  • When implementing async APIs, webhooks, or event-driven API patterns

Instructions

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