python

Automate Python project setup and script execution with uv.

8|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/narumiruna/skills --skill python-narumiruna
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/narumiruna/skills/tree/main/skills/python
Command: npx skills add https://github.com/narumiruna/skills --skill python-narumiruna

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates consistent Python project setup and script execution with uv, reducing boilerplate and human error.

Core Features & Use Cases

  • Project-aware setup and dependency management with uv add, uv remove, and uv sync.
  • Standalone script and project workflows using uv run, including --no-project mode.
  • Inline script metadata support and quality gates (ruff, ty, pytest, coverage, prek/pre-commit).
  • Packaging workflows with uv build and publish for Python packages.

Quick Start

Initialize a new uv-enabled Python project with uv init <name> and start the default dev toolchain.

Frequently Asked Questions about python

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

FAQPage Schema
How do I automate Python project setup and dependency management with uv?▼

Automate Python project setup by using uv init to scaffold the project, then apply uv add, uv remove, and uv sync to manage dependencies and ensure reproducible environments.

Can I run standalone Python scripts with uv without a full project?▼

Yes, you can run standalone Python scripts with uv by using the uv run command with the --no-project flag, which supports ad hoc task execution without requiring a full project structure.

How do I package and publish a Python project using uv?▼

Package and publish a Python project using uv by executing uv build to compile the distribution files and then using the publish command to upload them to a repository.

What quality gates does uv support for Python testing and formatting?▼

uv supports quality gates including ruff for formatting, ty for type checking, pytest for testing, coverage for metrics, and prek or pre-commit for automated hooks.

Does uv support inline script metadata for Python dependencies?▼

Yes, uv supports inline script metadata, allowing you to declare dependencies directly within standalone Python scripts to automate execution environments without a separate manifest.