# Enforce local Git hook checks in JavaScript repos with Husky

> Use Husky to wire pre-commit, pre-push, and commit-msg checks into a repo so agents and developers run the same local guardrails before changes leave the workstation.

- Skill: `agentskillexchange/enforce-local-git-hook-checks-in-javascript-repos-with-husky` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/enforce-local-git-hook-checks-in-javascript-repos-with-husky`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/enforce-local-git-hook-checks-in-javascript-repos-with-husky/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/enforce-local-git-hook-checks-in-javascript-repos-with-husky

---


# Enforce local Git hook checks in JavaScript repos with Husky

Use Husky to wire pre-commit, pre-push, and commit-msg checks into a repo so agents and developers run the same local guardrails before changes leave the workstation.

## Prerequisites

Git, Node.js, npm or pnpm or yarn

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://github.com/typicode/husky

## Documentation

- https://typicode.github.io/husky/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/enforce-local-git-hook-checks-in-javascript-repos-with-husky/)

