Shebangpython

Validates and corrects Python shebangs and PEP 723 inline script metadata by applying four shebang-selection rules. Use when auditing or fixing shebangs in Python files — choosing between plain python3 and the uv shebang for standalone scripts with external dependencies, adding or removing PEP 723 metadata blocks to match actual import requirements, checking execute bit presence, or avoiding redundant transitive dependencies when typer is declared.

Jamie-BitFlight Updated

File contents

Jamie-BitFlight/claude_skills/tree/main/plugins/python-engineering/skills/shebangpython commit e67d5038d4

Frequently asked questions

npx skillmds@latest add jamie-bitflight/shebangpython