·error-responses
</>

error-responses

yanko-belov/code-craft

Use when returning errors from APIs. Use when exposing internal errors. Use when error responses lack structure.

14Installs·0Trend·@yanko-belov

Installation

$npx skills add https://github.com/yanko-belov/code-craft --skill error-responses

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.

View raw

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
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