Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.

No licenceAuto-check: notesDevelopment

Install Git Hooks

skills CLI
$ npx skills add Prorise-cool/Claude-Code-Multi-Agent --skill git-hooks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Prorise-cool/Claude-Code-Multi-Agent git-hooks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Prorise-cool/Claude-Code-Multi-Agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/github-specialist/git-hooks .claude/skills/git-hooks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
git-hooks
GitHub stars
305
Token cost
~3.6k tokens
SKILL.md length
1,279 words
Files
16 (incl. references)
Skills in repo
55
Repo updated
First seen
Licence
None found

At a glance

Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.

  • Works in 9 steps: .NET/C# Workflows → JavaScript/TypeScript Workflows → Python Workflows → …
  • Setting up git hooks
  • SKILL.md covers Overview, When to Use This Skill, Quick Start Decision Tree and Framework Comparison at a Glance, plus 7 more sections
  • Runs JavaScript scripts from its folder; calls dotnet, npm and npx

What it does

Git Hooks is an agent skill from Prorise-cool/Claude-Code-Multi-Agent. Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories. Covers framework selection (Husky.Net, lefthook, Husky, pre-commit), setup workflows, Conventional Commits, semantic versioning, secret scanning (gitleaks, TruffleHog), performance optimization, CI/CD integration, testing strategies, and team collaboration patterns. Adaptive to project scale from solo developers to enterprise teams. Use for setting up git hooks…

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including reference files (for example `examples/README.md`, `examples/commitlint.config.js` and `examples/husky-javascript-package.json`).

It sits in Development, covering Linting and formatting, Secrets management and Commit messages. It works with Git, .NET, C# and JavaScript. The repository describes itself as: Claude-Code-Multi-Agent驱动的新一代AI编程助手生态系统,基于Claude Code构建的智能代理协调工作空间,实现从需求到交付的全流程自动化开发.

When your agent uses it

  • Setting up git hooks
  • Configuring pre-commit/commit-msg/pre-push hooks
  • Integrating dotnet format/dotnet test
  • ESLint/Prettier

Example prompts

  • “/git-hooks”

Requirements

  • Python 3
  • Node.js
  • Pre-approved tools (allowed-tools): Read, Bash, Glob, Grep

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. .NET/C# Workflows
  2. JavaScript/TypeScript Workflows
  3. Python Workflows
  4. Polyglot Workflows
  5. Conventional Commits & Semantic Versioning
  6. Security & Secret Scanning
  7. Performance Optimization
  8. Testing & Validation
  9. Troubleshooting

What it can do on your machine

Read from SKILL.md and the folder at commit 0dc1305. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • dotnet
    • npm
    • npx
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • alirezanet.github.io
    • github.com
    • typicode.github.io
    • pre-commit.com
    • commitlint.js.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Git Hooks loads about 3.6k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 199 tokens; SKILL.md has 1,279 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~199
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash, Glob, Grep

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,279 words (~3,564 tokens).

“This skill provides comprehensive guidance on modern git hook implementations across multiple ecosystems, with primary focus on .NET/C# and strong support for JavaScript/TypeScript and Python. It covers framework selection, setup workflows, performance optimization, security integration, testing strategies, and team collaboration…”

— opening of SKILL.md by Prorise-cool
name
git-hooks
allowed-tools
Read, Bash, Glob, Grep

Read the full SKILL.md on GitHub

Files

SKILL.md and 15 other files (references) in .claude/skills/github-specialist/git-hooks of Prorise-cool/Claude-Code-Multi-Agent.

  • SKILL.md
  • examples/README.md
  • examples/commitlint.config.js
  • examples/husky-javascript-package.json
  • examples/husky-net-dotnet-format.json
  • examples/lefthook-dotnet.yml
  • examples/lefthook-polyglot.yml
  • examples/pre-commit-python.yaml
  • references/README.md
  • references/conventional-commits.md
  • references/framework-comparison.md
  • references/performance-optimization.md
  • references/secret-scanning.md
  • references/setup-workflows.md
  • references/testing-strategies.md
  • references/troubleshooting.md

Open the folder on GitHubat commit 0dc1305

Compare with similar skills

Git Hooks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Git Hooks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Git Hooks this skillProrise-cool/Claude-Code-Multi-Agent305—~3.6kAutomated safety check: NotesNone
Precheckayutaz/piper-plus218—~647Automated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Setup Husky DotnetSebastienDegodez/copilot-instructions197—~1.3kAutomated safety check: PassApache-2.0
Conventional Commit Messagelucasvieirasilva/nx-plugins153—~1.5kAutomated safety check: PassMIT

Similar skills

  • Precheck

    ayutaz/piper-plus

    PR 作成前の lint + format + test 一括実行。引数で scope (python/rust/cs/go/js/cpp/all) を指定可能。未指定なら git diff から自動判定。

    218 GitHub stars~647 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Setup Husky Dotnet

    SebastienDegodez/copilot-instructions

    A skill your agent uses when configuring Git hooks in .NET projects before team commits occur, to enforce commit message standards and code formatting automatically

    197 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Conventional Commit Message

    lucasvieirasilva/nx-plugins

    Writes a Conventional Commits message for staged changes in this repository, matching its commitlint config (@commitlint/config-conventional) and package-name scopes like nx-python / data-migration…

    153 GitHub stars~1.5k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Supercov Security

    supercorp-ai/supercov

    Scans a repository's source for security vulnerabilities with the supercov CLI, pointing to the line of each finding and mapping it to CWE classes.

    148 GitHub starsUsed in 1 repo~236 tokens
    Testing & QAAuto-check passed

