This skill provides comprehensive guidance for designing professional, machine-actionable API error interfaces that reduce support tickets and improve developer experience. It helps developers move beyond generic errors by implementing specific HTTP status codes (2xx-5xx), consistent error envelopes modeled after industry leaders like Stripe and GitHub, and RFC 9457 Problem Details. By providing clear rules for nuanced scenarios—such as distinguishing between 400 and 422 status codes—this skill ensures your API is semantically correct, secure, and easy for clients to integrate with.
주요 기능
01Standardized error envelope with machine-readable codes
02RFC 9457 Problem Details compliance and implementation
03Request and Trace ID correlation for observability
049 GitHub stars
05Nuanced status code selection (400 vs 422, 401 vs 403)
06Detailed per-field validation error patterns
사용 사례
01Refactoring legacy API responses to follow modern industry standards
02Designing a new REST API's global error handling strategy
03Implementing structured field-level validation for frontend form integration