Add error handling
Open-source Codex skills library inspired by hamzafer/cursor-commands, with guardrail-first triggering for reliable workflow automation.
npx -y skills add gologo13/agent-skills --skill add-error-handlingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Implement comprehensive error handling for the current code to make it robust and resilient ...; keywords: error. Use only on explicit request; skip in routine implementation discussions.
SKILL.md
1.8 KB, as published. Nobody here has run it
Add Error Handling
Overview
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