About
This skill provides comprehensive guidance for working with Foundry Virtual Tabletop's Hook system, covering everything from basic event registration to advanced API creation. It helps developers navigate the complex execution order of lifecycle hooks (init, setup, ready), implement document-level triggers, and avoid common pitfalls like async-related cancellation failures and memory leaks. By providing standardized patterns for Hooks.on, call, and callAll, this skill ensures your Foundry VTT code is efficient, maintainable, and follows the latest V12+ best practices for ApplicationV2 and Document handling.