api-endpoint-create
Standard procedure for creating robust API endpoints
📖 中文导读:Standard procedure for creating robust API endpoints 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: api-endpoint-create description: Standard procedure for creating robust API endpoints
Procedure
- Define the Request/Response schema (Zod/OpenAPI).
- Create the route handler/controller.
- Implement business logic in a service layer.
- Add authentication/authorization middleware.
- Write an integration test for the endpoint.