backend-api
Installation
SKILL.md
Backend API
Workflow
- Identify the framework, routing conventions, validation layer, error model, and tests.
- Route to
rest-api,graphql-api, orauth-access-controlwhen applicable. - Trace the request path from route to service to persistence and response.
- Validate external input at the boundary and normalize before business logic.
- Preserve API contracts unless the user requested a breaking change.
API Behavior
- Return consistent status codes, error shapes, pagination, sorting, and filtering.
- Enforce authorization near resource access, not only in UI code.
- Avoid leaking stack traces, secrets, or database details.
- Use transactions when multiple writes must succeed or fail together.