← Back to list

api-design
by Zate
⭐ 4🍴 0📅 Jan 24, 2026
SKILL.md
name: api-design description: This skill should be used for REST API, GraphQL, versioning, pagination, authentication, backend routes, web services, HTTP endpoints, server API design whenToUse: API design, endpoints, REST patterns, backend development, web services, HTTP routes, server-side endpoints, Express routes, FastAPI endpoints whenNotToUse: Internal interfaces, non-HTTP APIs, frontend-only code seeAlso:
- skill: security-checklist when: securing API endpoints
- skill: architecture-patterns when: designing API layer architecture
- skill: database-patterns when: API data modeling
API Design
REST API design best practices.
URL Structure
GET /users # List
GET /users/:id # Get one
POST /users # Create
PUT /users/:id # Replace
PATCH /users/:id # Update
DELETE /users/:id # Delete
Versioning
/api/v1/users # URL versioning
Accept: application/vnd.api.v1+json # Header
Pagination
{
"data": [...],
"pagination": {
"page": 1,
"per_page": 20,
"total": 100,
"total_pages": 5
}
}
Error Responses
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid email format",
"details": [{"field": "email", "issue": "invalid format"}]
}
}
Status Codes
| Code | Use |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad request |
| 401 | Unauthorized |
| 404 | Not found |
| 500 | Server error |
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon