NEW Browse AI tools across categories — updated daily. See what's new →

Create Git Hook

Claude Code git hook creation workflow with project analysis, intelligent suggestions for TypeScript/Prettier/ESLint/security, auto-configuration, and testing

AuthorNeoLabHQ
Version1.0.0
LicenseMIT
Token count~703
UpdatedJun 5, 2026

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/NeoLabHQ/context-engineering-kit/tree/master/plugins/customaize-agent/skills/create-hook
Or pick agent:
npx skills add NeoLabHQ/context-engineering-kit --skill "Create Git Hook" --agent claude-code
npx skills add NeoLabHQ/context-engineering-kit --skill "Create Git Hook" --agent cursor
npx skills add NeoLabHQ/context-engineering-kit --skill "Create Git Hook" --agent codex
npx skills add NeoLabHQ/context-engineering-kit --skill "Create Git Hook" --agent opencode
npx skills add NeoLabHQ/context-engineering-kit --skill "Create Git Hook" --agent github-copilot
npx skills add NeoLabHQ/context-engineering-kit --skill "Create Git Hook" --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add NeoLabHQ/context-engineering-kit --skill "Create Git Hook"

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/NeoLabHQ/context-engineering-kit.git
cp -r context-engineering-kit/plugins/customaize-agent/skills/create-hook ~/.claude/skills/
How to use: Once installed, ask your agent to "use the Create Git Hook skill" or describe what you want (e.g. "Claude Code git hook creation workflow with project analysis, intelligent sugges"). Requires Node.js 18+.

Create Git Hook

Claude Code git hook creation workflow with project analysis, intelligent suggestions for TypeScript/Prettier/ESLint/security, auto-configuration, and testing

What is it?
Hooks let you run code at key points in Claude Code's lifecycle: format files after edits, block commands before they execute, send notifications when Claude needs input, inject context at session start, and more. For the full list of hook events, see the Hooks reference.

Each example includes a ready-to-use configuration block that you add to a settings file. The most common patterns:

  • Get notified when Claude needs input
  • Auto-format code after edits
  • Block edits to protected files
  • Re-inject context after compaction

How to use it?

Hook events fire at specific lifecycle points in Claude Code. When an event fires, all matching hooks run in parallel, and identical hook commands are automatically deduplicated. The table below shows each event and when it triggers:

EventWhen it firesSessionStartWhen a session begins or resumesUserPromptSubmitWhen you submit a prompt, before Claude processes itPreToolUseBefore a tool call executes. Can block itPermissionRequestWhen a permission dialog appearsPostToolUseAfter a tool call succeedsPostToolUseFailureAfter a tool call failsNotificationWhen Claude Code sends a notificationSubagentStartWhen a subagent is spawnedSubagentStopWhen a subagent finishesStopWhen Claude finishes responding`Pr

Key Features

  • Claude Code git hook creation workflow with project analysis, intelligent suggestions for TypeScript/Prettier/ESLint/security, auto-configuration, and testing
  • Automated workflow execution for repetitive tasks
  • Seamless integration with Claude's development workflowView on GitHub

GitHub Stats

StarsForksLast UpdateAuthorNeoLabHQLicenseGPL-3.0Version1.0.0

Categories

Developer ToolsProductivity

Tags

git-hooksautomationdeveloper-experienceclaude-codetooling

Features

Related Skills

More from Developer Tools

Project Bootstrapper

Sets up new projects with best practices across 8 areas: structure, git config, documentation, testing, code quality tools, dependencies, dev workflow, and CI/CD

350mhattingpeteDeveloper ToolsProductivity00

n8n Workflow Skills

Enables AI assistants to directly understand and operate n8n workflows

194haunchenDeveloper ToolsProductivity00

git-pushing

Automate git operations and repository interactions

350mhattingpeteDeveloper ToolsProductivity00

---

Source: https://github.com/NeoLabHQ/context-engineering-kit/tree/master/plugins/customaize-agent/skills/create-hook
Author: NeoLabHQ
License: https://www.gnu.org/licenses/gpl-3.0.html
GitHub Stars: 433
Tags: git-hooks, automation, developer-experience, claude-code, tooling

SKILL.md source

---
name: Create Git Hook
description: Claude Code git hook creation workflow with project analysis, intelligent suggestions for TypeScript/Prettier/ESLint/security, auto-configuration, and testing
---

# Create Git Hook

Claude Code git hook creation workflow with project analysis, intelligent suggestions for TypeScript/Prettier/ESLint/security, auto-configuration, and testing

What is it?
Hooks let you run code at key points in Claude Code's lifecycle: format files after edits, block commands before they execute, send notifications when Claude needs input, inject context at session start, and more. For the full list of hook events, see the Hooks reference.

Each example includes a ready-to-use configuration block that you add to a settings file. The most common patterns:

* Get notified when Claude needs input

* Auto-format code after edits

* Block edits to protected files

* Re-inject context after compaction

## How to use it?
Hook events fire at specific lifecycle points in Claude Code. When an event fires, all matching hooks run in parallel, and identical hook commands are automatically deduplicated. The table below shows each event and when it triggers:

EventWhen it fires`SessionStart`When a session begins or resumes`UserPromptSubmit`When you submit a prompt, before Claude processes it`PreToolUse`Before a tool call executes. Can block it`PermissionRequest`When a permission dialog appears`PostToolUse`After a tool call succeeds`PostToolUseFailure`After a tool call fails`Notification`When Claude Code sends a notification`SubagentStart`When a subagent is spawned`SubagentStop`When a subagent finishes`Stop`When Claude finishes responding`Pr

