exception-hierarchies
✓Use when creating custom exceptions. Use when error handling feels chaotic. Use when catch blocks are too broad or too specific.
Installation
SKILL.md
Design exception hierarchies that enable precise catching and meaningful handling.
Random exception classes lead to catch-all blocks or missed errors. A well-designed hierarchy lets callers catch at the right abstraction level.
Specific exceptions enable specific handling. Generic catches hide bugs.
Use when creating custom exceptions. Use when error handling feels chaotic. Use when catch blocks are too broad or too specific. Source: yanko-belov/code-craft.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/yanko-belov/code-craft --skill exception-hierarchies- Source
- yanko-belov/code-craft
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is exception-hierarchies?
Use when creating custom exceptions. Use when error handling feels chaotic. Use when catch blocks are too broad or too specific. Source: yanko-belov/code-craft.
How do I install exception-hierarchies?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yanko-belov/code-craft --skill exception-hierarchies Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/yanko-belov/code-craft
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01