Pre-Commit Hygiene Orchestrator

Run pre-commit hygiene checks for Python repositories with linting and secret detection.

38|9|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/IgorGanapolsky/trading --skill pre-commit-hygiene-orchestrator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Pre-Commit Hygiene Orchestrator
Source: https://github.com/IgorGanapolsky/trading/tree/main/.claude/skills/precommit_hygiene
Command: npx skills add https://github.com/IgorGanapolsky/trading --skill pre-commit-hygiene-orchestrator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pre-commit, black, flake8, mypy, detect-secrets, and includes scripts (resource) components.

What problem does it solve?

This Skill enforces repository hygiene, code quality, and pre-commit standards to prevent messy commits.

Core Features & Use Cases

  • Code quality checks: linting and formatting.
  • File organization: ensure docs/scripts/src layout.
  • Secret scanning: detect sensitive data before commit.
  • Commit validation: check message formats.

Quick Start

Run pre-commit hygiene checks before committing, optionally auto-fixing issues.

Frequently Asked Questions about Pre-Commit Hygiene Orchestrator

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

FAQPage Schema
How do I enforce code quality checks before committing to a Python repository?

Pre-commit hooks automate code quality checks by running linting, formatting, and validation before each commit. This Skill configures pre-commit with black, flake8, and mypy to catch issues immediately, preventing poor-quality code from entering your repository.

Can pre-commit detect secrets and sensitive data before I commit them?

Yes, this Skill includes secret detection as part of its pre-commit workflow. It scans staged files for sensitive credentials and API keys using detect-secrets, blocking commits that contain exposed secrets.

What's the best way to organize and validate file structure in a Python project?

Pre-commit hygiene checks ensure your repository follows a consistent layout with docs, scripts, and src directories organized correctly. The Skill validates file organization automatically on every commit, maintaining project structure standards.

How do I fix code quality issues automatically without blocking commits?

This Skill supports dry-run and auto-fix modes. You can run checks in fix mode to automatically correct formatting and linting violations using black and related tools, then review and commit the corrected code.

Does this work with existing pre-commit configurations?

Yes, this Skill integrates with pre-commit frameworks and returns structured results per check. It applies to Python projects already using pre-commit workflows and enforces the repository layout and tooling expectations defined in the Skill.

Can I validate commit message formats as part of pre-commit checks?

Yes, commit message validation is included in this Skill's pre-commit enforcement. It checks message formats to ensure commits follow your repository's standards before they're recorded.