hook-debugging

Community

Diagnose Claude Code hooks quickly and reliably.

AuthorAlex1980Alex
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Claude Code hook debugging is a structured method to identify why a hook does not fire in a real session, isolating issues from startup failures, stdin handling, or import errors.

Core Features & Use Cases

  • Canary-based startup verification to confirm the hook process is actually invoked.
  • File-based logging to capture diagnostics across runs and environments.
  • Manual stdin testing and subprocess wrappers to validate inputs and execution paths.
  • A comprehensive diagnostic checklist guiding step-by-step investigation during debugging.
  • Clear guidance to avoid creating hooks or debugging known Claude Code bugs.

Quick Start

Run the canary test to verify the hook starts, then review logs and perform a manual stdin test to reproduce and diagnose the issue.

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-debugging
Download link: https://github.com/Alex1980Alex/1C-Enterprise_Framework/archive/main.zip#hook-debugging

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.