Favicon of claude-hooks (TypeScript)

claude-hooks (TypeScript)

A TypeScript toolkit for building Claude Code hooks — typed event payloads and a structured project setup instead of ad-hoc shell scripts.

How to Install Hooks

  1. Copy the hook configuration using the button below
  2. Add to your .claude/hooks/ directory in your project
  3. Save the hook as an executable script with appropriate permissions
  4. The hook will trigger on the specified events in your Claude Code workflows
From John Lindquist (founder of egghead.io), claude-hooks brings a proper developer experience to hook authoring: scaffold a hooks project, get typed definitions for hook event payloads, and write hooks as TypeScript functions rather than untyped shell one-liners.

If your hooks are growing past simple guards — enforcing commit conventions, routing notifications, validating tool inputs — types catch the schema mistakes that silently break shell-script hooks.

**Install:** `npx claude-hooks` in your project, then follow the generated setup.
Categories:

Share:

Ad
Favicon

 

  
 

Similar to claude-hooks (TypeScript)

Favicon

 

  
  
Favicon

 

  
  
Favicon