Imgui Ui Ux Engineering 标志

Imgui Ui Ux Engineering

社区
muhosekerci
imgui-ui-ux-engineering

Proactively design, improve, or review high-quality Dear ImGui tools, C++ editor panels, game-development interfaces, debugging dashboards, visualization screens, and desktop workflows. Use when Dear ImGui is named or supplied code contains direct evidence such as `ImGui::`, `imgui.h`, `ImGuiContext`, or ImGui backend symbols. For an unlabelled C++ editor/tooling request, use only when the user explicitly asks whether Dear ImGui is suitable; otherwise keep framework choice open. Do not trigger for a task that explicitly names another UI framework such as Qt, GTK, WPF, wxWidgets, JUCE, or Slate. Cover UI architecture, information hierarchy, dockspace layouts, design systems, custom components, UX states, keyboard/gamepad interaction, DPI/fonts, performance, and code quality.

概览

发布者muhosekerci
代码仓库imgui-ui-ux-engineering
技能名称imgui-ui-ux-engineering
星标数
7
复刻数
1
附带文件
12
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 12 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 muhosekerci 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Imgui Ui Ux Engineering AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/muhosekerci/imgui-ui-ux-engineering/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/muhosekerci/imgui-ui-ux-engineering.git \
  .claude/skills/imgui-ui-ux-engineering
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Imgui Ui Ux Engineering,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Imgui Ui Ux Engineering。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Imgui Ui Ux Engineering 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Dear ImGui UI/UX Engineering

Purpose and boundaries

Build professional tool interfaces with Dear ImGui. Design around the immediate-mode model: application data remains the single source of truth, while UI code reflects the current model and dispatches user intent back to it. Dear ImGui is especially well suited to content-creation tools, editor and game tooling, debugging panels, operations screens, and real-time visualizations. Explicitly assess suitability when a consumer product needs complete accessibility support, RTL text, or complex text shaping. [1] [2]

Do not treat a review as a cosmetic reskin. Improve functional hierarchy, interaction cost, error recovery, information density, technical correctness, and visual consistency together.

Classify the request

Match the request to one primary workflow. If Dear ImGui is neither named nor evidenced in supplied code, do not assume it is the framework; offer a framework-selection assessment only when explicitly asked. Make reasonable assumptions when missing information does not materially change the solution; ask only for a critical ambiguity.

RequestPrimary deliverableStart by determining
New tool or editorInformation architecture, workspace shell, design system, production-oriented C++User role, top three tasks, target platform
Existing UI improvementAudit, redesign proposal, focused code changesScreenshot or code, hierarchy issues, missing states
Component designBehavioral contract, state matrix, ImGui implementationData, actions, empty/error state, keyboard behavior
Theme or visual identityDesign tokens, palette, typography, theme codeTask density, brand constraints, contrast requirements
Code reviewPrioritized findings and safe fixesIDs, stack balance, state ownership, input, clipping, DPI, performance

Required workflow

  1. Extract the context. Identify the user, principal tasks, data scale, display sizes, input devices, density preference, and destructive actions.
  2. Create the hierarchy. Keep the primary action visible and close to its task; place contextual actions near the selected object or inspector; move rare settings into menus or disclosure controls. Define selected, empty, loading, error, unauthorized, and completed states for every view.
  3. Select the workspace shell. When appropriate, use a command bar, left navigation or asset pane, central work area, right inspector, bottom log/progress surface, and status bar. Persist docking and window layout only when personalization provides real value. Verify that the chosen Dear ImGui branch/version supports any docking API. [2]
  4. Build the design system. Centralize spacing, radii, borders, typography, surface layers, and semantic colors. Start from templates/imgui_design_system.h.in, then adapt it to the product and density requirements.
  5. Build components around tasks. Prefer built-in widgets, the table API, and standard interactions. Use custom draw-list code only when a distinctive behavior or visual treatment is genuinely required. Design normal, hovered, active, selected, focused, disabled, loading, and error states.
  6. Design interaction. Validate keyboard and, when relevant, gamepad navigation, focus, shortcuts, cancellation, and undo. Always forward raw input to Dear ImGui; use io.WantCaptureMouse, io.WantCaptureKeyboard, and io.WantTextInput to decide whether the underlying application also receives it. [2]
  7. Perform the technical audit. Check identity collisions, Push/Pop and Begin/End balance, frame-local allocations, clipping of large lists, DPI handling, contrast, and version-specific APIs.
  8. Validate tasks, not just pixels. Test narrow and wide panels, long text, no data, hundreds of records, failed work, and keyboard-only operation. Verify alignment, action feedback, and recovery paths.

