Hooks & Guardrails
How FlyDocs hooks enforce standards automatically — context injection, auto-formatting, and script approval.
Hooks are deterministic scripts that fire automatically in response to events. They're not suggestions the AI might follow. They run every time, whether the AI pays attention or not.
Built-in hooks
FlyDocs ships with three hooks:
Built-in Hooks
Why hooks matter
Every AI tool lets you write instructions. A 400-line instructions file is a suggestion; the AI might follow it, might not. Hooks are the enforcement layer: they handle the deterministic stuff (formatting, context, approvals) so the AI can focus on the creative work: solving problems and delivering value.
Stay in the loop
We're building new hook types and expanding the enforcement layer. Join the Discord for upcoming features, support, and early access to what's next.
Next
- Skills: platform skills, community skills, and progressive disclosure
- Context & Sessions: persistent context and session continuity
- Workflow Lifecycle: the repeatable lifecycle from capture to close