modern-python

Automates Python project setup with uv, ruff, ty, and pyproject.toml configuration.

9|4|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/marduk191/qwen3_mcp --skill modern-python-marduk191
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/marduk191/qwen3_mcp/tree/main/skills/modern-python/skills/modern-python
Command: npx skills add https://github.com/marduk191/qwen3_mcp --skill modern-python-marduk191

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Modern Python skill streamlines the setup and maintenance of Python projects by standardizing tooling configuration and project scaffolding, reducing repetitive boilerplate and configuration drift.

Core Features & Use Cases

  • Integrates uv as the primary project manager and runtime environment manager for Python projects.
  • Configures linting and type checking with ruff and ty to enforce modern standards.
  • Provides guidance for creating new projects, migrating from legacy tooling, and writing standalone scripts.
  • Real-world use case: quickly bootstrap a new project with pyproject.toml, dependencies, and tool configurations for a production-grade workflow.

Quick Start

Create a new Python project configured with uv, ruff, and ty following the Trail of Bits cookiecutter guidance.

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 modern Python project with uv and ruff?

Setting up a modern Python project is automated by configuring pyproject.toml, managing dependencies, and integrating uv, ruff, and ty to ensure consistent project scaffolding and tooling.

Can I migrate my existing Python project from Poetry and mypy to uv and ruff?

Yes, you can migrate from legacy tools like Poetry and mypy. The skill provides specific guidance for transitioning your project management and linting setup to uv, ruff, and ty without losing your existing structure.

What is the best way to configure pyproject.toml for linting and type checking?

The best way to configure pyproject.toml is by standardizing tooling configurations with ruff for linting and ty for type checking, ensuring modern standards are enforced consistently across your Python project.

Does this approach work for standalone Python scripts or only full projects?

This approach works for both standalone scripts and full projects. The skill provides specific guidance for writing standalone scripts with uv, ensuring proper dependency management and tooling integration regardless of project size.

Why should I use uv instead of pip for Python dependency management?

You should use uv instead of pip to standardize project management and runtime environment control. This reduces repetitive boilerplate and configuration drift, applying modern tooling consistently across new and legacy projects.