modern-python

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

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Ramprasad4121/srp --skill modern-python-ramprasad4121
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/Ramprasad4121/srp/tree/main/skills-repos/trailofbits/plugins/modern-python/skills/modern-python
Command: npx skills add https://github.com/Ramprasad4121/srp --skill modern-python-ramprasad4121

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the setup and management of Python projects by integrating modern, efficient tools for dependency management, linting, formatting, and type checking, reducing boilerplate and improving code quality.

Core Features & Use Cases

  • Dependency Management: Uses uv for fast, reliable installation and management of project dependencies.
  • Linting & Formatting: Integrates ruff to enforce code style and catch errors efficiently.
  • Type Checking: Sets up ty for fast and accurate static type analysis.
  • Use Case: When starting a new Python project, use this Skill to automatically configure pyproject.toml with uv, ruff, and ty, ensuring a robust and modern development environment from the outset.

Quick Start

Configure a new Python project with modern tooling by running the uv init --package command.

Frequently Asked Questions about modern-python

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

FAQPage Schema
How do I configure a new Python project with uv and ruff?

Configuring a new Python project with uv and ruff involves initializing the package structure and generating a pyproject.toml file that integrates fast dependency management, linting, formatting, and type checking.

What is the best way to migrate from Poetry to uv for Python dependency management?

Migrating from Poetry to uv for Python dependency management involves transitioning your project configuration to pyproject.toml, replacing legacy tooling with uv for fast dependency installation and ruff for code formatting.

Can I use ruff to replace mypy and black in my Python project?

Yes, you can use ruff to replace black for formatting, and this setup introduces ty for fast static type checking to replace mypy, consolidating your Python linting and type analysis toolchain.

Does modern Python tooling support automated dependency vulnerability scanning?

Modern Python tooling supports automated dependency vulnerability scanning by integrating pip-audit for security checks and Dependabot for automated dependency updates within your project workflow.

How do I set up a standalone Python script with modern linting and type checking?

Setting up a standalone Python script with modern linting and type checking requires configuring ruff for style enforcement and ty for static analysis, ensuring robust code quality without full project boilerplate.