Lifecycle hooks and event handlers Claudary indexes 80 Hooks resources for Claude Code, free to read, copy, and adapt.
Showing 80 of 80
When a hook contains multiple independent tasks with different dependencies, split them into separate hooks.
This file extends the common hooks rule with Python specific content.
This file extends the common hooks rule with PHP specific content.
This file extends the common hooks rule with Kotlin-specific content.
docs fixes installhookwrapper.ps1 is the PowerShell helper that copies observe-wrapper.sh into .claude skills continuous-learning hooks and rewrites .claude settings.local.json so…
PreToolUse:工具执行前(验证、参数修改) PostToolUse:工具执行后(自动格式化、检查) Stop:会话结束时(最终验证)
本文档基于 common hooks.md 扩展了 C# 相关的具体内容。
本文件通过 Go 特定内容扩展了 common hooks.md。
本文件在common hooks.md的基础上扩展了Java相关的内容。
此文件在 common hooks.md 的基础上扩展了 Kotlin 相关内容。
本文件在 common hooks.md 的基础上扩展了 Perl 相关的内容。
This file extends common hooks.md with Dart and Flutter-specific content.
This file extends common hooks.md with Go specific content.
This file extends common hooks.md with Java-specific content.
This file extends common hooks.md with Perl-specific content.
This file extends common hooks.md with PHP specific content.
PreToolUse: Antes da execução da ferramenta (validação, modificação de parâmetros) - PostToolUse: Após a execução da ferramenta (auto-formatação, verificações) - Stop: Quando a se…
This file extends common hooks.md with Python specific content.
This file extends common hooks.md with Rust-specific content.
This file extends common hooks.md with Swift specific content.
This file extends common hooks.md with TypeScript JavaScript specific content.
This file extends common hooks.md with web-specific hook recommendations.
PreToolUse:工具执行前(验证、参数修改) - PostToolUse:工具执行后(自动格式化、检查) - Stop:会话结束时(最终验证)
PreToolUse: Tool yürütmeden önce (validasyon, parametre değişikliği) - PostToolUse: Tool yürütmeden sonra (auto-format, kontroller) - Stop: Session bittiğinde (final doğrulama)
Bu dosya common hooks.md dosyasını Go'ya özgü içerikle genişletir.
Bu dosya common hooks.md dosyasını Python'a özgü içerikle genişletir.
Bu dosya common hooks.md dosyasını TypeScript JavaScript'e özgü içerikle genişletir.
本文档基于 common hooks.md 扩展了 C++ 相关内容。
本文档扩展了 common hooks.md 中关于 Python 的特定内容。
此文件扩展了 common hooks.md,包含 Rust 特定内容。
此文件扩展了 common hooks.md 的内容,添加了 Swift 特定内容。
此文件扩展了 common hooks.md,并添加了 TypeScript JavaScript 特有的内容。
PreToolUse: 도구 실행 전 (유효성 검증, 매개변수 수정) - PostToolUse: 도구 실행 후 (자동 포맷, 검사) - Stop: 세션 종료 시 (최종 검증)
PreToolUse:工具執行前(驗證、參數修改) - PostToolUse:工具執行後(自動格式化、檢查) - Stop:工作階段結束時(最終驗證)
This file extends common hooks.md with Kotlin-specific content.
PreToolUse: Before tool execution (validation, parameter modification) - PostToolUse: After tool execution (auto-format, checks) - Stop: When session ends (final verification)
This file extends common hooks.md with C++ specific content.
This file extends common hooks.md with C#-specific content.
Mutation scope (from just mutants-baseline):
Community-tested workarounds for current Claude Code bugs that can affect ECC hook-heavy setups.
This document provides detailed guidance on extracting custom hooks from complex components in Dify.
Complete reference for all Claude Code hook events.
Interactively enable or disable existing hookify rules.
Display comprehensive hookify documentation.
Find and display all hookify rules in a formatted table.
FIRST: Load the hookify:writing-rules skill using the Skill tool to understand rule file format and syntax.
Create hook rules to prevent unwanted Claude Code behaviors by analyzing conversation patterns or explicit user instructions.
WordPress uses an event-driven architecture with two types of hooks:
tsx useApi - Data fetching hook function useApi (url: string) { const [data, setData] = useState (null); const [error, setError] = useState (null); const [loading, setLoading] = u…
Additionally, existing hooks may not include all the latest input fields from the documentation.
## Documentation Index > Fetch the complete documentation index at: https: code.claude.com docs llms.txt > Use this file to discover all available pages before exploring further.
此文件在 common hooks.md 的基础上扩展了 PHP 相关的内容。
PreToolUse: ツール実行前(検証、パラメータ変更) - PostToolUse: ツール実行後(自動フォーマット、チェック) - Stop: セッション終了時(最終検証)
This file extends the common hooks rule with Go specific content.
This document provides an exhaustive reference for the Gemini CLI hook system, covering configuration, JSON schemas, tool names, edge cases, version differences, and comparisons w…
Technical deep dive into how the UserPromptSubmit and PreToolUse hooks work.
Claude Code CLI v2.1.116 on Windows was failing all Bash tool hook invocations with:
朝セッションで commit 527c18b として修正済み。夜セッションで追加検証と、 朝fix でカバーしきれない Claude Code 固有のバグを特定したので補遺を記録する。
If your API just needs a Webhook event from LiteLLM, here's how to add a 'native' integration for it on LiteLLM:
Last updated: January 2026 > Covers: Cursor v1.7 through v2.3.x
Analyze the project, suggest practical hooks, and create them with proper testing.
Create and configure Claude Code lifecycle hooks with intelligent project analysis, suggestions, and automated testing.
Invoke the create-hooks skill.
Skip to main content
Endpoint: POST api webhooks claude Type: session.create
This document provides a comprehensive reference for the Claude Code hooks system, including all hook event types, JSON schemas, edge cases, known bugs, and undocumented behaviors.
Learn how to customize and extend Claude Code's behavior by registering shell commands
Build a CustomLogger callback that intercepts a model response, fulfills tool calls server-side, and reruns the model — transparently to the caller.
Captured by invoking capy hook directly with representative JSON payloads on stdin.
PreToolUse:Bash hook additional context: This Bash command may produce large output.
PreToolUse:Read hook additional context: Read is the right default.