Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

api-builder

النجوم٣
التفرعات٠
آخر تحديث١٤ مايو ٢٠٢٦ في ١٣:١٥

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`.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly