error-responses
✓API からエラーを返す場合に使用します。内部エラーを公開する場合に使用します。エラー応答に構造が欠けている場合に使用します。
SKILL.md
Never expose internal errors. Return structured, safe error responses.
Raw error messages leak implementation details, aid attackers, and confuse users. Errors should be safe, consistent, and actionable.
| 400 | Bad request, validation errors | | 401 | Not authenticated | | 403 | Authenticated but not authorized | | 404 | Resource not found | | 409 | Conflict (duplicate, state issue) | | 422 | Unprocessable entity | | 429 | Rate limited | | 500 | Server error (hide details!) | | 502 | Upstream service failed | | 503 | Service unavailable |
API からエラーを返す場合に使用します。内部エラーを公開する場合に使用します。エラー応答に構造が欠けている場合に使用します。 ソース: yanko-belov/code-craft。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/yanko-belov/code-craft --skill error-responses- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
error-responses とは?
API からエラーを返す場合に使用します。内部エラーを公開する場合に使用します。エラー応答に構造が欠けている場合に使用します。 ソース: yanko-belov/code-craft。
error-responses のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/yanko-belov/code-craft --skill error-responses インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/yanko-belov/code-craft
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01