API Endpoint Contract

The contract every new or modified API endpoint must follow so it is correct for the public OpenAPI spec, the MCP server (npm @trycompai/mcp-server), the ValidationPipe, and the docs. Triggers on "new endpoint", "add API", "new DTO", "@Body", "@RequirePermission", "MCP tool", "edit controller in apps/api", "OpenAPI", or whenever editing controllers under apps/api/src/.

trycompai 811051d 10.8 KB Updated

File contents

trycompai/comp/tree/main/.claude/skills/api-endpoint-contract commit 811051d57b

Frequently asked questions

npx skillmds@latest add trycompai/api-endpoint-contract