Dev10x-py-uv

Detect UV installation and migrate legacy Python shebangs to PEP 723 metadata.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Brave-Labs/dev10x --skill dev10x-py-uv-brave-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Dev10x-py-uv
Source: https://github.com/Brave-Labs/dev10x/tree/main/codex-skills/dev10x-py-uv
Command: npx skills add https://github.com/Brave-Labs/dev10x --skill dev10x-py-uv-brave-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

UV adoption and legacy Python shebang migration across Python scripts, enabling faster, safer execution with UV's inline metadata (PEP 723).

Core Features & Use Cases

  • UV installation guidance: Detects UV presence and offers installation options.
  • Migration orchestration: Migrates legacy shebang scripts to UV-executed Python with embedded metadata.
  • Wrapper updates: Adjusts wrappers to invoke UV-executed scripts directly.

Quick Start

Run the migration on your repository to convert all legacy shebang Python scripts to UV-powered ones.

Frequently Asked Questions about Dev10x-py-uv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate legacy Python scripts to UV with PEP 723 metadata?

Migrating legacy Python scripts to UV involves rewriting shebangs, adding PEP 723 inline metadata, and updating wrapper scripts. This workflow converts codebases for faster, safer execution using UV.

What is the best way to check if UV is installed before migrating Python scripts?

Checking UV installation involves detecting the UV presence in your environment and assessing available package managers. The migration workflow requires UV to be present to execute scripts with embedded metadata.

How does adding PEP 723 inline metadata to Python shebangs work?

Adding PEP 723 metadata embeds dependency information directly within Python scripts. This allows UV to automatically resolve and execute scripts safely without requiring a separate virtual environment setup.

Can I automate Python shebang migration in CI pipelines using UV?

Yes, you can apply the UV migration workflow to codebases with legacy Python scripts in CI pipelines. It guides installation choices and automates shebang rewriting and wrapper script updates.

Do I need to update wrapper scripts after migrating Python code to UV?

Yes, updating wrapper scripts is required after migrating Python code to UV. Wrappers must be adjusted to invoke UV-executed scripts directly, ensuring the automated migration completes successfully.