Unverified50% confidenceFactExact time
Claude Code's Hooks mechanism consists of three parts: lifecycle events, matchers and scripts.
1
Sources
50%
Confidence
Long-term
Relevance
10/20/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedClaude Code Hooks consists of two parts: a Matcher (trigger condition) and Hook behavior (containing two fields: type and execution event).77% similarUnverifiedClaude Code 的插件系统(hooks 机制)允许第三方开发者在特定生命周期节点注入自定义逻辑76% similarUnverifiedClaude Code Hooks支持三种类型:Command(命令型)、Prompt(提示型)和Agent(智能体型)73% similarUnverifiedClaude Code Hooks的设计理念借鉴了Git Hooks的事件回调机制73% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1076586API
curl https://kongchang.com/api/v1/knowledge/claims/1076586MCP
get_claim(id=1076586)