code-quality

Apply Black formatting, Ruff linting, and mypy type checks to Python projects.

Updated Nov 30, 2025
One-click install
npx skills add https://github.com/AutumnsGrove/GroveScout --skill code-quality-autumnsgrove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/AutumnsGrove/GroveScout/tree/main/.claude/skills/code-quality
Command: npx skills add https://github.com/AutumnsGrove/GroveScout --skill code-quality-autumnsgrove

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically ensures Python projects adhere to consistent formatting, lint rules, and type correctness, saving manual review time and reducing bugs.

Core Features & Use Cases

  • Automatic formatting with Black to enforce a uniform style.
  • Static analysis with Ruff to catch linting, imports, and error-prone code.
  • Type checking with mypy to ensure type hints and usage are correct.
  • Use cases: preparing a codebase for PR reviews, enforcing CI standards, or onboarding new contributors.

Quick Start

Run the quality toolchain across your project to format, lint, and type-check your Python code.

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 formatting, linting, and type checking together?

Automating Python code quality applies formatting, linting, and type checking together by running tools across a project. This process executes Black, Ruff, and mypy sequentially to enforce style, catch errors, and validate types for single files or entire repos.

What's the best way to enforce consistent Python code style across a repository?

Enforcing consistent Python code style requires applying automated formatting and linting across the repository. Using Black enforces uniform style while Ruff catches linting issues and error-prone code, reducing manual review time and preventing bugs.

Does my Python project need specific dependencies to run Black, Ruff, and mypy?

Yes, running automated formatting, linting, and type checking requires Black, Ruff, and mypy as dependencies in your Python project. The toolchain validates code structure, configuration, and compatibility with Python 3.11+ before applying checks.

Can I use automated type checking and linting to prepare a codebase for PR review?

Automated type checking and linting can prepare a codebase for PR review by ensuring type correctness and catching error-prone code. Running mypy validates type hints while Ruff identifies lint issues, enforcing CI standards before submission.

Why does my Python type checking fail when running across the whole repo?

Python type checking across a whole repo fails when code structure or configuration lacks compatibility with Python 3.11+. The quality toolchain validates structure and configuration before applying mypy type checks to ensure correct type hints and usage.