shebangpython

Community

Validate Python shebangs & PEP 723.

AuthorVoldemortGin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures your Python scripts have correct shebang lines and PEP 723 metadata, preventing execution errors and dependency issues.

Core Features & Use Cases

  • Shebang Validation: Checks if shebangs (#!/usr/bin/env python3, #!/usr/bin/env -S uv --quiet run --active --script) are appropriate for the script's dependencies and execution context.
  • PEP 723 Compliance: Validates inline script metadata for dependency declaration.
  • Execute Bit Check: Verifies that executable scripts have the correct execute permission.
  • Use Case: When you create a new Python script that needs to run standalone with external dependencies, this Skill helps you add the correct uv shebang and PEP 723 metadata.

Quick Start

Use the shebangpython skill to validate the shebang line in the file 'my_script.py'.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: shebangpython
Download link: https://github.com/VoldemortGin/claude-skills/archive/main.zip#shebangpython

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.