setting-up-python-project

Initialize Python projects with uv, Black, Ruff, and pyright.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/nicolaei/claude-plugins --skill setting-up-python-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setting-up-python-project
Source: https://github.com/nicolaei/claude-plugins/tree/main/programmer/skills/setting-up-python-project
Command: npx skills add https://github.com/nicolaei/claude-plugins --skill setting-up-python-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It streamlines starting new Python projects by configuring tooling (UV, Black, Ruff, pyright) and initializing essential files like pyproject.toml.

Core Features & Use Cases

  • Initialize new projects with UV and Python 3.13
  • Add dependencies with uv add and remove
  • Enforce strict pyright configuration in pyproject.toml

Quick Start

Use the setting-up-python-project skill to initialize a new Python project with UV, and configure Black, Ruff, and pyright.

Frequently Asked Questions about setting-up-python-project

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

FAQPage Schema
How do I set up a new Python project with uv, black, ruff, and pyright?

To set up a new Python project, this initializes the repository with uv and Python 3.13, then configures black, ruff, and pyright strict mode directly in pyproject.toml.

What is the best way to configure pyright strict mode in pyproject.toml?

Configuring pyright strict mode in pyproject.toml is automated during initialization, enforcing strict type checking rules alongside other default development tools for the project.

Does this Python project setup work with Python 3.13 and uv?

Yes, this Python project setup explicitly requires Python 3.13 and uses uv to manage dependencies, initialize the environment, and apply the default tooling configuration.

How do I add and remove dependencies using uv in a Python project?

Adding and removing dependencies using uv is handled via the uv add and uv remove commands, which update the project environment and the pyproject.toml file automatically.

Can I convert an existing Python template to use uv and ruff?

Yes, you can convert an existing Python template by applying this configuration to initialize uv, ruff, black, and pyright across diverse environments and update your pyproject.toml.

Why use uv instead of pip for Python project initialization?

Using uv instead of pip for Python project initialization streamlines environment setup and dependency management, directly integrating with black, ruff, and pyright configurations in pyproject.toml.