What problem does it solve?
This Skill streamlines Python code quality by leveraging modern tools like Ruff (for linting and formatting) and Pyright (for type checking). It helps developers quickly identify and fix style issues, simple bugs, and critical type errors, ensuring consistent, high-quality, and maintainable Python code.
Core Features & Use Cases
- Comprehensive Code Quality: Covers style, formatting, simple bugs (Ruff) and type safety, attribute errors, None-safety (Pyright).
- Blazing Fast Execution: Replaces multiple slower tools (Pylint, Black, Mypy) with a combined 20-40x speed improvement.
- Configuration & Troubleshooting: Provides guidance on
ruff.toml and pyrightconfig.json setup, common error patterns, and suppression techniques.
- Use Case: Automatically analyze a Python codebase for linting and type errors, generate a report of violations, and suggest auto-fix commands using Ruff to quickly resolve issues.
Quick Start
Use the python-linting skill to check the current Python project for linting and type errors, then suggest commands to auto-fix them.