본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)19k · #10484

gpui-kit

하는 일

이 스킬은 Rust로 GPUI Kit 프레임워크를 사용해 데스크톱 앱을 만드는 방법을 설명하며, 컴포넌트 라이브러리도 포함합니다. 기성 인터페이스 부품을 원하는 데스크톱 앱 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓GPUI Kit으로 새 데스크톱 앱을 설정할 때.
  • ✓대화상자, 사이드바, 데이터 표 같은 컴포넌트를 사용해야 할 때.
  • ✓컴포넌트 상태, 테마, 창 오버레이를 처리해야 하는 경우.

스킬 링크

https://github.com/longbridge/gpui-kit/blob/main/skills/gpui-kit/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/longbridge/gpui-kit/blob/main/skills/gpui-kit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사이드바, 데이터 표, 확인 대화상자가 있는 GPUI Kit 데스크톱 앱을 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 에이전트를 컴포넌트 계열별 관례 가이드로 안내하고, 그다음 상태와 오버레이 계층이 함께 작동하는 것을 보여 주는 검증된 앱 레시피로 안내합니다. UI 작업 전에 디자인 가이드를 반드시 읽어야 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

GPUI Kit

Applications depend on one crate, gpui-kit. GPUI is use gpui_kit::*;, and each layer is reachable by name: gpui_kit::component (styled components), gpui_kit::base (unstyled behavior), gpui_kit::assets (default icons), gpui_kit::platform.

Start with component-family conventions to choose the constructor, state owner, event, and layout contract for the task. Learn the family once, then verify the specific component supports the capability.

For a complete compiled view with retained state, subscriptions, and overlay layers, read the tested application recipe.

Read the Guides First

Two guides hold the rules this skill assumes. They are requirements, not inspiration. Read the guide file itself; do not answer from this page, from a similar file in the codebase, or from training data.

Guide Read before
Design Guides, skill gpui-kit-design-guides Choosing components, layout, spacing, hierarchy, color, density, interaction states, overlays, motion, interface copy
Coding Guides Crate layering, RenderOnce vs Entity<T>, state ownership, ElementId, events, focus, async, public API, naming, testing

Read the Design Guides first when the change has a visible surface: code structure preserves product intent, it does not replace it. If the design skill is not installed, fetch https://gpui-kit.com/docs/design-guides.md. The coding guide is a verbatim copy of https://gpui-kit.com/docs/coding-guides.md, so its links to ./design-guides.md and ./getting-started.md mean the design skill and https://gpui-kit.com/docs/getting-started.md.

Coding Guides section map

Read the whole guide for a new crate, module, or feature. For a narrow change, read "Architecture at a glance" and "Rules for coding agents" first, then the section for the change (grep -n '^## ' references/coding-guides.md).

Section Read when
Architecture at a glance Always; crate layering, ownership boundary
Bootstrap and root ownership main, init, Root, window creation, app-level state
Understand GPUI's phases and contexts Anything touching App, Window, Context<T>, render vs update
Choose the right unit Deciding RenderOnce vs Entity<T> vs custom Element
State ownership Where a piece of state lives, who mutates it, Entity<State> handles
Stable identity ElementId, lists, repeated elements, keyed state
Rendering and composition render, builder chains, when/map, child composition
Behavior and presentation boundary gpui-base vs gpui-component vs application code
Theme and styling cx.theme(), tokens, Styled, sizes, variants
Events, actions, and focus cx.emit, subscribe, actions!, keybindings, FocusHandle
Async work and side effects cx.spawn, background_spawn, Task, I/O, timers
Layout, measurement, and scrolling Flex layout, sizing, overflow, scroll handles, measuring
Lists, tables, and large data VirtualList, List, DataTable, delegates, large collections
Public API design Anything pub: builders, private fields, setter and reader naming
Platform and capability boundaries macOS/Windows/Linux/wasm differences, feature gates
File and naming conventions New files, modules, type and method names, Kind suffix, Context
Testing strategy What to test, #[gpui_kit::test], TestAppContext
자주 묻는 질문

어떤 프로그래밍 언어를 쓰나요?

Rust입니다.

완전한 예제 앱을 제공하나요?

예. 검증된 레시피가 상태, 구독, 오버레이 계층을 갖춘 완전한 뷰를 보여 줍니다.

디자인 규칙은 어디서 얻나요?

GPUI Kit 디자인 가이드에서 얻으며, UI 작업 전에 반드시 읽어야 합니다.

상세 정보

작성자의 원본 설명

How to build desktop applications with GPUI Kit, the Rust framework published as the gpui-kit crate (GPUI plus gpui_kit::component, gpui_kit::base, gpui_kit::assets). Use when setting up a gpui-kit app, choosing or using a component (Button, Input, Select, Dialog, Sheet, Tabs, Sidebar, List, DataTable, Tree, Chart, etc.), handling component state, theming, or window overlays, and for GPUI mechanics: actions and keybindings, async tasks, contexts, custom elements, entities, events, focus, global state, layout and styling, ElementId, and tests including UI integration testing. Holds the normativ

repo: longbridge/gpui-kit

인기도

GitHub 스타
19k
순위
#10484
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