Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Prompt-Based Hooksの罠

Avatar for natsuume natsuume
December 21, 2025
110

Prompt-Based Hooksの罠

Avatar for natsuume

natsuume

December 21, 2025
Tweet

Transcript

  1. 自己紹介 HN:natsuume Twitter(X):@_natsuume 所属:Gen-AX株式会社 技術書典18にて「Claude Code × MCP Serverの手引き」で出展 -

    「第10回 刺され!技術書アワード」大賞に選出 インプレス NextPublishing 技術の泉シリーズより Claude Codeの書籍を刊行予定 (物理本は POD)
  2. Prompt-Based Hooksはどこで使える? > Prompt-based hooks are currently only supported for

    Stop and SubagentStop hooks, where they enable intelligent, context-aware decisions. > プロンプトベースのフックは現在 Stopと SubagentStopフックのみでサポートされており、イ ンテリジェントでコンテキスト認識の決定を可能に します。 > Prompt-based hooks work with any hook event, but are most useful for: … > プロンプトベースのフックはすべてのフックイベン トで機能しますが、以下に最も有用です: ...
  3. Prompt-Based Hooksはどこで使える? > Prompt-based hooks are currently only supported for

    Stop and SubagentStop hooks, where they enable intelligent, context-aware decisions. > プロンプトベースのフックは 現在Stopと SubagentStopフックのみでサ ポートされており、インテリジェントでコンテキス ト認識の決定を可能にします。 > Prompt-based hooks work with any hook event, but are most useful for: … > プロンプトベースのフックは すべてのフック イベントで機能します が、以下に最も有 用です:...
  4. 現時点でPrompt-Based Hooksをどこで使うべきか 公式リファレンスでは… - Stop: Intelligently decide if Claude should

    continue working - SubagentStop: Evaluate if a subagent has completed its task - UserPromptSubmit: Validate user prompts with LLM assistance - PreToolUse: Make context-aware permission decisions - PermissionRequest: Intelligently allow or deny permission dialogs