·error-handling
</>

error-handling

jiatastic/open-python-skills

FastAPI、Pydantic、および asyncio の Python エラー処理パターン。 「Let it crash」の哲学に従い、例外を発生させ、境界でキャッチします。 HTTPException、グローバル例外ハンドラー、検証エラー、バックグラウンド タスクの失敗について説明します。 (1) API エラー応答の設計、(2) RequestValidationError の処理、(3) 非同期例外の管理、(4) スタック トレース漏洩の防止、(5) カスタム例外階層の設計の場合に使用します。

8インストール·0トレンド·@jiatastic

インストール

$npx skills add https://github.com/jiatastic/open-python-skills --skill error-handling

SKILL.md

Production-ready error handling for Python APIs using the Let it crash philosophy.

Let it crash - Don't be defensive. Let exceptions propagate naturally and handle them at boundaries.

| Need to retry | tenacity.retry() for transient failures | | Need to transform | Wrap third-party SDK errors as domain errors | | Need to clean up | Use finally or context managers | | Need to add context | raise DomainError(...) from original |

FastAPI、Pydantic、および asyncio の Python エラー処理パターン。 「Let it crash」の哲学に従い、例外を発生させ、境界でキャッチします。 HTTPException、グローバル例外ハンドラー、検証エラー、バックグラウンド タスクの失敗について説明します。 (1) API エラー応答の設計、(2) RequestValidationError の処理、(3) 非同期例外の管理、(4) スタック トレース漏洩の防止、(5) カスタム例外階層の設計の場合に使用します。 ソース: jiatastic/open-python-skills。

原文を見る

引用可能な情報

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

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

クイックアンサー

error-handling とは?

FastAPI、Pydantic、および asyncio の Python エラー処理パターン。 「Let it crash」の哲学に従い、例外を発生させ、境界でキャッチします。 HTTPException、グローバル例外ハンドラー、検証エラー、バックグラウンド タスクの失敗について説明します。 (1) API エラー応答の設計、(2) RequestValidationError の処理、(3) 非同期例外の管理、(4) スタック トレース漏洩の防止、(5) カスタム例外階層の設計の場合に使用します。 ソース: jiatastic/open-python-skills。

error-handling のインストール方法は?

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

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

https://github.com/jiatastic/open-python-skills