More from Prorise-cool/Claude-Code-Multi-Agent

All 55 skills in this repo
  • Setup

    Prorise-cool/Claude-Code-Multi-Agent

    Complete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL).

    305 GitHub stars~3k tokensUpdated 21 days ago
    Auto-check: notes
  • Git Config

    Prorise-cool/Claude-Code-Multi-Agent

    Comprehensive Git configuration guide covering global settings, aliases, performance tuning, credential management, maintenance, .gitattributes, clone shortcuts, and troubleshooting.

    305 GitHub stars~4.4k tokensUpdated 21 days ago
    Auto-check: notes
  • GitHub Issues

    Prorise-cool/Claude-Code-Multi-Agent

    Query and search GitHub issues using gh CLI with web fallback.

    305 GitHub stars~2.2k tokensUpdated 21 days ago
    Auto-check: notes
  • Meeting Insights Analyzer

    Prorise-cool/Claude-Code-Multi-Agent

    分析会议记录和录音,以发现行为模式、沟通洞察和可行的反馈。识别您何时避免冲突、使用填充词、主导对话或错过倾听的机会。非常适合寻求提高沟通和领导技能的专业人士。

    305 GitHub starsUsed in 19 repos~2.5k tokens
    Auto-check passed
  • Lead Research Assistant

    Prorise-cool/Claude-Code-Multi-Agent

    通过分析您的业务、搜索目标公司并提供可行的联系策略,为您的产品或服务识别高质量潜在客户。非常适合销售、业务开发和营销专业人士。

    305 GitHub starsUsed in 18 repos~1.6k tokens
    Auto-check passed
  • Competitive Ads Extractor

    Prorise-cool/Claude-Code-Multi-Agent

    从广告库(Facebook、LinkedIn 等)中提取和分析竞争对手的广告,以了解哪些消息、问题和创意方法有效。帮助激发和改进您自己的广告活动。

    305 GitHub starsUsed in 17 repos~1.9k tokens
    Auto-check passed

Questions about Git Hooks

What does Git Hooks do?

Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories. Git Hooks is an agent skill from Prorise-cool/Claude-Code-Multi-Agent.NET/C, JavaScript/TypeScript, Python, and polyglot repositories.

When should I use Git Hooks?

Git Hooks fits situations like: setting up git hooks; configuring pre-commit/commit-msg/pre-push hooks; integrating dotnet format/dotnet test; ESLint/Prettier.

How do I install Git Hooks in Claude Code?

Run `npx skills add Prorise-cool/Claude-Code-Multi-Agent --skill git-hooks -a claude-code`. Or copy the skill folder (.claude/skills/github-specialist/git-hooks in Prorise-cool/Claude-Code-Multi-Agent) into .claude/skills/git-hooks in your project. Claude Code loads it when a task matches its description.

How do I install Git Hooks in Codex?

Run `npx skills add Prorise-cool/Claude-Code-Multi-Agent --skill git-hooks -a codex`. Or copy the skill folder (.claude/skills/github-specialist/git-hooks in Prorise-cool/Claude-Code-Multi-Agent) into .agents/skills/git-hooks in your project. Codex loads it when a task matches its description.

Can I use Git Hooks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Prorise-cool/Claude-Code-Multi-Agent --skill git-hooks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/git-hooks, .gemini/skills/git-hooks, .github/skills/git-hooks and .opencode/skills/git-hooks in your project.

What does Git Hooks need to run?

Going by SKILL.md and its folder, Git Hooks needs JavaScript for the scripts in its folder and the command-line tools its instructions call (dotnet, npm, npx and pip). Our summary lists: Python 3; Node.js. Its frontmatter pre-approves these tools: Read, Bash, Glob, Grep.

Does Git Hooks access the network?

SKILL.md names 5 domains. As links in the text: alirezanet.github.io, github.com, typicode.github.io, pre-commit.com and commitlint.js.org. This is read from the text; nothing was executed.

Is Git Hooks safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Git Hooks use?

No licence was found for Git Hooks or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Git Hooks use?

About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Git Hooks?

Skills that share tags, products or a category with Git Hooks: Precheck (ayutaz/piper-plus, 218 stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Saleor Commit Workflow (saleor/saleor, 23k stars) and Setup Husky Dotnet (SebastienDegodez/copilot-instructions, 197 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Git Hooks?

Prorise-cool (a GitHub user) maintains it in Prorise-cool/Claude-Code-Multi-Agent, which has 305 GitHub stars. The repository holds 55 skills in this directory. The repository was last updated on September 16, 2026.

Source: Prorise-cool/Claude-Code-Multi-Agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.