<!-- AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY -->
<!-- Edit source frontmatter, then run 'erk docs sync' to regenerate. -->

# Hooks Documentation

- **[erk.md](erk.md)** — working with erk-specific hooks, understanding context-aware reminders, modifying project hooks, creating project-scoped hooks, testing hooks with @project_scoped decorator, using @project_scoped decorator, creating hooks that only fire in managed projects
- **[hooks.md](hooks.md)** — creating hooks, modifying hooks, understanding hook lifecycle
- **[pretooluse-implementation.md](pretooluse-implementation.md)** — creating a PreToolUse hook, reading tool_input from stdin JSON, detecting file types in hooks
- **[prompt-hooks.md](prompt-hooks.md)** — creating prompt hooks, customizing post-init setup, customizing CI workflow, understanding prompt hooks vs claude hooks
- **[reminder-consolidation.md](reminder-consolidation.md)** — adding a new coding standards reminder, deciding between UserPromptSubmit and PreToolUse hooks for reminders, debugging duplicate reminder output
- **[replan-context-reminders.md](replan-context-reminders.md)** — writing hooks for replan workflows, designing system reminders, implementing workflow checkpoints
