code-quality

Run Ruff, Mypy, and pytest checks on Python code with Git integration.

Updated May 16, 2026
One-click install
npx skills add https://github.com/LuminairPrime/skill-tree-chopper --skill code-quality-luminairprime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/LuminairPrime/skill-tree-chopper/tree/main/vendors/s-hiraokuvscode-sidebar-terminal/.agents/skills/code-quality
Command: npx skills add https://github.com/LuminairPrime/skill-tree-chopper --skill code-quality-luminairprime

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, mypy, pytest, and includes scripts (resource) components.

What problem does it solve?

This Skill automates code quality checks and optionally refactors Python code, streamlining the development process by ensuring code consistency and efficiency.

Core Features & Use Cases

  • Automated Linting: Checks for common errors and style issues with tools like Ruff and Mypy.
  • Test Execution: Runs tests with pytest to validate code correctness.
  • Code Simplification: Optionally simplifies code to reduce complexity.
  • Use Case: When writing Python code, you can run this skill to ensure your code passes all quality checks before pushing it to version control.

Quick Start

Use the code-quality skill to run a full quality check on all modified Python files.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I automate Python code quality checks before pushing to version control?

Automate Python code quality checks by running linting, type checking, and tests across modified files. This skill executes Ruff, Mypy, and pytest to validate correctness and enforce style consistency before Git commits.

Do I need to install ruff, mypy, and pytest to run automated Python linting?

Yes, you need Ruff, Mypy, and pytest installed to run automated Python linting. These dependencies are required for the skill to execute type checks, catch style issues, and validate code correctness.

What's the best way to simplify Python code and reduce complexity during development?

The best way to simplify Python code and reduce complexity is through automated refactoring. This skill analyzes source files and provides suggestions to streamline logic alongside running standard quality checks.

Can I run mypy type checking and pytest execution together for Python source code?

Yes, you can run Mypy type checking and pytest execution together for Python source code. The skill integrates both tools to validate type correctness and execute tests in a single automated workflow.

Why does my Python code simplification workflow need Git integration?

Python code simplification workflows need Git integration to target only modified files. By checking Git status, the skill automates quality checks and refactoring specifically for changed Python source code.

Are there limitations when using ruff for automated Python code refactoring?

A limitation of using Ruff for automated Python code refactoring is that it primarily handles linting and style issues. The skill provides suggestions for broader code simplification but relies on separate tools for type checking and tests.