api-designer
服务器操作模式
📖 中文导读:服务器操作模式 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: API Designer description: Server action patterns version: 1.0.0 category: api
API Design Skill
Server Action Pattern
- Validate with Zod
- Include schoolId
- Execute operation
- revalidatePath()
- Handle errors
Checklist
- Zod validation
- schoolId included
- Revalidation called
- Type-safe