Logo Imgui Ui Ux Engineering

Imgui Ui Ux Engineering

Cộng đồng
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.

Tổng quan

Nhà phát hànhmuhosekerci
Kho mãimgui-ui-ux-engineering
Tên kỹ năngimgui-ui-ux-engineering
Sao
7
Bản fork
1
Tệp đi kèm
12
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 12 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được muhosekerci công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Imgui Ui Ux Engineering trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/muhosekerci/imgui-ui-ux-engineering/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/muhosekerci/imgui-ui-ux-engineering.git \
  .claude/skills/imgui-ui-ux-engineering
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Imgui Ui Ux Engineering trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Imgui Ui Ux Engineering ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Imgui Ui Ux Engineering với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Imgui Ui Ux Engineering làm được gì?

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...

Vì sao nên dùng Imgui Ui Ux Engineering trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Imgui Ui Ux Engineering là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Imgui Ui Ux Engineering trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/muhosekerci/imgui-ui-ux-engineering/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Imgui Ui Ux Engineering?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Imgui Ui Ux Engineering với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Imgui Ui Ux Engineering với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Imgui Ui Ux Engineering có miễn phí không?

Có. Kỹ năng này được muhosekerci phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