errors-and-status-codes
CommunityDesign robust API error handling.
Software Engineering#error handling#api design#http status codes#problem details#rfc 9457#validation errors
Authoroborchers
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of creating clear, consistent, and informative error responses for APIs, ensuring that developers integrating with your API can easily understand and handle issues.
Core Features & Use Cases
- HTTP Status Code Selection: Provides guidance on choosing the most appropriate HTTP status code (2xx, 3xx, 4xx, 5xx) for various error scenarios.
- Consistent Error Envelopes: Defines a standardized JSON structure for error responses, adhering to RFC 9457 Problem Details.
- Per-Field Validation: Details how to return specific validation errors for individual fields within a request.
- Use Case: When designing a new API endpoint, use this Skill to ensure all error responses follow best practices, including correct status codes, a well-defined error envelope, and actionable error messages, reducing integration friction for consumers.
Quick Start
Use the errors-and-status-codes skill to design a consistent error envelope for API responses.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: errors-and-status-codes Download link: https://github.com/oborchers/fractional-cto/archive/main.zip#errors-and-status-codes Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.