error-response-system

Community

Standardize API error handling.

Authorvuthuonghai-steve
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a standardized error response system for APIs, ensuring consistency, improving debugging, and enhancing user experience through clear, actionable error messages.

Core Features & Use Cases

  • Type-Safe Error Codes: Uses generated TypeScript types for robust error handling.
  • Standardized Format: Enforces a consistent JSON structure for all API errors.
  • Developer & User Clarity: Provides specific error codes, Vietnamese messages, and helpful suggestions.
  • Use Case: When an API endpoint fails due to an invalid user input, this Skill ensures a standardized VALIDATION_ERROR response is returned, detailing the specific fields that are incorrect and how to fix them, rather than a generic server error.

Quick Start

Use the error-response-system skill to return an unauthorized error from an API endpoint.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 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: error-response-system
Download link: https://github.com/vuthuonghai-steve/KLTN-By_Thuong_Hai-Steve/archive/main.zip#error-response-system

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.