api-endpoints
Comprehensive guidance for building and changing HTTP API endpoints in the Mossback platform. Covers routes, handlers, controllers, request validation, response shapes, serializers, status codes, erro
SKILL.mdskills/agent-skills-creator/evals/fixtures/crowded-skill-listing/base/.agents/skills/api-endpoints/SKILL.md
GitHubAPI Endpoints
Rules
- Routes live in
src/api/routes/<resource>.tsand are registered insrc/api/index.ts. - Schemas come from
packages/contracts. Do not define one inline. - Errors go through
problem()insrc/api/problem.ts. - Run
pnpm openapi:writeafter any route change and commitopenapi.json.