python-code-quality-scan

Community

Gate Python quality before release.

Authorjfriisj
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a consistent, repeatable code-quality gate for Python changes by running Ruff lint and an optional dead-code scan before QA, UAT, or release.

Core Features & Use Cases

  • Ruff lint (required): Enforce style and quality across Python files.
  • Ruff format (optional): Auto-fix and reformat code when MODE=fix.
  • Dead-code scan (optional): Detect unused code paths to improve maintainability.
  • Use Case: Integrate into CI to block PRs with lint or dead-code issues, or run locally during pre-commit.

Quick Start

Use the python-code-quality-scan skill to lint Python changes with Ruff. For example, scan only changed files by setting TARGETS to paths (default: src tests run.py run_tests.py). If you want to auto-fix and re-run lint, set MODE=fix. To treat warnings as failures, set FAIL_ON_FINDINGS=true.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: python-code-quality-scan
Download link: https://github.com/jfriisj/real-time-speech-translation-mvp/archive/main.zip#python-code-quality-scan

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.