local-python-qa

Run mypy, ruff, and pytest checks on Python code.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/k-negishi/ai-curated-newsletter --skill local-python-qa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-python-qa
Source: https://github.com/k-negishi/ai-curated-newsletter/tree/main/.claude/skills/local-python-qa
Command: npx skills add https://github.com/k-negishi/ai-curated-newsletter --skill local-python-qa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of checking Python code for quality issues, ensuring high standards are met before and after implementation.

Core Features & Use Cases

  • Pre-implementation Quality Check: Identifies existing bugs and style issues before new code is written.
  • Post-implementation Validation: Verifies that new code passes tests, adheres to style guides, and has correct type hints.
  • Use Case: Before implementing a new feature, run this skill to catch any syntax errors or style violations in the current codebase, ensuring a clean start. After implementation, use it to confirm all tests pass and the code is well-formatted and type-checked.

Quick Start

Run the local-python-qa skill to check the quality of the Python code in the src directory.

Frequently Asked Questions about local-python-qa

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

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

Automate Python code quality checks by running mypy for type checking, ruff for linting, and pytest for unit tests. This process identifies style violations, potential bugs, and type inconsistencies to ensure code adheres to project standards before and after implementation.

What is the best way to run pytest unit tests and linting together locally?

Running pytest unit tests alongside ruff linting and mypy type checking locally ensures your Python codebase passes tests, adheres to style guides, and maintains correct type hints before implementation.

How do I check my Python project for type inconsistencies and style violations before implementing a new feature?

Check your Python project for type inconsistencies and style violations by executing automated quality checks. This identifies existing bugs and syntax errors in the current codebase, ensuring a clean start before writing new code.

Can I use mypy and ruff to validate code style and type hints after writing new code?

You can use mypy and ruff to validate code style and type hints after writing new code. This post-implementation validation verifies that new code passes tests, adheres to style guides, and has correct type hints.

When do I need to run local Python quality assurance checks on my source directory?

Run local Python quality assurance checks on your source directory before implementing new features to catch existing issues, and after implementation to confirm all tests pass, code is well-formatted, and type checking succeeds.