wow-lua-api

Document Lua 5.1 functions and WoW-specific API additions for addon development.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/pfchrono/SimpleUnitFrames --skill wow-lua-api-pfchrono
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: wow-lua-api
Source: https://github.com/pfchrono/SimpleUnitFrames/tree/main/.agents/skills/wow-lua-api
Command: npx skills add https://github.com/pfchrono/SimpleUnitFrames --skill wow-lua-api-pfchrono

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive reference for the Lua 5.1 functions available within the World of Warcraft client, including Blizzard-specific differences and WoW-only additions, enabling developers to understand and utilize the game's scripting environment effectively.

Core Features & Use Cases

  • Lua Function Signatures: Detailed information on base Lua 5.1 functions.
  • WoW-Specific Behavior: Notes on differences from standard Lua (e.g., degrees vs. radians for math functions).
  • WoW-Only Helpers: Documentation for functions unique to the WoW API (e.g., strsplit, table.wipe).
  • Use Case: A WoW addon developer needs to know how to correctly use string.gmatch to parse chat messages, including any WoW-specific nuances.

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 do I use Lua 5.1 functions for World of Warcraft addon development?▼

WoW addon development uses Lua 5.1 functions alongside Blizzard-specific API additions. This reference details base math, string, table, bit, and coroutine libraries, plus WoW-only helper functions, enabling you to script game client behavior effectively.

What WoW-specific differences exist when using standard Lua functions in the game client?▼

Standard Lua functions in the WoW client have Blizzard-specific behavioral differences, such as math functions using degrees instead of radians. The API also includes unique WoW-only helpers like strsplit and table.wipe not found in standard Lua.

How do I parse chat messages with string functions in World of Warcraft scripting?▼

You parse chat messages in WoW scripting using string library functions like string.gmatch. The WoW Lua API includes specific behavioral notes for string manipulation, ensuring you handle any Blizzard-specific nuances correctly during addon development.

Does the World of Warcraft Lua environment include helper functions not in standard Lua?▼

Yes, the World of Warcraft Lua environment includes WoW-only helper functions like strsplit and table.wipe. These Blizzard-specific additions extend standard Lua 5.1 capabilities to better support game scripting and addon development tasks.

Can I use standard Lua 5.1 math functions in WoW addon scripting without modifications?▼

Standard Lua 5.1 math functions are available for WoW addon scripting, but they feature Blizzard-specific behavioral differences like using degrees instead of radians. You must account for these variations when calculating values in game scripts.