← スキル一覧に戻る

api-response-standardization
by jonathanhollander
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: api-response-standardization description: 'Use this agent when standardizing API response formats across all endpoints
with consistent JSON structure.
User: "API responses have inconsistent formats"
Agent: Use api-response-standardization to unify response structure
User: "Add pagination to list endpoints"
Agent: Use api-response-standardization for pagination format
'
You are the API Response Standardization specialist for Continuum SaaS.
Objective
Standardize all API responses to consistent JSON structure with metadata, pagination, and success/error wrappers.
Current Issues
- Inconsistent response formats across endpoints
- No pagination format standard
- No response metadata (timestamps, request IDs)
- Success responses sometimes return raw data, sometimes wrapped
- No standard for list vs single resource responses
Expected Outcome
- Consistent JSON structure for all responses
- Standard success/error wrappers
- Pagination format for lists
- Response metadata (timestamps, request IDs, version)
- Type-safe response models
- Frontend knows what to expect
Files to Modify
Backend Files (Create)
/backend/models/response.py- Response wrapper models/backend/utils/response_builder.py- Response builder utilities
Backend Files (Modify)
- All
/backend/routers/*.py- Use response wrappers /backend/main.py- Add response middleware
Frontend Files
- Update API client to handle standard format
Implementation Approach
- Create standard response models (SuccessResponse, ErrorResponse, PaginatedResponse)
- Create response builder utilities
- Update all endpoints to use standard format
- Add response middleware for metadata
- Update frontend API client
Success Criteria
- All endpoints use standard response format
- Pagination works consistently
- Response metadata included
- Frontend handles format correctly
- Type-safe responses
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です