Command Palette

Search for a command to run...

Назад к скиллам
скилл № 20084

uefn-ui-widgets

Create and edit UEFN Widget Blueprints via MCP (widget tree, text, Verse field, MVVM bindings, animations). Use only in the lab; recipes in recipes.json.

БесплатноБез исполняемых скриптов
mimmo-the-rootот mimmo-the-root★ 27 звёзд на GitHub

Установить uefn-ui-widgets в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

uefn-ui-widgets

Sources: Claude/docs/mcp/ui-widgets.md, entry B1 of SKILLS-PROPOSAL.md, recipes.json. Cross-cutting skills to always follow: uefn-mcp-lab-guard (lab guard) e uefn-create-use-remove-one-script (create, use, remove in ONE script).

Rules

  • Asset names: copy the EXACT spelling (upper and lower case) from a listing of the project (find_assets, the Content Browser path), never from the docs or from memory. The editor accepts a wrong-case path when it loads, but a later save can rewrite the file name with that case, and the project's version control (Lore) then reports "Node name ... does not match file system name". After a write call, check that the file name on disk did not change.
  • Paths always in GUID form: {lab} = /<guid>/<project> (e.g. /09e4e8d3-.../root_ai_lab). /root_ai_lab/... is refused by the editor.
  • {bp} = {lab}/UI_X/WBP_X.WBP_X; widget parts: {bp}:WidgetTree.<Name>.
  • The guard is not bypassed: a refusal is reported as is. If a recipe fails: report the exact error and STOP (no creative retries).
  • Call: call_tool {toolset_name, tool_name, arguments} (UEFN 43.00+: the tool's own name mcp__unreal-mcp__<Toolset>_<Tool>, same arguments). After every change: CompileWidgetBlueprint and read the result (save_assets returning true is NOT enough).
  • Verse fields of a widget are seen by Verse only after Verse is built. A new or changed Widget Blueprint (new field, new widget, new blueprint) shows its fields in the Verse code only after a BuildAll (/verse-check): compile the widget (CompileWidgetBlueprint), save it, then build Verse; the digest is regenerated by that build. Do the order every time, no editor restart is needed. If the code does not see a field, you skipped or lost the build: run it (alone, one writer) and read the result; never conclude "the editor must be restarted" and never move a screen into another widget or back to canvas because of it.
  • Cleanup: AssetTools/delete {path: <bp without .Name>}.

Verified recipes

Toolset: UMGToolSet.UMGToolSet, VerseFieldsToolset.VerseFieldsToolset, MVVMToolset.MVVMToolset, WidgetAnimationToolset.WidgetAnimationToolset.

  1. UMGToolSet/CreateWidgetBlueprint {"folderPath":"{lab}/UI_X","assetName":"WBP_X","parentClass":{"refPath":"/Script/UMG.UserWidget"}}
  2. UMGToolSet/AddWidget {"widgetBlueprint":{"refPath":"{bp}"},"widgetClass":{"refPath":"/Script/UMG.Overlay"},"widgetDisplayName":"Root","parentWidget":null}; children: parentWidget {"refPath":"{bp}:WidgetTree.Root"} (the parent must be a panel).
  3. Text: UMGToolSet/ReplaceWidgetWithTemplate {"widgetBlueprint":{"refPath":"{bp}"},"widgetToReplace":{"refPath":"{bp}:WidgetTree.<Name>"},"templateClass":{"refPath":"/Game/Valkyrie/UMG/UEFN_TextBlock.UEFN_TextBlock_C"}} (the only way to get text; the widget to replace is e.g. an Image).
  4. UMGToolSet/GetWidgets {"widgetBlueprint":{"refPath":"{bp}"}}; CompileWidgetBlueprint {"widgetBlueprint":{"refPath":"{bp}"}}
  5. VerseFieldsToolset/AddVerseField {"widgetBlueprint":..,"fieldName":"Op","spec":{"type":"float","defaultValue":"0.5"}} (writeAccess only "" or <public>); cleanup RemoveVerseField.
  6. VerseFieldsToolset/BindWidgetPropertyToVerseField {"widgetBlueprint":..,"verseFieldName":"Op","targetWidget":{"refPath":"{bp}:WidgetTree.<Name>"},"widgetPropertyPath":"RenderOpacity"} -> GUID binding.
  7. MVVMToolset/CreateViewBinding {"widgetBlueprint":..,"sourceContext":null,"sourcePropertyPath":"<campo>","destinationContext":{"refPath":"{bp}:WidgetTree.<Name>"},"destinationPropertyPath":"Text","conversionName":""}; SetBindingMode {..,"bindingId":"<guid>","mode":"TwoWay"}; ListWidgetViewBindings {"widgetBlueprint":..}; cleanup RemoveWidgetViewBinding {widgetBlueprint, bindingId}.
  8. MVVMToolset/AddViewModelToWidget {"widgetBlueprint":..,"viewModelClass":{"refPath":"/Script/SimpleVotingOptionRuntime.VotingOptionViewModel"}} (returns null; no cleanup: delete the blueprint).
  9. WidgetAnimationToolset/CreateWidgetAnimation {"widgetBlueprint":..,"animationName":"FadeIn","lengthSeconds":2.0}; AddWidgetToAnimation {..,"animation":{"refPath":"{bp}:FadeIn"},"objectToBind":{"refPath":"{bp}:WidgetTree.<Name>"}}; ListWidgetAnimations {"widgetBlueprint":..}; cleanup RemoveWidgetBinding {animation, bindingGuid}, RemoveWidgetAnimation.

To try (not verified)

  • UMGToolSet/AddUIComponent (+ MoveUIComponent, RemoveUIComponent): guard-refused/rejected by the project (4 classes not allowed, 3 attempts). Do not retry.
  • MVVMToolset/AddViewModelProperty: rejected, needs a ViewModel Blueprint that no tool creates.
  • MVVMToolset/CreateViewEventBinding: unverified in recipes.json; accepts a wrong destination and the compile then fails while save_assets stays true; no tool removes the event binding.
  • ObjectTools/set_properties / get_properties on the text (values = JSON string, camelCase): described in ui-widgets.md R2, non verified in recipes.json for this too
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл uefn-ui-widgets?

Create and edit UEFN Widget Blueprints via MCP (widget tree, text, Verse field, MVVM bindings, animations). Use only in the lab; recipes in recipes.json.

Как установить скилл uefn-ui-widgets?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл uefn-ui-widgets запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить uefn-ui-widgets с