ai-error-states
Installation
SKILL.md
AI Error States
Handling AI-specific errors
What it solves
A AI Error States pattern helps teams create a reliable way to explain why an AI response failed and offer a recovery path that matches the real failure mode. It is most useful when teams need rate limit and provider errors. Compared with adjacent patterns, this pattern should reduce friction without hiding the state, rules, or recovery paths people need to keep moving.
When to use
- Rate limit and provider errors
- Safety or policy blocks
- Network and timeout failures during generation