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