fix-quality

Run ruff format, ruff check, and ty check on Python code.

1|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/HYP3R00T/voicepad --skill fix-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-quality
Source: https://github.com/HYP3R00T/voicepad/tree/main/.agents/skills/fix-quality
Command: npx skills add https://github.com/HYP3R00T/voicepad --skill fix-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Efficiently enforcing consistent Python code quality by running format, lint, and type-check in sequence after edits.

Core Features & Use Cases

  • Sequential quality gates: format, lint checks, and type-check ensure clean, reliable code.
  • Pre-commit readiness: helps catch issues before commits and aligns with ruff and ty workflows.
  • Use Case: after editing a Python module, run this skill to automatically fix formatting, report lint errors, and surface type issues.

Quick Start

Run fix-quality after editing Python files to automatically format, lint, and type-check your code.

Frequently Asked Questions about fix-quality

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

FAQPage Schema
How do I automate Python formatting, linting, and type checking after edits?

You can automate Python quality gates by running a sequential workflow that applies ruff format, ruff check --fix, ruff check, and ty check to format code, auto-fix lint issues, and surface type errors.

What is the best way to run ruff and ty quality checks before a commit?

The best way to run ruff and ty checks before a commit is to execute them in a strict sequence: format the code, apply lint fixes, verify remaining lint errors, and finally run the type checker to ensure clean code.

Do I need ruff and ty installed to enforce Python quality gates?

Yes, you need both ruff and ty available in your environment to enforce Python quality gates, as the automation requires them to execute formatting, linting, and type checking sequentially.

How does sequential Python code quality enforcement work?

Sequential Python code quality enforcement works by chaining four steps: ruff format standardizes style, ruff check --fix auto-resolves lint errors, ruff check reports remaining issues, and ty check validates types.

Why does my Python type check fail after ruff formatting passes?

Your type check may fail after ruff formatting because formatting only standardizes code style; you still need to run a dedicated type checker like ty to identify and report underlying type errors in your Python module.

Can I use this Python quality automation across different local projects?

Yes, you can use this Python quality automation across local development workflows, as it applies standard ruff and ty commands to ensure formatting, linting, and type checking pass before commits in any Python project.