Design event-driven Claude Code hooks

create-hookskillsetup L23
richfrem/agent-plugins-skills
What it does

Design and scaffold Claude Code event-driven hooks

Best for

Enforcing invariants or auto-approvals in Claude Code without creating a full skill

Inputs
  • · event type or use-case description
Outputs
  • · hooks.json entry or SKILL.md frontmatter with event/handler/matcher/logic
Requires
  • · validate_hook_schema.py
  • · test_hook.py
Preconditions

Event type selected from 13 supported hook events

Failure modes
  • · Unsupported event type (list valid options)
  • · runtime AI agents inside hook (scope warning)
Trust signals
  • · cross-platform python command pattern
  • · project-type guard
  • · phased design interview