wow-lua-api

Document Lua 5.1 functions and Blizzard-specific behaviors in World of Warcraft.

39|4|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/JBurlison/WoWAddonAPIAgents --skill wow-lua-api-jburlison
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wow-lua-api
Source: https://github.com/JBurlison/WoWAddonAPIAgents/tree/main/.github/skills/wow-lua-api
Command: npx skills add https://github.com/JBurlison/WoWAddonAPIAgents --skill wow-lua-api-jburlison

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive documentation and guidance on using the Lua 5.1 environment within World of Warcraft, including Blizzard-specific differences and WoW-only additions, enabling developers to write robust and efficient addon code.

Core Features & Use Cases

  • Core Lua Function Reference: Detailed explanations of all standard Lua 5.1 functions available in WoW.
  • Blizzard-Specific Behavior: Highlights differences in function behavior (e.g., degrees vs. radians for math functions) and WoW-only helper functions.
  • Use Case: When you need to understand how string.split works in WoW, or the correct way to use math.sin with degrees, this skill provides the answer.

Quick Start

Consult the references/STRING_LIBRARY.md file for details on string manipulation functions.

Frequently Asked Questions about wow-lua-api

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

FAQPage Schema
How does the Lua 5.1 environment work in World of Warcraft addon development?

The WoW Lua 5.1 environment includes standard global functions alongside Blizzard-modified behaviors and WoW-exclusive helpers for addon development. It restricts certain standard libraries while adding specific table, string, and math functions tailored to the game client.

Why does math.sin behave differently in WoW Lua scripting?

In WoW Lua scripting, math functions like math.sin use degrees instead of radians. This Blizzard-specific behavior differs from standard Lua 5.1 and requires adjusting angle inputs to achieve correct calculations in your addon code.

How do I use string.split for WoW addon development?

To use string.split in WoW addon development, you call the WoW-exclusive helper function provided within the modified string library. This function handles string manipulation by dividing a string based on a specified delimiter pattern.

Does the World of Warcraft client support standard Lua bitwise and coroutine libraries?

The World of Warcraft client supports bitwise and coroutine libraries, but with Blizzard-specific implementations. The environment modifies standard Lua 5.1 behaviors and includes WoW-only additions to optimize performance within the game's sandboxed scripting context.

What are the limitations of using standard Lua 5.1 functions in WoW addon scripting?

Limitations in WoW addon scripting include modified behaviors for standard Lua 5.1 functions, such as math functions using degrees instead of radians. Developers must understand these Blizzard-specific differences to avoid logic errors in their addons.