modern-python

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

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/monmacllcapp/skill-forks --skill modern-python-monmacllcapp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/monmacllcapp/skill-forks/tree/main/skills/security/plugins/modern-python/skills/modern-python
Command: npx skills add https://github.com/monmacllcapp/skill-forks --skill modern-python-monmacllcapp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines Python project setup and maintenance by integrating modern, high-performance tools for dependency management, linting, formatting, and type checking, eliminating outdated and slow legacy tools.

Core Features & Use Cases

  • Project Initialization: Quickly set up new Python projects with pyproject.toml and essential tooling.
  • Dependency Management: Use uv for lightning-fast package installation, updates, and environment management.
  • Code Quality: Enforce consistent code style and catch errors with ruff (linting & formatting) and ty (type checking).
  • Migration: Assists in migrating existing projects from older tools like pip, Poetry, mypy, and black.
  • Use Case: When starting a new Python backend service, use this Skill to initialize the project, add FastAPI and SQLAlchemy as dependencies, and configure ruff and ty for immediate code quality enforcement.

Quick Start

Initialize a new Python project named 'my_awesome_project' with modern tooling.

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

Set up a new Python project by initializing it with a pyproject.toml file, then use uv for dependency management and ruff for linting and formatting to enforce code quality from the start.

What is the best way to migrate from Poetry and mypy to modern Python tooling?

Migrate from legacy tools like Poetry, mypy, and black by replacing them with uv for dependency management, ruff for formatting and linting, and ty for type checking to streamline your workflow.

Does this Python tooling setup integrate security scanning tools?

Yes, the Python project setup integrates security scanning tools including shellcheck, detect-secrets, actionlint, zizmor, and pip-audit to identify vulnerabilities and secure your codebase.

Can I use ruff for both linting and formatting in my Python project?

Yes, you can use ruff for both linting and formatting in your Python project, replacing multiple legacy tools to enforce consistent code style and catch errors efficiently.

Why use uv for Python dependency management instead of pip?

Use uv for Python dependency management instead of pip to achieve lightning-fast package installation, updates, and environment management, eliminating slow legacy workflows.

How do I configure type checking for a Python project using ty?

Configure type checking for a Python project using ty to catch type errors, replacing legacy tools like mypy with a modern, high-performance alternative during your project setup.