python-code-quality

Enforce Python code quality with Ruff linting and ty type checking.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jjjermiah/dotagents --skill python-code-quality-jjjermiah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-code-quality
Source: https://github.com/jjjermiah/dotagents/tree/main/src/dot-agents/skills/python-code-quality
Command: npx skills add https://github.com/jjjermiah/dotagents --skill python-code-quality-jjjermiah

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enforces consistent and high-quality Python code by integrating Ruff for linting and formatting, and ty for static type checking, preventing common errors and improving maintainability.

Core Features & Use Cases

  • Automated Linting & Formatting: Automatically checks for and fixes style violations and potential bugs using Ruff.
  • Static Type Checking: Verifies type annotations and identifies type-related errors before runtime using ty.
  • Configuration Management: Provides standard configurations for pyproject.toml and ruff.toml to streamline setup.
  • Use Case: When starting a new Python project, use this Skill to set up Ruff and ty, ensuring code adheres to best practices from the outset.

Quick Start

Use the python-code-quality skill to configure Ruff and ty for a new Python project.

Frequently Asked Questions about python-code-quality

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

FAQPage Schema
How do I set up Python code quality checks with Ruff and ty?

To set up Python code quality, this Skill configures Ruff for linting and formatting alongside ty for static type checking using standard pyproject.toml files. It streamlines configuration for immediate bug prevention and style enforcement in new projects.

What is the best way to enforce consistent Python formatting and type checking?

The best way to enforce consistent Python formatting and type checking is combining Ruff and ty. This Skill integrates both tools to automatically identify style violations and verify type annotations before runtime.

Does this Python linting configuration work with pixi for task management?

Yes, this Python linting configuration integrates with pixi for task management. It relies on pixi to orchestrate the Ruff and ty execution, ensuring code adheres to quality standards during development workflows.

Can I use pyproject.toml to configure Ruff and ty for static type checking?

Yes, you can use pyproject.toml to configure Ruff and ty. This Skill provides standard configuration files to streamline setup, defining rules for automated linting, formatting, and static type checking.

Why do I need both Ruff and ty for Python code quality?

You need both Ruff and ty because Ruff handles automated linting and formatting while ty verifies type annotations. Together, they prevent common errors and improve maintainability by addressing both style and type safety.

When should I configure Python linting and type checking in my project?

You should configure Python linting and type checking when starting a new project. Applying Ruff and ty from the outset ensures code adheres to best practices immediately, preventing style violations and type-related errors.