error-handling

Enforce error handling best practices for async code, API calls, and UI flows.

1|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/Doyajin174/myskills --skill error-handling-doyajin174
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling
Source: https://github.com/Doyajin174/myskills/tree/main/.public/skills/error-handling
Command: npx skills add https://github.com/Doyajin174/myskills --skill error-handling-doyajin174

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces best practices for error handling in async code, API calls, and UI flows, including user-friendly messages and proper logging.

Core Features & Use Cases

  • Structured try-catch: Avoid empty catch blocks; implement logging and recovery.
  • User-friendly messages: Present friendly errors instead of technical dumps.
  • Error boundaries: Provide React error boundaries for resilient UIs.

Quick Start

Implement a try-catch around an API call and show a friendly toast on failure.