pre-commit-fixer
CommunityDiagnose and fix pre-commit hooks safely.
System Documentation
What problem does it solve?
Diagnose and fix pre-commit hook failures with user confirmation at each step. Reads hook output, classifies failures by category, spawns targeted subagents for complex fixes, and presents a structured report before re-committing. Reduces context waste from manual fix-commit-retry cycles. JASON-OS v0: Foundation-scoped to the gitleaks-only .husky/pre-commit scaffold; generic recipes (ESLint, Prettier, tsc, lint-staged) stay armed for when their triggers earn their place in the hook.
Core Features & Use Cases
- Classify failures by category and spawn targeted subagents
- Present a structured report before re-committing
- Guardrails to prevent unintended changes and ensure changes are limited to staged/working files
Quick Start
Use the pre-commit-fixer when a git commit fails due to pre-commit hook errors to diagnose, classify, fix, and report before re-committing.
Dependency Matrix
Required Modules
None requiredComponents
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: pre-commit-fixer Download link: https://github.com/jasonmichaelbell78-creator/JASON-OS/archive/main.zip#pre-commit-fixer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.