·exception-hierarchies
</>

exception-hierarchies

yanko-belov/code-craft

カスタム例外を作成するときに使用します。エラー処理が混乱していると感じる場合に使用します。 catch ブロックが広すぎる場合、または具体的すぎる場合に使用します。

15インストール·0トレンド·@yanko-belov

インストール

$npx skills add https://github.com/yanko-belov/code-craft --skill exception-hierarchies

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.

カスタム例外を作成するときに使用します。エラー処理が混乱していると感じる場合に使用します。 catch ブロックが広すぎる場合、または具体的すぎる場合に使用します。 ソース: yanko-belov/code-craft。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/yanko-belov/code-craft --skill exception-hierarchies
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

exception-hierarchies とは?

カスタム例外を作成するときに使用します。エラー処理が混乱していると感じる場合に使用します。 catch ブロックが広すぎる場合、または具体的すぎる場合に使用します。 ソース: yanko-belov/code-craft。

exception-hierarchies のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/yanko-belov/code-craft --skill exception-hierarchies インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/yanko-belov/code-craft