Workspace composition

Use the following as an adaptable composition system, not a rigid pixel template.

RegionPurposeImplementation guidance
Command barFrequent global actions, search, workspace switchingKeep the action count low; move secondary commands into menus or a command palette.
Navigation or asset paneHierarchy, collection, scene, files, filtersProvide search, collapsible groups, visible selection, and small counts.
Central work areaCanvas, table, timeline, chart, or main editorAllocate the greatest area and contrast here; remove nonessential chrome.
InspectorSelected-object properties and contextual actionsGroup fields by mental model; offer live preview and a safe reset action.
Supporting surfaceLog, performance, job queue, issue listMake it dismissible or collapsible when it is not needed.
Status barConnection, selection, process, coordinate, or performance stateKeep it concise, live, and actionable.

Density and hierarchy

Choose the density from task frequency and data scale, then express priority with surface elevation, typography, whitespace, color, and placement. Never make color the only carrier of meaning. For detailed density guidance and component contracts, read references/design-playbook.md. [5]

Choose the right component

ComponentUse it forAvoid using it for
Table or asset browserSortable, filterable, multi-column dataRendering thousands of records as cards
InspectorEditable properties of the selected objectUnrelated global settings
Metric cardA small number of critical KPIs and trendsEvery number on the screen
Command paletteMany commands and expert keyboard workflowsHiding a core action from the main UI
ModalConfirmation or a short focused decisionA long-lived editor or comprehensive form
ToastBrief success feedback and undo affordanceThe only presentation of a critical error
Empty stateFirst use or an empty filter resultLeaving the user in an unexplained blank panel

Read references/design-playbook.md when detailed layout patterns, component contracts, state copy, or a review rubric is needed. Read references/worked-example.md before writing a review or before/after proposal when a concrete output model would improve consistency.

Dear ImGui implementation rules

State, identity, and structure

Keep the application model as the single source of truth. Store UI state only when it is presentation-specific, such as an open pane, temporary filter text, or drag preview. For pointer-backed display fields, either enforce and document a non-null model invariant or route every UI read through a null-safe display adapter; never rely on an implicit nullable-string convention.

Guarantee unique IDs for repeated widgets. Use ## to add an invisible suffix, PushID()/PopID() with a stable object key for loops and dynamic collections, and ### to keep an ID stable while a visible label changes. Repeating labels in the same scope creates collisions. [2]

Balance every Push* with the matching Pop* and every Begin* with the corresponding End*. Follow each API's contract; for example, do not skip a required End() merely because a window is currently collapsed.

Layout and large data

Use fixed pixel coordinates only as a last resort. Compose layouts with BeginTable, child regions, available width, flexible columns, and spacing tokens. Align inspector labels and inputs in two columns, then test the narrowest supported panel.

For large collections, build a filtered stable-ID view and render visible rows with ImGuiListClipper. Process ImGuiTableSortSpecs when exposing sortable columns; a Sortable flag without actual model ordering is an incomplete interaction. Provide sort direction, active-filter summary, visible selection, and a meaningful empty result.

Theme, typography, and DPI

Centralize measurements. Derive padding, spacing, and radii from a small scale. Separate layers with WindowBg, ChildBg, PopupBg, and borders rather than assigning an arbitrary tone to every panel.

Target a minimum 4.5:1 contrast ratio for normal text and 3:1 for large text. [4] Choose an appropriate font if the default is not readable at the tool's intended size. Select exactly one owner for FontScaleDpi: use the template's host-managed policy with a host-provided scale, or select its Dear-ImGui-managed policy when the docking branch's io.ConfigDpiScaleFonts automatically updates it as monitor DPI changes. Continue to reset the style and apply ScaleAllSizes() for size/padding scaling when the content scale changes. Confirm target version and backend capabilities before relying on newer APIs. [3]

Keyboard, gamepad, and accessibility

Enable ImGuiConfigFlags_NavEnableKeyboard and, when needed, ImGuiConfigFlags_NavEnableGamepad. Test Tab/Shift+Tab traversal, visible focus, Escape cancellation, Enter confirmation, and critical application shortcuts. Move default keyboard focus only when an explicit navigation or programmatic-selection request requires it; do not reassert focus for a selected row every frame. Clearly report Dear ImGui's built-in accessibility and complete internationalization limitations rather than presenting a theme change as a complete solution. [1]

Make focus, hover, and selection visually distinct. Use a tooltip to supplement an ambiguous icon or abbreviation, not to explain a required task. When a control is disabled, expose the reason briefly.

