python-quality-gate

Run ruff, pytest, mypy, and bandit checks and generate severity-based reports.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/rauly-1408/order-saas --skill python-quality-gate-rauly-1408
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-quality-gate
Source: https://github.com/rauly-1408/order-saas/tree/main/.claude/skills/python-quality-gate
Command: npx skills add https://github.com/rauly-1408/order-saas --skill python-quality-gate-rauly-1408

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates consistent Python quality validation by running essential checks in a fixed order and producing actionable reports instead of requiring developers to manually coordinate multiple tools.

Core Features & Use Cases

  • Deterministic Quality Pipeline: Runs ruff, pytest, mypy, and bandit checks in a predefined sequence with pass/fail evaluation.
  • Issue Analysis and Reporting: Categorizes findings by severity, highlights critical problems, and provides auto-fix guidance where appropriate.
  • Use Case: A development team can use this Skill before merging changes to validate Python projects for linting, formatting, tests, typing issues, and security concerns.

Quick Start

Run the Python quality gate on this repository and generate a structured report of all available checks.

Frequently Asked Questions about python-quality-gate

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

FAQPage Schema
How do I automate Python code quality checks for linting, typing, and security?

Automate Python code quality checks by running ruff, pytest, mypy, and bandit in a deterministic sequence to validate linting, testing, typing, and security, producing a structured report with severity-based findings and remediation guidance.

What is the best way to run a Python quality gate before merging code changes?

The best way to run a Python quality gate before merging is to execute this pipeline for pre-merge reviews, which categorizes critical problems by severity and provides auto-fix guidance to ensure code maintenance standards are met.

Do I need to install ruff, pytest, mypy, and bandit to use a Python quality gate?

Yes, you need configured quality tools such as ruff, pytest, mypy, and bandit installed in your environment, as the Python quality gate requires these dependencies to run deterministic checks and generate actionable reports.

Can I use a Python quality gate for CI validation and pre-merge code reviews?

Yes, you can use a Python quality gate for CI validation and pre-merge code reviews, as it applies to Python development workflows by running fixed-order checks and evaluating pass/fail status to enforce reliable code quality.

How does a Python quality gate report linting and security issues?

A Python quality gate reports linting and security issues by categorizing findings by severity, highlighting critical problems from tools like bandit and ruff, and providing actionable remediation guidance where appropriate.

Why should I run mypy and ruff in a fixed order for Python code validation?

Running mypy and ruff in a fixed order for Python code validation ensures a deterministic quality pipeline that consistently evaluates pass/fail status across typing and linting checks before generating a structured report.