# Registration hooks **🟡 Intermediate · Lesson 03** Hooks ride the registration, not the call site - pre, activation, and post hooks attach through the fluent chain and fire around instance creation. The printed order IS the documentation; the 3.14t run records the exact firing points. ## Before you run Use the [Intermediate guide](../../intermediate/index.md) for prerequisite concepts. Run from a checkout with Melder installed and Python 3.14 free-threading selected. The collection download includes the level's local helper modules. ## Run the saved script ```bash python UX_and_AIX_experiences/02_intermediate/03_registration_hooks.py ``` ```powershell py -3.14t UX_and_AIX_experiences/02_intermediate/03_registration_hooks.py ``` {download}`Download this collection <../../downloads/intermediate-examples.zip>` · [Source on GitHub](https://github.com/Synaptic724/melder/blob/0895ce795453cd87e35d70665957b4e89aad3317/UX_and_AIX_experiences/02_intermediate/03_registration_hooks.py) ## Public surface md.SpellBinder.with_pre_hook / with_activation_hook / with_post_hook ## Code ```{literalinclude} ../../downloads/02_intermediate/03_registration_hooks.py :language: python :linenos: ``` ## Check the outcome The script contains its own assertions or demonstrated refusal paths. Run it to evaluate those checks against your installed version. The code above is taken directly from the saved file; no run output is invented here. [More intermediate examples](index.md) · [Level guide](../../intermediate/index.md) ## Related guides - [Lifecycle hooks](../../intermediate/hooks.md) ## API contracts - [SpellBinder](../../reference/api/binding/spellbinder.md)