Custom drawing and component contract

Before writing custom draw-list code, first determine whether a composition of built-in widgets, tables, selectables, trees, popups, and child regions satisfies the need. For every custom control:

  1. Define the visible boundary and hit area in the same coordinate model.
  2. Generate a unique ID and specify normal, hover, active, selected, focused, disabled, loading, and error behavior.
  3. Define click, drag, cancellation, and no-data behavior in writing.
  4. Respect clipping; generate only visible geometry for large data; minimize persistent per-frame allocation.
  5. Draw colors, spacing, and fonts from central tokens; never embed arbitrary visual constants in a component.
  6. Visually verify narrow/wide panels, low/high DPI, and every interaction state.

Deliverable contract

DeliverableMust include
Design proposalUser/task list, screen regions, priority hierarchy, state matrix, interaction notes, implementation order
C++ implementationTheme tokens, component functions, ID strategy, state ownership, empty/error states, version assumptions
RedesignBefore/after issue table, proposed structure, measurable improvement goal, targeted changes
Code reviewCritical / High / Medium / Low priority, evidence, impact, fix, and verification step

Use templates/imgui_panel_skeleton.cpp.in for a dockspace-oriented workspace shell and templates/imgui_design_system.h.in for a centralized token system. Read references/version-notes.md before copying version-sensitive code into a vendored or pinned Dear ImGui project. When reviewing or generating C++ source, run scripts/check_imgui_cpp.py <source...> to catch common direct Begin/End and Push/Pop balance mistakes; treat it as a narrow static guard, not a replacement for compilation or runtime testing. For automated structural, semantic, contrast, static-checker, and compile regression checks, run python3 scripts/run_quality_suite.py; every normal run fetches temporary official v1.92.0 and master sources and compiles the templates against both. The bundled semantic reference responses must score 30/30; pass --semantic-responses RESPONSES.json to gate target-model outputs against the same contracts. To validate a product fork, additionally supply --imgui-dir /path/to/vendored/imgui. Use --skip-official-revisions only for an explicitly offline diagnostic run; it is not a release gate. Use evals/quality-suite.md and evals/failure-mode-regressions.md only when revising or regression-testing this skill; the latter tests concrete state, scope, focus, and DPI failures rather than generic output quality.

Release quality gate

  • Does the primary task have an obvious, visible, nearby entry point?
  • Are selected, hovered, focused, disabled, error, loading, and empty states distinguishable?
  • Is the primary action clearly separate from secondary and destructive actions?
  • Are shortcuts, focus flow, Escape/cancel, and input capture correct?
  • Do tables/lists work with large data, filtering, sorting, selection, and empty results?
  • Are widget IDs unique and Push/Pop, Begin/End calls balanced?
  • Do nullable model values render safely, and does default focus move only after an explicit request?
  • Have contrast, font legibility, DPI, narrow panels, and long content been tested?
  • Have clipping, avoidable allocations, and profiling been considered?
  • Has scripts/run_quality_suite.py passed against each supported vendored Dear ImGui header revision?
  • Are accessibility and internationalization limitations explicit where relevant?

References

[1] Dear ImGui official repository

[2] Dear ImGui FAQ: paradigm, IDs, input capture, navigation, and docking

[3] Dear ImGui: fonts, DPI scaling, and icons

[4] W3C WCAG 2.2: Understanding Contrast (Minimum)

[5] Nielsen Norman Group: 10 usability heuristics

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Imgui Ui Ux Engineering AI 技能有什么作用?

Proactively design, improve, or review high-quality Dear ImGui tools, C++ editor panels, game-development interfaces, debugging dashboards, visualization screens, and desktop workflows. Use when Dear ImGui is named or supplied code contains direct evidence such as `ImGui::`, `imgui.h`, `ImGuiContext`, or ImGui backend symbols. For an unlabelled C++ editor/tooling request, use only when the user explicitly asks whether Dear ImGui is suitable; otherwise keep framework choice open. Do not trigger for a task that explicitly names another UI framework such as Qt, GTK, WPF, wxWidgets, JUCE, or Sl...

为什么在 TypingMind 中使用 Imgui Ui Ux Engineering?

因为您只需安装一次,就能搭配任何模型使用。Imgui Ui Ux Engineering 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Imgui Ui Ux Engineering?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/muhosekerci/imgui-ui-ux-engineering/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Imgui Ui Ux Engineering?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Imgui Ui Ux Engineering 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Imgui Ui Ux Engineering 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Imgui Ui Ux Engineering AI 技能免费吗?

是的。muhosekerci 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