wow-addon-structure

Plan World of Warcraft AddOn structures with .toc metadata and SavedVariables.

1|Updated Aug 13, 2024
One-click install
npx skills add https://github.com/Alzakath/Ruilhenn --skill wow-addon-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wow-addon-structure
Source: https://github.com/Alzakath/Ruilhenn/tree/main/.gemini/skills/wow-addon-structure
Command: npx skills add https://github.com/Alzakath/Ruilhenn --skill wow-addon-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to structuring World of Warcraft AddOns, ensuring correct metadata, loading order, and data persistence.

Core Features & Use Cases

  • AddOn Structure: Understand folder layouts, naming conventions, and file organization.
  • Metadata & Loading: Master .toc file directives, loading lifecycles, and event handling.
  • Data Persistence: Learn how to declare and manage SavedVariables for account-wide and per-character data.
  • API Usage: Utilize C_AddOns functions for querying and managing AddOn states.
  • Use Case: When planning a new WoW AddOn, use this Skill to design the optimal folder structure, create a robust .toc file, and ensure your SavedVariables are correctly implemented.

Quick Start

Use the wow-addon-structure skill to learn how to declare SavedVariables in a .toc file.

Frequently Asked Questions about wow-addon-structure

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

FAQPage Schema
How do I structure a World of Warcraft AddOn folder and .toc file correctly?

To structure a WoW AddOn, organize your folder layout with specific naming conventions and author a `.toc` file containing required metadata directives to ensure proper loading order and lifecycle management.

How do I save data in a WoW addon using SavedVariables?

To save data in a WoW AddOn, declare `SavedVariables` in your `.toc` file to manage data persistence, allowing you to store account-wide or per-character data across game sessions.

What is the .toc format used for in WoW addon development?

The `.toc` format defines World of Warcraft AddOn metadata and directives, controlling file loading order, dependency management, and event handling during the AddOn loading lifecycle.

How do I query and manage addon states using the Blizzard API?

You can query and manage AddOn states using `C_AddOns` functions provided by the Blizzard API, which allow you to check loading conditions and control AddOn management programmatically.

Can I inspect Blizzard UI source code to understand WoW addon API usage?

Yes, you can inspect the Blizzard UI source code to understand API usage and internal mechanics, which provides detailed references for implementing your AddOn architecture and event handling.

Why are my WoW addon files loading out of order?

WoW AddOn files load out of order when `.toc` file directives are incorrectly configured, making proper metadata authoring essential to control the loading lifecycle and dependency resolution.