python-quality

Run Black, Ruff, Mypy, and Pytest checks on Python code.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/kartikfed/OpenClawLimen --skill python-quality-kartikfed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-quality
Source: https://github.com/kartikfed/OpenClawLimen/tree/main/skills/python-quality
Command: npx skills add https://github.com/kartikfed/OpenClawLimen --skill python-quality-kartikfed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of checking and improving the quality of Python code, ensuring consistency, readability, and adherence to best practices before committing.

Core Features & Use Cases

  • Code Formatting: Automatically formats Python code to a consistent style using Black.
  • Linting: Identifies and fixes common code style and potential errors using Ruff.
  • Type Checking: Catches type-related errors using Mypy.
  • Testing: Executes unit tests using Pytest.
  • Use Case: Before committing new Python features, run all these checks to ensure the code is clean, error-free, and maintainable.

Quick Start

Run all Python quality checks on the src and tests directories.

Frequently Asked Questions about python-quality

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

FAQPage Schema
How do I automate Python code quality checks for formatting, linting, and type checking?

Automate Python code quality checks by running Black for formatting, Ruff for linting, Mypy for static type checking, and Pytest for unit testing to ensure code consistency and error-free commits. This Skill integrates directly into pre-commit hooks or CI/CD pipelines.

What is the best way to run Black, Ruff, Mypy, and Pytest together before committing code?

Run Black, Ruff, Mypy, and Pytest together by executing comprehensive quality checks across your source and test directories before committing new Python features. This ensures your codebase remains clean, readable, and maintainable.

Do I need to install specific dependencies to run Python code quality checks?

Yes, you need ruff, black, mypy, and pytest installed and configured to run Python code quality checks. These tools are typically configured via a pyproject.toml file in your project directory.

Can I integrate Python linting and type checking into a CI/CD pipeline?

Yes, you can integrate Python linting and type checking into CI/CD pipelines to maintain high code standards. This Skill is designed for software engineers to automate formatting, linting, type checking, and testing during the development workflow.

How does static type checking with Mypy improve Python code quality?

Static type checking with Mypy improves Python code quality by catching type-related errors before execution. Combined with Ruff linting and Black formatting, it ensures your Python code adheres to best practices and remains error-free.

Why should I run Python unit tests with Pytest alongside formatting and linting?

Run Python unit tests with Pytest alongside formatting and linting to verify code functionality and catch runtime errors. Executing Black, Ruff, Mypy, and Pytest together ensures your Python code is clean, correctly typed, and functionally valid before integration.