kortix-ui
できること
このスキルは、チャットの画面、セッションの作業領域、ダッシュボードなどのインターフェースに @kortix/ui の React ライブラリを使う方法を AI に案内します。Kortix 風のアプリや、独自のダッシュボードを作る開発者向けです。
使う場面
- ✓@kortix/ui ライブラリを使って、React のページやコンポーネントを作るとき。
- ✓Kortix の見た目に合わせたチャットやセッションの画面がほしいとき。
- ✓Kortix SDK に接続する独自のダッシュボードを作るとき。
スキルのリンク
https://github.com/kortix-ai/suna/blob/dev/packages/ui/skills/kortix-ui/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“@kortix/ui を使って、チャット画面とプロジェクトのサイドバーがある React のページを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AI は、スタイルとプロバイダーを一度設定し、独自に書く代わりに既製のコンポーネントを組み合わせます。各部分については、ライブラリのガイドに従います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
@kortix/ui
@kortix/ui is the one React component library for every Kortix surface: apps/web, Kortix Apps, the
white-label demo and SDK customer apps. Components are Tailwind v4 class strings that read CSS variables.
Docs: https://kortix.com/docs/developers#kortix-ui. Live catalog: https://kortix.com/design-system.
Install: npm i @kortix/ui @kortix/sdk, the same version of each (peers: references/custom-dashboard.md).
Module entries and @kortix/ui/theme need 0.14.4+. Inside kortix-ai/suna: "workspace:*". Never copy component source.
1. Set up once
- Styles. A Tailwind v4 host:
@import 'tailwindcss'; @import '@kortix/ui/tailwind.css';in its main CSS, plus the optional peerstw-animate-css,tailwind-scrollbar,tailwind-scrollbar-hide. A host without Tailwind imports@kortix/ui/styles.cssonce: every class the package uses, none of yours. - Fonts.
@kortix/ui/fonts.css(Roobert) is for Kortix-owned surfaces only. A white-label host never imports it. - Mount once at the root:
QueryClientProvider,UiProvider(link,navigation: your router,observesHistory: trueunder Next.js;components: host slots, a missing slot hides its control;config:managedModelsEnabled,connectorsEnabled,terminalEnabled,cliConnectEnabled,publicSharesEnabled,commandPaletteShortcut,settingsShortcut,accountApiEnabled;resolvePreviewUrl;useBrand: your marks;i18n,strings,image,useViewerId: without it no sender name or "Stopped by" shows),IconProvider(@kortix/ui/icon-provider), one<Toaster />(@kortix/ui/toast).setUiTelemetry(@kortix/ui) once at module load. Dark mode isdarkon<html>. SDKbillingEnabledstays off (Kortix's app only). - Ids, never route params.
SessionThread,SessionWorkspaceandProjectHomemountSessionIdsProviderand the SDK project scope themselves. A block outside them:KortixProjectProvider(@kortix/sdk/react) andSessionIdsProvider(projectId,sessionId) around it. Links followsetUiRoutes(@kortix/ui): map each page you do not serve tonull. - Import by subpath:
import { Modal } from '@kortix/ui/modal'. The root@kortix/ui(section 7) needs no@kortix/sdk.
2. Compose before you create
| Job | Compose | Subpath |
|---|---|---|
| Dialog or sheet | Modal, ModalContent, ModalHeader, ModalTitle, ModalBody, ModalFooter |
modal |
| Destructive action | ConfirmDialog before the mutation, never a single click |
confirm-dialog |
| Tooltip on an icon button | Hint label="…" |
hint |
| Toast after a mutation | successToast, errorToast, infoToast, warningToast, loadingToast |
toast |
| Status chip; count beside a label | Badge size="sm"; CountBadge (waiting, reminder, conflict, neutral) |
badge, count-badge |
| Inline alert | InfoBanner tone="…" title="…" |
info-banner |
| Pending spinner | Loading (default export) |
loading |
| Expand and collapse | Disclosure, DisclosureTrigger, DisclosureContent |
disclosure |
| Form field; search field | Field, FieldLabel, FieldGroup, FieldDescription with Input, Textarea, Select; InputGroupSearch |
field, input-group |
| Panel; buttons side by side | Card and its slots, or bg-popover rounded-md border px-4 py-5; ButtonGroup |
card, button-group |
| Tabs and filters | Tabs, TabsList, TabsListCompact |
tabs |
| Menu, picker, palette | DropdownMenu, Popover, Command |
dropdown-menu, popover, command |
| Table and empty list | Table; Empty with one muted line |
table, empty |
A new primitive is the last step: tokens only, a small API, and a section on /design-system.
3. Banned
| Never | Use |
|---|---|
Dialog / DialogContent in feature code |
Modal |
Tooltip primitives in feature code |
Hint |
toast() from sonner, toast.success() |
the toast helpers and <Toaster />, all from @kortix/ui/toast; a host needs no sonner import |
An icon with animate-spin, CircleNotchIcon, SpinnerIcon |
Loading |
A hand-rolled chip <span> or a colored banner |
Badge, InfoBanner |
SectionCard, List / ListRow |
Card, <ul className="space-y-2"> rows |
lucide-react or another icon set |
@phosphor-icons/react, *Icon names, no weight prop (only weight="fill" for solid status glyphs) |
| A fork or a restyled copy of a component | the component as it ships; the |
よくある質問
Tailwind が必要ですか?
パッケージのスタイルは Tailwind v4 向けに作られています。Tailwind を使わない場合は、完全なスタイルファイルを一度だけ読み込むようスキルは指示しています。
コンポーネントのコードをコピーすべきですか?
いいえ。パッケージをインストールし、コンポーネントのソースをコピーしないよう、スキルは指示しています。
Kortix の製品専用ですか?
Kortix の画面向けに作られていますが、パッケージをインストールする独自のダッシュボードやホワイトラベルのアプリでも使えます。
詳細
作者による元の説明
Build React UI with @kortix/ui, the Kortix component library and the whole Kortix session experience as modules (session workspace, thread, composer, side panel, files, file viewer, terminal, project sidebar and home, customize pages): Kortix Apps, white-label hosts, custom dashboards on @kortix/sdk and apps/web. Load before you write a component, a page, a chat or session view, a custom dashboard or App, or a className in a React host that renders Kortix UI, or when you theme Kortix components for another brand. Covers setup, the module map, which component to compose, banned primitives, toke
repo: kortix-ai/suna
人気
- GitHubのスター
- 20k
- ランキング
- #10387
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
claude-code
20kエージェントが、コーディング、レビュー、計画のタスクを Anthropic の Claude Code CLI に任せ、その結果を確認できるように取り込めるよう支援します。
codex-cli
20kコーディングやレビューのタスクを OpenAI の Codex CLI に任せ、その結果を受け取ることで、2 つ目のモデルに作業を確認させられるようにします。
commit-dis
20kこのチャットで行った変更だけを、現在の Git ブランチに 1 つのコミットとして保存します。プッシュやブランチの作成は行いません。
composio
20kComposio を使って Gmail、Slack、GitHub、Notion などのアプリを接続し、自分のエージェントや、自分で作る製品で利用できるよう支援します。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。