troubleshoot-precommit

Community

Fix pre-commit hook errors

AuthorJacobPEvans
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers quickly diagnose and resolve issues encountered with pre-commit hooks during the code commit process, ensuring a smoother workflow.

Core Features & Use Cases

  • Error Diagnosis: Identifies common pre-commit hook failures, such as modified files after auto-correction.
  • Resolution Guidance: Provides step-by-step instructions for fixing hook-related commit errors, including scenarios during rebase operations.
  • Debugging Tips: Offers methods to inspect changes and understand hook behavior to prevent infinite loops.
  • Use Case: When a commit fails due to markdownlint-cli2 modifying files, this Skill guides you to stage the changes, amend the commit, and continue the process.

Quick Start

Use the troubleshoot-precommit skill to fix pre-commit hook errors after a failed commit.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: troubleshoot-precommit
Download link: https://github.com/JacobPEvans/claude-code-plugins/archive/main.zip#troubleshoot-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 223,000+ vetted skills library on demand.