Installable skillMIT

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.

BY agentskillexchangeUPDATED Oct 28, 2026
INTENDED FOR>_CodexInstall in a listed agent.

instructions.md

---
name: enforce-local-git-hook-checks-in-javascript-repos-w-f43a2fac0959
slug: "enforce-local-git-hook-checks-in-javascript-repos-with-husky"
description: "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."
github_stars: 34988
verification: "listed"
source: "https://github.com/typicode/husky"
author: "typicode"
publisher_type: "open_source"
category: "Templates & Workflows"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "typicode/husky"
  github_stars: 34988
  npm_package: "husky"
  npm_weekly_downloads: 25702615
---

# 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/)
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.