fix-precommit

Official

Fix pre-commit failures and re-stage fixes.

Authorjadecli
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The skill automates diagnosing and fixing pre-commit hook failures across multiple tools (ruff, tsc, eslint, vitest, pytest) and re-stages corrected files, simplifying the commit process.

Core Features & Use Cases

  • Automatic failures capture by running pre-commit and parsing output with scripts/parse-output.sh
  • Sequentially fix common hook failures: ruff, tsc, eslint, vitest, and pytest, reducing manual debugging
  • Re-stage changed files to ensure clean, ready-to-push commits
  • Adaptable workflow that can be extended to additional hooks as needed

Quick Start

Run pre-commit on a failing repository and let the tool automatically fix and re-stage changes.

Dependency Matrix

Required Modules

jq

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: fix-precommit
Download link: https://github.com/jadecli/researchers/archive/main.zip#fix-precommit

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 471,000+ vetted skills library on demand.