api-error-contract

Community

Standardize API error handling for clarity.

Authorgaebalai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the common challenge of inconsistent API error handling, ensuring that clients can reliably understand and act upon errors, leading to more robust applications.

Core Features & Use Cases

  • Error Code System Design: Establishes a clear, categorized error code system.
  • Response Contract Definition: Defines a consistent JSON structure for error responses, including fields like code, message, status, and optional details.
  • HTTP Status Code Mapping: Provides clear guidelines for mapping error types to appropriate HTTP status codes.
  • Use Case: Design a standardized error response contract for a new microservice, ensuring all its endpoints return errors in a predictable format that clients can easily parse and handle.

Quick Start

Design an API error contract for the provided codebase, focusing on validation and authentication errors.

Dependency Matrix

Required Modules

None required

Components

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: api-error-contract
Download link: https://github.com/gaebalai/claude-code-kit-ko/archive/main.zip#api-error-contract

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.