cpa03

api-endpoint-create

Standard procedure for creating robust API endpoints

cpa03 0 Updated 8mo ago
GitHub

Install

npx skillscat add cpa03/blueprintify/opencode-skill-api-endpoint-create

Install via the SkillsCat registry.

SKILL.md

Procedure

  1. Define the Request/Response schema (Zod/OpenAPI).
  2. Create the route handler/controller.
  3. Implement business logic in a service layer.
  4. Add authentication/authorization middleware.
  5. Write an integration test for the endpoint.

Categories