跳到正文
cccskills
免费在 GitHub 公开

unity-ui-build

DeedPlanner 3 overlay for implementing approved UI mockups as real uGUI. Use with ui and ui-ugui when turning a design into panels, buttons, or palettes; owns project-specific prefab reuse, MVP wiring, and verification.

中文简介正在准备中。当前显示原文说明。

Warlander/DeedPlanner-3星标 26(GitHub 26 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Unity UI Build — DeedPlanner Overlay

Load ui and ui-ugui first for generic Unity UI guidance. This skill adds or overrides only DeedPlanner-specific rules. Pair it with unity-ui-screenshot for before/after capture.

AGENTS.md owns the project-wide rules: MVP, .meta GUID preservation, Unity CLI usage, and the verification ladder.

DeedPlanner overrides to ui-ugui

  • Match existing C# imports; fully qualify UI types only where ambiguity requires it and always in CLI eval code.
  • Keep C# with its owning module, not beside prefabs. Updater views live in Assets/Warlander/Deedplanner/Editing/<Tab>/; shared UI lives under Ui/<Feature>/; bridge widgets live under Bridges/Widgets/.
  • Keep prefabs in the established Assets/Prefabs/ hierarchy.
  • Fix existing hierarchy objects in place. Deliberate, approved removal of dead UI is allowed after updating serialized references.

Prefab rules (owned here, non-negotiable)

  • Reuse existing prefabs. Before building UI, check Assets/Prefabs/ for a similar control: Assets/Prefabs/Gui/Simple Button.prefab, Assets/Prefabs/Gui/Icon and Text Toggle Button.prefab, tab panels in Assets/Prefabs/MainScene/Tabs/, and tree/search composites. Never hand-build what a prefab already does.
  • Wire inside the parent prefab context, never as scene overrides. If the things being wired live inside a prefab, edit that prefab, not the scene instance.
  • Delete dead UI from prefabs. Never disable with SetActive(false) and leave it — remove unused objects outright.
  • New tab panels follow the * Tab.prefab convention with a UIContentTab component (serialized tab int must match the Tab enum value).

MVP wiring specifics

  • Keep each view and its I*View interface with the owning module path described above.
  • Register in Composition/MainSceneLifetimeScope.cs: view via RegisterComponentInHierarchy, presenter via RegisterEntryPoint. Updaters register .As<IUpdater>() (add .AsSelf() if presenters depend on the concrete updater, like BridgesUpdater).
  • Input: reuse the shared UpdatersShared action map (LMB place / RMB delete) — no new bindings without asking.

Editing via CLI (connected Editor)

Discover names with unity list. Useful commands: create_gameobject, add_component, set_parent, set_transform, set_serialized_field, instantiate_prefab, set_active, rename_gameobject, delete_gameobject, save_prefab_contents, save_scene. Prefer prefab-stage edits, then save_prefab_contents. Use move_asset/rename_asset for file moves (CLAUDE.md's GUID rule).

Layout fidelity checklist (mockup → UI)

Match the mockup's LAYOUT, not its pixels:

  1. Same sections in the same order, same controls per section.
  2. Relative sizes preserved (a tree that dominates the mockup must dominate the panel).
  3. Sizing strategy per element decided up front: fixed (buttons), stretch (search bar, tree), aspect-locked (icons). Use anchors + LayoutGroups (VerticalLayoutGroup for panel sections, GridLayoutGroup for palettes) instead of hand-placed rects.
  4. Themed via the same sprites/fonts the neighboring panels use — copy component settings from an existing tab panel rather than restyling from scratch.

Verify

  1. Compile clean (CLAUDE.md verification ladder).
  2. Capture the built panel with the unity-ui-screenshot workflow, compare against the mockup section by section.
  3. Exit play mode, reopen scene without saving (or save scene deliberately if edits were in-scene and intended).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Map and editing guide for Assets/Scenes/MainScene.unity (the main editor scene of DeedPlanner 3). Use whenever reading, querying, or modifying the main scene — finding a UI element, tab, panel, camera, or manager in the hierarchy, checking how a view is wired into VContainer DI, or planning scene edits. Contains the full structural map so you don't have to scan the 25k-line YAML.

中文简介正在准备中。当前显示原文说明。

Warlander/DeedPlanner-3262026年10月21日 更新

Generates custom Shader Graph nodes from HLSL code. Use when the user wants to create a new Shader Graph node or make existing HLSL code work as a reflected function node.

中文简介正在准备中。当前显示原文说明。

Warlander/DeedPlanner-3262026年10月21日 更新

Edits Unity sprite properties by generating C# editor scripts using ISpriteEditorDataProvider APIs. Handles sprite rectangles, borders, pivots, outlines, and slicing operations (automatic, grid, isometric). Use when working with sprite assets, sprite sheets, texture atlases, or sprite slicing.

中文简介正在准备中。当前显示原文说明。

Warlander/DeedPlanner-3262026年10月21日 更新

ui

免费

Unity UI expert for menus, HUDs, screens, panels, buttons, labels, and all visual interface elements. Handles questions about UI in scenes or prefabs (how many elements, what exists, structure analysis), styling changes (colors, borders, backgrounds, fonts, spacing, rounded corners), layout adjustments, and UI generation. Routes to UI Toolkit, uGUI, or IMGUI based on project context.

中文简介正在准备中。当前显示原文说明。

Warlander/DeedPlanner-3262026年10月21日 更新

ui-imgui

免费

Unity IMGUI (Immediate Mode GUI) expert for legacy editor tools using OnGUI/immediate mode. Generates and modifies IMGUI EditorWindows, custom Inspectors, PropertyDrawers, and scripts with IMGUI code (OnGUI, OnInspectorGUI). Use when maintaining existing IMGUI editor code or when user explicitly requests IMGUI/OnGUI.

中文简介正在准备中。当前显示原文说明。

Warlander/DeedPlanner-3262026年10月21日 更新

ui-ugui

免费

Unity uGUI (Canvas-based) UI expert. Understands, edits, and generates Canvas hierarchies, RectTransforms, Layout Groups, and prefab UI. Use for requests involving Canvas, uGUI, RectTransform, or .prefab UI files.

中文简介正在准备中。当前显示原文说明。

Warlander/DeedPlanner-3262026年10月21日 更新

查看 Warlander 的全部技能

报告此技能的问题