Parent Issue: #308
Agent Type: claude-code-guide
Branch: 308-feature/can-you-review-prompt-based-hooks-to-see
Task Description
Learn prompt-based hooks
Task Prompt
Explain prompt-based hooks in Claude Code in detail. I need to understand:
- What are prompt-based hooks and how do they differ from command hooks?
- How do you define a prompt-based hook in hooks.json?
- What is the structure/schema for prompt-based hooks?
- What events support prompt-based hooks (especially SubagentStop and Stop)?
- How does the prompt get executed and what context does it have access to?
- Any examples of prompt-based hooks in use
Provide comprehensive documentation with examples.
Parent Issue: #308
Agent Type: claude-code-guide
Branch:
308-feature/can-you-review-prompt-based-hooks-to-seeTask Description
Learn prompt-based hooks
Task Prompt
Explain prompt-based hooks in Claude Code in detail. I need to understand:
Provide comprehensive documentation with examples.