Agent Skills: Hooks Manager

Manage Claude Code hooks for workflow automation. Create, configure, test, and debug hooks that execute at various lifecycle points. Supports all hook events (PreToolUse, PostToolUse, SessionStart, etc.) with examples and best practices.

UncategorizedID: resolve-io/.prism/hooks-manager

Install this agent skill to your local

pnpm dlx add-skill https://github.com/resolve-io/.prism/tree/HEAD/plugins/prism-devtools/skills/hooks-manager

Skill Files

Browse the full folder contents for hooks-manager.

Download Skill

Loading file tree…

plugins/prism-devtools/skills/hooks-manager/SKILL.md

Skill Metadata

Name
hooks-manager
Description
Create, configure, test, and debug Claude Code hooks for lifecycle automation across 9 event types.

Hooks Manager

Manage Claude Code lifecycle hooks for deterministic workflow automation.

Steps

  1. Identify the hook event type needed (PreToolUse, PostToolUse, Stop, etc.)
  2. Configure hook entry in hooks/hooks.json using ${PRISM_DEVTOOLS_ROOT} for paths
  3. Write hook script with proper exit code handling (0=success, 2=blocking error)
  4. Test with sample input using *test-hook and validate with *validate-config
  5. Deploy and verify integration with PRISM workflow

For detailed instructions, see instructions.md.