quality-gates

Automate Python linting, type checks, complexity analysis, hypothesis checks, and tests before commits.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ederheisler/agent-skills --skill quality-gates-ederheisler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-gates
Source: https://github.com/ederheisler/agent-skills/tree/main/skills/quality-gates
Command: npx skills add https://github.com/ederheisler/agent-skills --skill quality-gates-ederheisler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, uvx, markdownlint, and includes scripts (resource) components.

What problem does it solve?

Python code quality gates script for linting, type checking, complexity analysis, hypothesis checks, and testing before commits, ensuring consistent code quality across Python projects.

Core Features & Use Cases

  • Project-agnostic quality gates: coordinates linting, type checks, complexity analysis, hypothesis checks, and tests across Python projects.
  • Three execution modes: unit-tests, all-tests, and no-tests to balance fast feedback and thorough validation in development and pre-merge workflows.
  • Tool-management with graceful fallbacks: uses uv/uvx to manage tooling and skips missing tools instead of failing.

Quick Start

Quick Start

Run the quality-gates.sh unit-tests to perform fast linting, type checks, and unit tests.

Frequently Asked Questions about quality-gates

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

FAQPage Schema
How do I automate Python code quality checks before commits?

Automate Python code quality checks by coordinating linting, type checking, complexity analysis, hypothesis checks, and tests. This script runs across Python projects in CI or local development to enforce consistent quality before commits are finalized.

What is the best way to run fast linting and unit tests in Python development?

Run fast linting and unit tests by using the unit-tests execution mode. This mode balances rapid feedback during local development with thorough validation by coordinating type checks and complexity analysis alongside unit tests.

Do I need uvx installed to run Python linting and type checks?

You need uv and uvx for tool management when running Python linting and type checks. The script relies on uvx to manage tooling, but gracefully skips missing tools instead of failing if dependencies are not installed.

Can I skip tests and only run linting and complexity analysis for Python code?

You can skip tests and only run linting and complexity analysis by using the no-tests execution mode. This mode focuses entirely on static code quality checks without executing the test suite.

How does markdownlint integrate with Python code quality gates?

Markdownlint integrates with Python code quality gates to check markdown files alongside code analysis. It runs with configurable exclude lists, allowing you to filter specific documentation files from validation during pre-commit checks.

Why does the quality gate script skip missing tools instead of failing?

The quality gate script skips missing tools instead of failing to provide graceful fallbacks during tool management. Handled via uvx, this ensures the workflow continues running available checks like linting and type checking even if some dependencies are absent.