type-checking-pattern
CommunityFix undefined name errors for optional dependencies automatically.
Authorsmith6jt-cop
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates ruff F821 "undefined name" errors when using type hints for packages that may not be installed.
Core Features & Use Cases
- TYPE_CHECKING Block: Uses Python's TYPE_CHECKING for static analysis without runtime imports.
Quick Start
Resolve the undefined name error for the optional dependency 'dask' in the current code file.
Quick Start
Fix the F821 undefined name error for the current module's type annotations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: type-checking-pattern Download link: https://github.com/smith6jt-cop/Skills_Registry/archive/main.zip#type-checking-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.