unity-ui
Installation
SKILL.md
Unity UI Skills
Use this module for Unity UGUI / Canvas workflows. It is separate from UI Toolkit.
Batch-first: Prefer
ui_create_batchwhen creating2+UI elements.
Operating Mode
- Approval:查询类 skill(
ui_find_all,源码标SkillMode.SemiAuto)直接执行;其余创建/修改类(ui_create_*/ui_set_*/ui_add_*/ui_layout_children/ui_align_selected等,标SkillMode.FullAuto)需用户 grant,grant 后服务端一步执行返结果。 - Auto / Bypass:所有 skill 直接执行;Auto 走 AI 自我评估,Bypass 全放行。
- 本模块不含 Delete / PlayMode / Reload / 高危 skill,无 Bypass-only 拦截项。删除 UI 节点请走
gameobject模块。
DO NOT (common hallucinations):
ui_add_canvasdoes not exist -> useui_create_canvasui_create_labeldoes not exist -> useui_create_textui_create_checkboxdoes not exist -> useui_create_toggleui_set_colordoes not exist -> usecomponent_set_propertyonImage/Text, or the dedicated UI property skills when available- Do not confuse UGUI (
ui) with UI Toolkit (uitoolkit)