error-responses
✓Use when returning errors from APIs. Use when exposing internal errors. Use when error responses lack structure.
Installation
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 |
Use when returning errors from APIs. Use when exposing internal errors. Use when error responses lack structure. Source: yanko-belov/code-craft.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/yanko-belov/code-craft --skill error-responses- Source
- yanko-belov/code-craft
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is error-responses?
Use when returning errors from APIs. Use when exposing internal errors. Use when error responses lack structure. Source: yanko-belov/code-craft.
How do I install error-responses?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yanko-belov/code-craft --skill error-responses Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/yanko-belov/code-craft
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01