## Key Features

* Claude Code git hook creation workflow with project analysis, intelligent suggestions for TypeScript/Prettier/ESLint/security, auto-configuration, and testing
* Automated workflow execution for repetitive tasks
* Seamless integration with Claude's development workflowView on GitHub

### GitHub Stats
StarsForksLast UpdateAuthorNeoLabHQLicenseGPL-3.0Version1.0.0

### Categories
Developer ToolsProductivity

### Tags
git-hooksautomationdeveloper-experienceclaude-codetooling

### Features

## Related Skills
More from Developer Tools

### Project Bootstrapper
Sets up new projects with best practices across 8 areas: structure, git config, documentation, testing, code quality tools, dependencies, dev workflow, and CI/CD

350mhattingpeteDeveloper ToolsProductivity00

### n8n Workflow Skills
Enables AI assistants to directly understand and operate n8n workflows

194haunchenDeveloper ToolsProductivity00

### git-pushing
Automate git operations and repository interactions

350mhattingpeteDeveloper ToolsProductivity00

---

**Source**: https://github.com/NeoLabHQ/context-engineering-kit/tree/master/plugins/customaize-agent/skills/create-hook
**Author**: NeoLabHQ
**License**: https://www.gnu.org/licenses/gpl-3.0.html
**GitHub Stars**: 433
**Tags**: git-hooks, automation, developer-experience, claude-code, tooling

Related skills 6

tzst

★ Featured

Use when the user needs to create, extract, flatten, list, test, install, script, or troubleshoot `tzst` CLI workflows for `.tzst` or `.tar.zst` archives, including compression levels, streaming mode, extraction filters, conflict resolution, JSON output, or standalone binary setup, even if they describe the archive task without naming `tzst`.

xixu-me 152k
Productivity

xdrop

★ Featured

Use this skill when the user wants to send or fetch files through an Xdrop server from the terminal, asks to automate encrypted Xdrop share-link workflows, provides an Xdrop `/t/:transferId#k=...` link to download and decrypt locally, or needs Xdrop CLI flags such as `--quiet`, `--json`, `--expires-in`, `--output`, or `--api-url`, even if they do not explicitly mention the skill name.

xixu-me 152k
Productivity

develop-userscripts

★ Featured

Use when building, debugging, packaging, or publishing browser userscripts for Tampermonkey or ScriptCat, including GM APIs, metadata blocks, permission issues, @match/@grant/@connect setup, ScriptCat background or scheduled scripts, UserConfig blocks, or subscription workflows.

xixu-me 109k
Productivity

triage

★ Featured

Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.

mattpocock 108k
Productivity

browser-use

★ Featured

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information from web pages.

browser-use 76k
Productivity

Typefully / typefully

★ Featured Official

Create, schedule, and publish social media content across X, LinkedIn, Threads, Bluesky, and Mastodon

Typefully 23
Marketing & Sales