Agent skill

api-error-taxonomy

Define consistent API error codes and responses. Use when a mid-level developer needs error standardization.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/api-error-taxonomy

SKILL.md

API Error Taxonomy

Purpose

Define consistent API error codes and responses.

Inputs to request

  • Current error responses and status usage.
  • Client expectations for retries and messaging.
  • Logging and observability requirements.

Workflow

  1. List common error categories and HTTP mappings.
  2. Define error payload shape and fields.
  3. Set guidelines for logging and client messaging.

Output

  • Error taxonomy table and examples.

Quality bar

  • Ensure errors are machine-parseable.
  • Align retryable vs non-retryable semantics.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results