Api Error Taxonomy
Define consistent API error codes and responses
install path
~/.claude/skills/api-error-taxonomy/SKILL.md command
/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
- List common error categories and HTTP mappings.
- Define error payload shape and fields.
- 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.
Copy this into ~/.claude/skills/api-error-taxonomy/SKILL.md to use it as a slash command in Claude Code.