Создание и настройка хуков для Claude Code
★ 8.0 · vibe-coding
creating-claude-hooks is a Claude Code skill that guides creating, improving, and publishing hooks — automated reactions to session lifecycle events. It covers all available event types (PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, Stop, and more), two configuration formats — JSON-based settings.json and legacy executable files — plus exit codes, tool matchers, timeouts, and PRPM package structure. Both fast command hooks (shell scripts, TypeScript) and slower LLM-powered prompt hooks for complex validation are supported. Ideal for developers who need to block unwanted operations, log tool activity, enforce permission checks, or run post-write file formatting automatically.