error-handling-patterns
Standardized error handling patterns including exception hierarchy, error message formatting, security audit logging, and graceful degradation. Use when raising exceptions, handling errors, or implementing validation.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Error Handling Patterns Skill
Standardized error handling patterns for all libraries to ensure consistent error reporting, security audit logging, and graceful degradation across the autonomous development system.
When This Skill Activates
- Raising custom exceptions
- Handling errors and validation failures
- Implementing security audit logging
- Designing graceful degradation
- Formatting error messages
- Creating exception hierarchies
- Keywords: "error", "exception", "validation", "raise", "try", "catch", "audit"
Core Concepts
Overview
This skill provides comprehensive guidance on error handling patterns. For detailed patterns and implementation examples, see the documentation files in docs/.
Key Topics:
- Detailed methodologies and best practices
- Implementation patterns and examples
- Common pitfalls and anti-patterns
- Cross-references to related skills
See: Documentation files in docs/ directory for complete details
Quick Reference
| Topic | Details |
|---|---|
| Detailed Guide 1 | docs/detailed-guide-1.md |
| Detailed Guide 2 | docs/detailed-guide-2.md |
| Detailed Guide 3 | docs/detailed-guide-3.md |
| Detailed Guide 4 | docs/detailed-guide-4.md |
Progressive Disclosure
This skill uses progressive disclosure to prevent context bloat:
- Index (this file): High-level concepts and quick reference (<500 lines)
-
Detailed docs:
docs/*.mdfiles with implementation details (loaded on-demand)
Available Documentation:
-
docs/detailed-guide-1.md- Detailed implementation guide -
docs/detailed-guide-2.md- Detailed implementation guide -
docs/detailed-guide-3.md- Detailed implementation guide -
docs/detailed-guide-4.md- Detailed implementation guide
Cross-References
Related Skills:
- See PROJECT.md for complete skill dependencies
Related Tools:
- See documentation files for tool-specific guidance
Key Takeaways
- Research existing patterns before implementing
- Follow established best practices
- Refer to detailed documentation for implementation specifics
- Cross-reference related skills for comprehensive understanding
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!