# git-hooks

> Use this tool when you need to set up Git hooks for your repository. It manages pre-commit, commit-msg, and pre-push hooks with easy configuration, ensuring code quality checks run automatically before commits and pushes.

Canonical page: https://skillsregistry.net/skills/git-hooks  
JSON: https://api.skillsregistry.net/v1/skills/git-hooks

## Description

Git hook manager. Configure and share pre-commit, commit-msg, and pre-push hooks across the team with zero configuration.

## Trust

- **Trust score (0–1):** 0.30
- **Verification tier:** unverified
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 9.0.0
- **Skill type:** atomic
- **Execution layer:** worker
- **Runtime environment:** api
- **Category:** version-control
- **Tags:** git, hooks, automation, code-quality
- **Updated:** 2026-09-02

## Source

- **Source listing:** MCP Registry

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "git-hooks"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/git-hooks` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/git-hooks/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
