api-design
✓当用户要求“创建 API 端点”、“构建 REST API”、“添加控制器”、“设计 API”、“实现 CRUD 操作”、“添加验证”、“处理 API 错误”或任何后端 API 开发工作时,请使用此技能。提供 REST API 设计模式、响应格式、验证和最佳实践。
SKILL.md
| Success | {success: true, data, meta, timestamp} | | Error | {success: false, error: {message, code, statusCode}, timestamp} | | Paginated | {success: true, data: [], meta: {pagination: {...}}} |
| 200 | Successful GET, PUT | | 201 | Successful POST (created) | | 204 | Successful DELETE | | 400 | Validation error, malformed request | | 401 | Missing/invalid authentication | | 403 | Authenticated but not authorized | | 404 | Resource not found | | 422 | Business logic error | | 429 | Rate limit exceeded | | 500 | Server error |
| List | GET | /resources | | Get one | GET | /resources/:id | | Create | POST | /resources | | Update | PUT | /resources/:id | | Delete | DELETE | /resources/:id | | Action | POST | /resources/:id/action |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/trantuananh-17/product-reviews --skill api-design- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 api-design?
当用户要求“创建 API 端点”、“构建 REST API”、“添加控制器”、“设计 API”、“实现 CRUD 操作”、“添加验证”、“处理 API 错误”或任何后端 API 开发工作时,请使用此技能。提供 REST API 设计模式、响应格式、验证和最佳实践。 来源:trantuananh-17/product-reviews。
如何安装 api-design?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/trantuananh-17/product-reviews --skill api-design 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/trantuananh-17/product-reviews
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-05