hook-creator

Community

Automate workflows with event-driven Claude Code hooks.

Authorjbabin91
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manually configuring event-driven hooks for Claude Code can be tricky, requiring precise JSON formatting and a deep understanding of event types and filters. This Skill simplifies the creation of hooks, enabling seamless automation of tasks based on specific Claude Code events, saving you from repetitive manual actions.

Core Features & Use Cases

  • Event-Driven Automation: Generates hooks that trigger shell commands or scripts before/after user prompts, tool calls (like file writes), or session start/end events.
  • Workflow Integration: Perfect for automating code formatting on save, running type checks before commits, validating API schemas after changes, or triggering accessibility checks on component edits.
  • Use Case: You want to ensure all TypeScript files are automatically formatted and linted every time they are saved. Use this Skill to create a hook that triggers prettier --write $FILE && eslint --fix $FILE after a Write tool call on *.ts files, ensuring consistent code quality without any manual intervention.

Quick Start

Example: Create a hook to format files on save

First, ensure the 'skill-tools' plugin is installed:

/plugin install skill-tools

Then, in Claude Code, simply ask:

"Create a hook to automatically format TypeScript files after I save them."

The skill will prompt for the event type, command to run, and specific filters.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hook-creator
Download link: https://github.com/jbabin91/super-claude/archive/main.zip#hook-creator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.