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

python-best-practices-fail-fast-imports

Validates that all imports follow fail-fast principle by detecting try/except ImportError patterns, conditional imports, and optional dependencies. Use before commits, when modifying imports, during code review, or as part of quality gates. Enforces project rule that all imports must be at module top level.

4Installs·0Trend·@dawiddutoit

Installation

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

How to Install python-best-practices-fail-fast-imports

Quickly install python-best-practices-fail-fast-imports AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/dawiddutoit/custom-claude --skill python-best-practices-fail-fast-imports
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: dawiddutoit/custom-claude.

SKILL.md

View raw

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)

Validates that all imports follow fail-fast principle by detecting try/except ImportError patterns, conditional imports, and optional dependencies. Use before commits, when modifying imports, during code review, or as part of quality gates. Enforces project rule that all imports must be at module top level. Source: dawiddutoit/custom-claude.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/dawiddutoit/custom-claude --skill python-best-practices-fail-fast-imports
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from dawiddutoit/custom-claude

Quick answers

What is python-best-practices-fail-fast-imports?

Validates that all imports follow fail-fast principle by detecting try/except ImportError patterns, conditional imports, and optional dependencies. Use before commits, when modifying imports, during code review, or as part of quality gates. Enforces project rule that all imports must be at module top level. Source: dawiddutoit/custom-claude.

How do I install python-best-practices-fail-fast-imports?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dawiddutoit/custom-claude --skill python-best-practices-fail-fast-imports Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

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