wow-event-handling

Standardize World of Warcraft addon event registration, dispatch, and lifecycle patterns.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Xerrion/opencode --skill wow-event-handling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wow-event-handling
Source: https://github.com/Xerrion/opencode/tree/main/skills/wow-event-handling
Command: npx skills add https://github.com/Xerrion/opencode --skill wow-event-handling

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

WoW addon developers often struggle to implement reliable event handling across frames, dispatch patterns, and lifecycle bootstrapping.

Core Features & Use Cases

  • Raw event registration and frame lifecycle patterns for stable addons.
  • Dispatcher patterns (method and table dispatch) for clean event handling across events like PLAYER_LOGIN and LOOT_OPENED.
  • AceEvent-3.0 integration guidance for robust addon initialization, event binding, and cleanup.
  • ADDON_LOADED bootstrap guidance and combat lockdown guardrails to keep addons responsive and safe in combat.

Quick Start

Set up a basic OnEvent handler to register and respond to a few sample WoW events.

Frequently Asked Questions about wow-event-handling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register WoW addon events reliably using frame lifecycle patterns?

WoW addon event registration uses standardized frame lifecycle patterns to ensure stable dispatch and clean lifecycle management. This approach applies structured setup and cleanup to keep simple and complex addons responsive.

What is the best way to dispatch WoW events like PLAYER_LOGIN and LOOT_OPENED in Lua?

WoW event dispatch in Lua is best handled through method or table dispatcher patterns. These cleanly route events like PLAYER_LOGIN and LOOT_OPENED to specific handlers, ensuring orderly event sequencing across addon modules.

Does AceEvent-3.0 work well for addon initialization and event cleanup?

AceEvent-3.0 integration provides robust addon initialization, event binding, and cleanup. The Skill guides AceEvent usage to enforce structured setup and teardown, ensuring scalable dispatch without leaking handlers across lifecycles.

How do I handle ADDON_LOADED bootstrap and combat lockdown restrictions in WoW addons?

ADDON_LOADED bootstrap and combat lockdown guardrails keep WoW addons safe and responsive. The bootstrap pattern initializes events after load, while combat safeguards prevent restricted API calls during combat to avoid errors.

Why does my WoW addon event handler fire multiple times or fail during combat lockdown?

WoW addon event handlers fail or duplicate due to unstructured registration and missing combat lockdown guardrails. Standardizing dispatch patterns and applying combat safeguards prevents duplicate processing and restricted API failures.