s-research
使用 CLI 工具、暴雪 UI 源代码和文档研究《魔兽世界》插件开发主题。涵盖 API 发现、模式研究和 Ace3 使用。在调查不熟悉的 API、查找暴雪模式或学习时使用。触发器:研究、查找、搜索、API、暴雪 UI、文档、Ace3。
📖 中文导读:使用 CLI 工具、暴雪 UI 源代码和文档研究《魔兽世界》插件开发主题。涵盖 API 发现、模式研究和 Ace3 使用。在调查不熟悉的 API、查找暴雪模式或学习时使用。触发器:研究、查找、搜索、API、暴雪 UI、文档、Ace3。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: s-research description: > Research WoW addon development topics using CLI tools, Blizzard UI source, and documentation. Covers API discovery, pattern research, and Ace3 usage. Use when investigating unfamiliar APIs, finding Blizzard patterns, or learning. Triggers: research, find, search, API, Blizzard UI, documentation, Ace3.
Researching WoW APIs
Expert guidance for discovering and understanding World of Warcraft APIs and patterns.
Related Commands
- c-research - API research workflow
CLI Commands (Use These First)
MANDATORY: Always use CLI commands before manual exploration.
| Task | Command |
|---|---|
| Search APIs (Offline) | mech call api.search -i '{"query": "*Spell*"}' |
| API Info | mech call api.info -i '{"api_name": "C_Spell.GetSpellInfo"}' |
| List by Namespace | mech call api.list -i '{"namespace": "C_Spell"}' |
| Search Icons | mech call atlas.search -i '{"query": "sword"}' |
| API Stats | mech call api.stats |
Capabilities
- API Discovery — Search 5000+ WoW APIs offline using static definitions
- Blizzard UI Research — Find patterns in Blizzard's own Lua source code
- Ace3 Patterns — Guidance on using common addon libraries (AceDB, AceEvent, etc.)
- Icon/Atlas Search — Find UI assets and textures by name
Routing Logic
| Request type | Load reference |
|---|---|
| Offline API lookup patterns | references/api-research.md |
| Blizzard UI source patterns | references/blizzard-ui.md |
| Ace3 library patterns | references/ace3-patterns.md |
| CLI Reference | ../../docs/cli-reference.md |
Quick Reference
Search WoW APIs
mech call api.search -i '{"query": "GetItem*", "namespace": "C_Item"}'
Get Detailed API Info
mech call api.info -i '{"api_name": "C_Spell.GetSpellInfo"}'
Search Icons
mech call atlas.search -i '{"query": "sword", "limit": 10}'
Best Practices
- Search First: Use
api.searchbefore guessing API names. - Audit Blizzard: Use ripgrep on local wow-ui-source to see how Blizzard uses an API.
- Namespace Awareness: Most modern APIs are in
C_namespaces (e.g.,C_Timer,C_Spell).