Skip to content

Commit e9cbd68

Browse files
committed
docs(skill): track addon API globals
1 parent e558480 commit e9cbd68

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

  • .codex/skills/wagoui-libaddonprofiles-integration

.codex/skills/wagoui-libaddonprofiles-integration/SKILL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@ Keep the new entry near the other recent module entries unless the surrounding o
175175

176176
Also add the module name to the `defaultSortOrder` list in `WagoUI_Creator/modules/generic.lua` so the creator UI can place the addon correctly in the generic module list.
177177

178+
## Update Lua Diagnostics Globals
179+
180+
Add the target addon's verified public API global to `.luarc.json` under `diagnostics.globals` so Lua diagnostics recognize the wrapper calls.
181+
182+
Use the exact global table from the installed addon source, such as `EXBossWagoAPI`, `BuffRemindersAPI`, or `Ayije_CDM_API`. Do not add guessed aliases or internal locals.
183+
184+
Preserve the existing `.luarc.json` shape and append only when the global is missing.
185+
178186
## Validate Before Finishing
179187

180188
Confirm all of the following:
@@ -184,7 +192,8 @@ Confirm all of the following:
184192
3. No invented addon globals or methods appear in the module.
185193
4. `load.xml` includes the new module.
186194
5. `WagoUI_Creator/modules/generic.lua` includes the module name in `defaultSortOrder`.
187-
6. The module fields come from real addon metadata or real source findings.
195+
6. `.luarc.json` includes the verified addon API global used by the module.
196+
7. The module fields come from real addon metadata or real source findings.
188197

189198
## Concrete Good Examples
190199

0 commit comments

Comments
 (0)