error-handling-patterns – Coding skill for AI agents
Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.
Install the error-handling-patterns skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /error-handling-patterns – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $error-handling-patterns – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /error-handling-patterns – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /error-handling-patterns – then describe the task you want done.
SKILL.md content
Error Handling Patterns
Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.
Use this skill when
- Implementing error handling in new features
- Designing error-resilient APIs
- Debugging production issues
- Improving application reliability
- Creating better error messages for users and developers
- Implementing retry and circuit breaker patterns
- Handling async/concurrent errors
- Building fault-tolerant distributed systems
Do not use this skill when
- The task is unrelated to error handling patterns
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- uv-package-manager – Master the uv package manager for fast Python dependency management, virtual…
- test-driven-development – TDD: enforce RED-GREEN-REFACTOR, tests before code.
- report – Generate test report. Use when user says "test report", "results summary", "test…
- examprep-ai – Exam preparation assistant that converts syllabi, past papers, or notes into a ranked…
- executing-plans – Use when you have a written implementation plan to execute in a separate session with…
- expo-api-routes – Guidelines for creating API routes in Expo Router with EAS Hosting
- expo-brownfield – Integrate Expo and React Native into an existing native iOS or Android app. Use when the…
- expo-module – Guide for creating and writing Expo native modules and views using the Expo Modules API…