api-route-creator
Installation
SKILL.md
API Route Creation Skill
When to Use
Use this skill when creating:
- New API endpoints
- Route handlers
- Server actions
Security Requirements (NEVER VIOLATE)
- Always authenticate - Check session
- Always scope by tenant - Use session.user.tenantId
- Always validate input - Use Zod schemas
- Never trust user input - Especially tenant_id
- Log sensitive ops - Audit trail