·python-best-practices-fail-fast-imports
</>

python-best-practices-fail-fast-imports

Try/Except ImportError パターン、条件付きインポート、およびオプションの依存関係を検出することにより、すべてのインポートがフェイルファストの原則に従っていることを検証します。コミット前、インポートの変更時、コードレビュー中、または品質ゲートの一部として使用します。すべてのインポートがモジュールのトップレベルにある必要があるというプロジェクト ルールを適用します。

4インストール·0トレンド·@dawiddutoit

インストール

$npx skills add https://github.com/dawiddutoit/custom-claude --skill python-best-practices-fail-fast-imports

python-best-practices-fail-fast-imports のインストール方法

コマンドラインで python-best-practices-fail-fast-imports AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/dawiddutoit/custom-claude --skill python-best-practices-fail-fast-imports
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: dawiddutoit/custom-claude。

Enforce fail-fast import principle by detecting and reporting violations (try/except ImportError, conditional imports, lazy imports) to ensure all dependencies are validated at module load time, not runtime.

Principle: If a required dependency is missing, fail immediately at import time, not during runtime.

Result: ✅ Pass (no violations) or ❌ Fail (violations with fixes)

Try/Except ImportError パターン、条件付きインポート、およびオプションの依存関係を検出することにより、すべてのインポートがフェイルファストの原則に従っていることを検証します。コミット前、インポートの変更時、コードレビュー中、または品質ゲートの一部として使用します。すべてのインポートがモジュールのトップレベルにある必要があるというプロジェクト ルールを適用します。 ソース: dawiddutoit/custom-claude。

引用可能な情報

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

インストールコマンド
npx skills add https://github.com/dawiddutoit/custom-claude --skill python-best-practices-fail-fast-imports
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-25
更新日
2026-03-10

Browse more skills from dawiddutoit/custom-claude

クイックアンサー

python-best-practices-fail-fast-imports とは?

Try/Except ImportError パターン、条件付きインポート、およびオプションの依存関係を検出することにより、すべてのインポートがフェイルファストの原則に従っていることを検証します。コミット前、インポートの変更時、コードレビュー中、または品質ゲートの一部として使用します。すべてのインポートがモジュールのトップレベルにある必要があるというプロジェクト ルールを適用します。 ソース: dawiddutoit/custom-claude。

python-best-practices-fail-fast-imports のインストール方法は?

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

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

https://github.com/dawiddutoit/custom-claude