installing-git-hooks
CommunityAuto-enforce code quality with git hooks.
Software Engineering#automation#pre-commit#code-quality#git hooks#justfile#pre-push#development-workflow
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:
- Copy the pre-commit and pre-push scripts into the .git/hooks/ directory as shown in the provided snippets.
- Make the scripts executable: chmod +x .git/hooks/pre-commit .git/hooks/pre-push
- If using the pre-commit framework, add the provided .pre-commit-config.yaml to your project and run pre-commit install.
- 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 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: 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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.