quality-enforcer

Community

Ensure code quality, automate your peace of mind.

Authorstharrold
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill mitigates the risk of introducing low-quality code, bugs, or technical debt into the main codebase. It automates the enforcement of critical quality standards, ensuring that all code meets predefined benchmarks before integration, saving time on manual reviews and bug fixing.

Core Features & Use Cases

  • Comprehensive Quality Gates: Automatically checks for 80%+ test coverage, passing tests, successful builds, clean linting (ruff), and clean type checking (mypy).
  • Pre-PR Validation: Designed to run before Pull Request creation, providing immediate feedback on code quality and preventing substandard code from entering the integration pipeline.
  • Semantic Versioning Integration: Works with git-workflow-manager to calculate appropriate semantic version bumps based on code changes, maintaining consistent versioning.
  • Use Case: Before submitting a feature for review, run run_quality_gates.py to get an instant, comprehensive report on your code's quality. If any gate fails, you'll know exactly what to fix, ensuring your PRs are always merge-ready.

Quick Start

Example: Run all quality gates

python .claude/skills/quality-enforcer/scripts/run_quality_gates.py

Dependency Matrix

Required Modules

pytestpytest-covruffmypyuv

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: quality-enforcer
Download link: https://github.com/stharrold/german/archive/main.zip#quality-enforcer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository