modern-python

Configure Python projects with uv, ruff, ty, and pytest.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/rohanbhatia27/rohanstutoring-redesign --skill modern-python-rohanbhatia27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/rohanbhatia27/rohanstutoring-redesign/tree/main/.agents/skills/modern-python
Command: npx skills add https://github.com/rohanbhatia27/rohanstutoring-redesign --skill modern-python-rohanbhatia27

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, ruff, ty, pytest, uvicorn, pip-audit, dependabot, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the setup of modern Python projects, reducing manual configuration and enabling best practices with a curated set of tools.

Core Features & Use Cases

  • Modern Tooling Configuration: Automates the setup of tools like uv, ruff, ty, and pytest for a streamlined development experience.
  • Project Initialization: Offers templates for both single-file scripts and multi-file projects, including a minimal setup for internal projects.
  • Migration Guide: Assists in migrating existing projects from legacy tools like pip, Poetry, mypy, black, and flake8.
  • Security Considerations: Includes security best practices and tooling like pip-audit, Dependabot, and prek for vulnerability scanning and automated updates.

Quick Start

Run the uv init myproject command to create a new Python project with modern tooling pre-configured.

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?

Set up a modern Python project by running `uv init myproject`, which automatically configures uv for package management, ruff for linting and formatting, ty for type checking, and pytest for testing.

What is the best way to migrate an existing Python project from Poetry to uv?

Migrate an existing Python project from legacy tools like Poetry, pip, mypy, black, and flake8 by following the Skill's migration guide, which automates transitioning configurations to modern equivalents like uv and ruff.

Can I configure Python project security scanning with pip-audit and Dependabot?

Yes, you can configure Python project security scanning by integrating pip-audit for vulnerability detection, Dependabot for automated dependency updates, and prek hooks to enforce security best practices.

Does this Python project setup tool support both standalone scripts and multi-file projects?

Yes, the Python project setup supports both standalone scripts and multi-file projects by providing distinct initialization templates, including a minimal configuration specifically designed for internal multi-file projects.

Why use ruff and ty instead of black and mypy for Python code quality?

Use ruff and ty instead of legacy tools like black and mypy because they provide faster, unified code quality and type checking configurations, reducing manual setup overhead and streamlining the development experience.