modern-python

Standardize Python tooling with uv, ruff, and pytest workflows.

112|10|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/mycelium-io/mycelium --skill modern-python-mycelium-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/mycelium-io/mycelium/tree/main/.claude/skills/modern-python
Command: npx skills add https://github.com/mycelium-io/mycelium --skill modern-python-mycelium-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python projects often suffer from inconsistent tooling, dependency drift, and fragmented workflows. This Skill promotes standardized, reusable practices to streamline setup, enforcement, and collaboration across teams.

Core Features & Use Cases

  • uv for package management and environment control to keep dependencies in sync.
  • ruff for linting and formatting to maintain code quality and consistency.
  • pytest for testing to ensure robust, maintainable code.
  • Clear guidelines for installing, running tools, and writing Python code in the project.
  • Real-world scenario: quickly bootstrap a new project with a consistent toolchain and run tests with a single command.

Quick Start

Install all dependencies with uv sync --group dev and run tests with uv run pytest.

Frequently Asked Questions about modern-python

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

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

Set up a Python project with uv, ruff, and pytest by running uv sync --group dev to install dependencies, then uv run pytest to execute tests. This standardizes environments, linting, and testing workflows.

Why does my Python project suffer from dependency drift and inconsistent tooling?

Python projects suffer from dependency drift and inconsistent tooling without standardized practices. Using uv for package management and environment control keeps dependencies in sync and reduces setup friction across teams.

Can I use uv for package management and environment control in Python?

Yes, you can use uv for package management and environment control in Python projects. It manages dependencies to keep them in sync and reduces setup friction when combined with ruff and pytest configurations.

What's the best way to standardize Python linting and formatting across projects?

The best way to standardize Python linting and formatting is using ruff. It enforces code quality and consistency rules across projects, reducing fragmented workflows and ensuring maintainable code.

How do I run pytest tests in a uv-managed Python environment?

Run pytest tests in a uv-managed Python environment using the command uv run pytest. This executes your test suite within the controlled environment, ensuring robust and maintainable code validation.