This is the complete technical reference for Claude Code's hook system. If you're writing hooks, you need this. It documents all 11 hook types with exact input/output JSON schemas, explains which hooks can block execution versus just inject context, and covers registration patterns in settings.json. The critical details are here: PostToolUse uses tool_response not tool_result, Stop hooks require checking stop_hook_active to avoid infinite loops, and SessionStart can persist environment variables through CLAUDE_ENV_FILE. It's organized as a quick reference table plus detailed schemas for each hook type. Bookmark this if you're doing any serious hook development, it'll save you from guessing at field names.

skills.sh installs
506
GitHub stars
3.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill hook-developer --agent claude-code

Installs into .claude/skills of the current project.

Files

Hook Developer

Complete reference for developing Claude Code hooks. Use this to write hooks with correct input/output schemas.

When to Use

  • Creating a new hook
  • Debugging hook input/output format
  • Understanding what fields are available
  • Setting up hook registration in settings.json
  • Learning what hooks can block vs inject context

Quick Reference

Sponsors

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Frontend Development, Testing & QA
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108
1freestylefly avatarcanghe-format-markdownfreestylefly/canghe-skillsFormats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "beau505skills.sh installs
2jezweb avataraccessibilityjezweb/claude-skillsBuild WCAG 2.1 AA compliant websites with semantic HTML, proper ARIA, focus management, and screen reader support. Includes color contrast (4.5:1 text), keyboar505skills.sh installs
3freestylefly avatarremotion-best-practicesfreestylefly/canghe-skillsBest practices for Remotion - Video creation in React503skills.sh installs
4jezweb avatartanstack-tablejezweb/claude-skillsBuild headless data tables with TanStack Table v8. Server-side pagination, filtering, sorting, and virtualization for Cloudflare Workers + D1. Prevents 12 docum502skills.sh installs
5andreadellacorte avatargroove-admin-claude-statuslineandreadellacorte/grooveInstall a rich Claude Code statusline into ~/.claude/hooks/ and ~/.claude/settings.json. Displays model, git context, token usage, effort level, 5h/7d usage lim501skills.sh installs
6mhattingpete avatararchitecture-diagram-creatormhattingpete/claude-skills-marketplaceCreate comprehensive HTML architecture diagrams showing data flows, business objectives, features, technical architecture, and deployment. Use when users reques500skills.sh installs