installing-git-hooks

Community

Auto-enforce code quality with git hooks.

Authorbryonjacob
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the installation and enforcement of git hooks to run code quality checks (format, lint, typecheck) on pre-commit and to run tests on pre-push, ensuring teams maintain consistent quality gates.

Core Features & Use Cases

  • Pre-commit checks: format, lint, typecheck.
  • Pre-push checks: run tests.
  • DRY integration: hooks call justfile commands to centralize workflows across projects.

Quick Start

Follow these steps to install and activate the Git hooks:

  1. Copy the pre-commit and pre-push scripts into the .git/hooks/ directory as shown in the provided snippets.
  2. Make the scripts executable: chmod +x .git/hooks/pre-commit .git/hooks/pre-push
  3. If using the pre-commit framework, add the provided .pre-commit-config.yaml to your project and run pre-commit install.
  4. Verify that the hooks trigger on commit and push by making a small code change and committing; you should see format, lint, typecheck, and test runs.

Dependency Matrix

Required Modules

None required

Components

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: installing-git-hooks
Download link: https://github.com/bryonjacob/aug/archive/main.zip#installing-git-hooks

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.