Unverified22% confidenceFactTime unknown
Claude Code Hooks consists of two parts: a Matcher (trigger condition) and Hook behavior (containing two fields: type and execution event).
1
Sources
22%
Confidence
Long-term
Relevance
6/2/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedClaude Code Hooks支持三种类型:Command(命令型)、Prompt(提示型)和Agent(智能体型)79% similarUnverifiedClaude Code's Hooks mechanism consists of three parts: lifecycle events, matchers and scripts.77% similarUnverifiedClaude Code Hooks的设计理念借鉴了Git Hooks的事件回调机制75% similarUnverifiedClaude Code v2.1.294 is a minor update focused on stability and behavioral fixes, centered on the instruction-parsing logic of prompt hooks and agent hooks.72% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/36334API
curl https://kongchang.com/api/v1/knowledge/claims/36334MCP
get_claim(id=36334)