Implement comprehensive error handling for the current code to make it robust and resilient to failures while maintaining good user experience.
Steps
Error Detection
Identify potential failure points and edge cases
Find unhandled exceptions and error conditions
Detect missing validation and boundary checks
Analyze async operations and network calls
Error Handling Strategy
Implement try-catch blocks where appropriate
Add input validation and sanitization
Create meaningful error messages and logging
Design graceful degradation for non-critical failures
Recovery Mechanisms
Implement retry logic for transient failures
Add fallback options for service unavailability
Create circuit breakers for external dependencies
Design proper error propagation and handling
User Experience
Provide clear error messages to users
Implement proper error status codes for APIs
Add loading states and error boundaries for UI
Include helpful suggestions for error resolution
Add Error Handling Checklist
Identified all potential failure points and edge cases
Implemented try-catch blocks where appropriate
Added input validation and sanitization
Created meaningful error messages and logging
Implemented retry logic for transient failures
Added fallback options and circuit breakers
Provided clear error messages to users
Implemented proper error status codes for APIs
Added loading states and error boundaries for UI
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: gologo13-agent-skills-add-error-handling3description: Add Error Handling4---56# Add Error Handling78## Overview910Implement comprehensive error handling for the current code to make it robust and resilient to failures while maintaining good user experience.1112## Steps13141. **Error Detection**15 - Identify potential failure points and edge cases16 - Find unhandled exceptions and error conditions17 - Detect missing validation and boundary checks18 - Analyze async operations and network calls192. **Error Handling Strategy**20 - Implement try-catch blocks where appropriate21 - Add input validation and sanitization22 - Create meaningful error messages and logging23 - Design graceful degradation for non-critical failures243. **Recovery Mechanisms**25 - Implement retry logic for transient failures26 - Add fallback options for service unavailability27 - Create circuit breakers for external dependencies28 - Design proper error propagation and handling294. **User Experience**30 - Provide clear error messages to users31 - Implement proper error status codes for APIs32 - Add loading states and error boundaries for UI33 - Include helpful suggestions for error resolution3435## Add Error Handling Checklist3637- [ ] Identified all potential failure points and edge cases38- [ ] Implemented try-catch blocks where appropriate39- [ ] Added input validation and sanitization40- [ ] Created meaningful error messages and logging41- [ ] Implemented retry logic for transient failures42- [ ] Added fallback options and circuit breakers43- [ ] Provided clear error messages to users44- [ ] Implemented proper error status codes for APIs45- [ ] Added loading states and error boundaries for UI4647---48> Converted and distributed by [TomeVault](https://tomevault.io/claim/gologo13) — claim your Tome and manage your conversions.49<!-- tomevault:4.0:skill_md:2026-04-13 -->
Run npx skillmds@latest add tomevault-io/gologo13-agent-skills-add-error-handling in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Add Error Handling It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.