Generate a complete AHK v2 GUI from a natural language description. Creates class-based, mathematically positioned GUIs with proper event binding. TRIGGER when: user says "generate a GUI", "build me a window", "create a dialog", "make a form", "design a settings panel", "build a tool with UI".
COM automation and interop for AHK v2 — driving Excel / Word / WMI / Internet Explorer via IDispatch, COM events, ComValue / SafeArrays, and direct vtable ComCall. Use when automating another application, wiring COM events, or calling a COM interface. TRIGGER when: user says "automate Excel/Word", "COM object", "ComObject", "ComCall", "WMI query", "COM event", "IDispatch", "SafeArray", "ComValue", "VARIANT". Examples: "automate Excel from AHK", "query WMI for processes", "hook IE navigation events"
Native calls and raw memory for AHK v2 — DllCall to Windows/native APIs, Buffer + NumGet/NumPut for structs, StrPut/StrGet, CallbackCreate, and the alpha.30 typed Struct. Use when calling a DLL/WinAPI function, building or reading a struct, or passing a callback to native code. TRIGGER when: user says "DllCall", "call a Windows API", "Buffer", "NumPut/NumGet", "struct", "pointer", "CallbackCreate", "StrGet/StrPut", "marshal", "user32/kernel32". Examples: "call GetCursorPos", "build a RECT struct", "pass a callback to EnumWindows"
Search AHK v2 documentation for a function, method, directive, or concept. Returns relevant documentation excerpts with syntax and examples. TRIGGER when: user says "docs for", "how does X work in AHK", "AHK docs", "look up", "what is the syntax for", "documentation".
Load AHK v2 error diagnosis, debugging, and fix knowledge. Use when diagnosing errors, fixing broken scripts, or debugging unexpected behavior. TRIGGER when: user mentions error, crash, broken, not working, debug, exception, TypeError, UnsetError, ValueError, OSError, syntax error, runtime error, fix, problem, issue, thrown, try, catch, troubleshoot, bug, fail, undefined, wrong output, unexpected behavior. Examples: "fix this error", "script crashes on startup", "UnsetError on line 42", "debug this"
Load AHK v2 GUI knowledge for window creation, layout, controls, events, and dark mode. Use when creating or modifying GUIs, positioning controls, handling events, or applying themes. TRIGGER when: user mentions gui, window, dialog, control, layout, button, ListView, ComboBox, dark mode, OnEvent, OnSize, positioning, resize, menu, toolbar, tab, checkbox, radio, edit, text, statusbar, form, modal, popup, theme, style, color. Examples: "create a GUI", "add a button", "fix overlapping controls", "dark mode window", "resize handler"
Load AHK v2 OOP knowledge for class design, objects, arrays, and dynamic properties. Use when working with classes, inheritance, objects, arrays, Map, prototypes, or property descriptors. TRIGGER when: user mentions class, object, inheritance, extends, super, property, DefineProp, Array, Map, prototype, __New, __Delete, static, nested class, factory, collection, filter, reduce, sort, bind, callback, descriptor. Examples: "create a class", "add inheritance", "use Map for storage", "filter an array", "define a property getter"
Load comprehensive AHK v2 reference covering all domains — OOP, GUI, text, errors, data structures. Use as a general-purpose fallback when no specific domain skill applies, or when the task spans multiple areas. TRIGGER when: user mentions #Include, library, import, reference, comprehensive, overview, data structures, Map, key-value, dictionary, storage, settings, configuration, how does AHK, general AHK question, jsdoc, document, annotate, add docs, docstring, comment style, api docs. Examples: "how do #Includes work", "AHK v2 overview", "data structure for settings", "general reference", "add JSDoc", "document this class", "annotate the API"