API Problem Details (RFC 9457)
Implements standardized, RFC-compliant error responses for HTTP APIs across multiple programming languages and frameworks.
This skill empowers Claude to standardize error handling in REST and HTTP APIs by implementing the RFC 7807 and RFC 9457 'Problem Details' specifications. It provides ready-to-use implementation patterns for popular frameworks like Spring Boot, Express, FastAPI, and Go, ensuring your APIs return machine-readable, consistent error responses with the correct 'application/problem+json' content type. By replacing ad-hoc JSON error messages with a structured format, it improves API observability, client-side error handling, and overall developer experience across the stack.
Key Features
01Automatic mapping of HTTP status codes to standardized problem types
029 GitHub stars
03RFC 7807 and RFC 9457 compliant error response generation
04Multi-language support for Java, TypeScript, Go, Python, and Swift
05Validation error aggregation using the standard 'errors' array extension
06Standardized usage of the 'application/problem+json' content type
Use Cases
01Standardizing error responses in a legacy REST API to meet modern specs
02Implementing global error handling middleware in a microservice architecture
03Aggregating complex form validation errors into a single machine-readable response