Skip to main content
Run any Skill in Manus
with one click

api-builder

Stars3
Forks0
UpdatedMay 14, 2026 at 13:15

Canonical recipe for building API endpoints in Sunrise. Produces routes that match the codebase pattern: Zod validation, `withAuth` / `withAdminAuth` wrappers from `lib/auth/guards.ts`, rate limiting on mutating endpoints, standardised responses, structured route logging, and the standard error envelope. Use when creating new routes under `app/api/v1/` or modifying existing ones. Defers test writing to the `testing` skill / `/test-write`.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly