git-hooks-manager

Automate Git hook setup for pre-commit, pre-push, and commit-msg workflows.

35|5|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/glincker/claude-code-marketplace --skill git-hooks-manager-glincker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-hooks-manager
Source: https://github.com/glincker/claude-code-marketplace/tree/main/skills/automation/git-hooks-manager
Command: npx skills add https://github.com/glincker/claude-code-marketplace --skill git-hooks-manager-glincker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the enforcement of code quality standards and best practices by setting up and managing Git hooks, preventing common issues before they are committed or pushed.

Core Features & Use Cases

  • Automated Checks: Integrates linters, formatters, and test runners into your Git workflow.
  • Project Type Detection: Automatically configures hooks for Node.js (Husky), Python (pre-commit), or manual setups.
  • Use Case: Ensure all code is formatted correctly, linting errors are caught, and tests pass before any commit or push occurs, maintaining a clean and consistent codebase.

Quick Start

Set up git hooks for my Node.js project to enforce linting and formatting.

Frequently Asked Questions about git-hooks-manager

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

FAQPage Schema
How do I automate code quality checks with git hooks before committing?

You can automate code quality checks by configuring git hooks to run linters, formatters, and tests before commits. This workflow prevents formatting issues and linting errors from entering the codebase.

Does pre-commit work with both Python and Node.js projects?

Pre-commit works with both Python and Node.js projects through automated project type detection. It configures Husky for Node.js environments and pre-commit for Python setups respectively.

How do I validate commit messages using a pre-commit hook?

You validate commit messages by configuring a commit-msg hook with tools like Commitlint. This enforces consistent commit message standards before any code is pushed to the repository.

What is the best way to run ESLint and Prettier automatically before a git push?

The best way to run ESLint and Prettier automatically is by setting up a pre-push git hook. This integrates the linters and formatters directly into your workflow to catch errors early.

How do I enforce Python code formatting with Black and Flake8 in git hooks?

You enforce Python formatting by integrating Black and Flake8 into a pre-commit git hook. This automatically formats code and checks for linting errors before any Python code is committed.

Why should I use git hooks for testing instead of running tests manually?

Using git hooks for testing ensures tests pass automatically before pushes occur, maintaining a consistent codebase. This prevents untested or broken code from reaching shared repository branches.