オプション
家家 Skill その他 opentui

ターミナルユーザーインターフェースを構築するための包括的なOpenTUIスキルです。中核となる命令型API、Reactリコンサイラー、Solidリコンサイラーを網羅しています。コンポーネント、レイアウト、キーボード処理、アニメーション、テストなど、あらゆるTUI開発タスクにご利用いただけます。

...すべて拡張します
53
更新された時間 2026年8月4日

OpenTUI プラットフォームスキル

OpenTUI を使用して端末ユーザーインターフェースを構築するための統合スキルです。以下の決定木を参照して適切なフレームワークとコンポーネントを見つけ、詳細なリファレンスを参照してください。

重要なルール

すべてのOpenTUIコードにおいて、以下のルールに従ってください:

  1. 新規プロジェクトにはcreate-tuiを使用してください。フレームワークの REFERENCE.md クイックスタートを参照してください。
  2. create-tui オプションは引数の前に指定する必要があります。 bunx create-tui -t react my-app は動作しますが、 bunx create-tui my-app -t react は動作しません。
  3. process.exit()を直接呼び出してはいけません。代わりに renderer.destroy() (参照 core/gotchas.md).
  4. React/Solidでは、テキストのスタイル設定にはネストされたタグが必要です。propsではなく修飾子要素を使用してください(参照 components/text-display.md).

このスキルの使い方

リファレンスファイルの構造

フレームワークのリファレンスは5ファイル構成に従います。横断的な概念については、単一のファイルでガイドが提供されています。

各フレームワークは ./references// には以下が含まれます:

の横断的概念は ./references// には REFERENCE.md をエントリポイントとしています。

読み進める順序

  1. まず REFERENCE.md 選択したフレームワークから始めます
  2. 次に、タスクに関連する追加のファイルを読み込みます:
    • コンポーネントの構築 → api.md + components/.md
    • プロジェクトの設定 -> configuration.md
    • レイアウト/配置 → layout/REFERENCE.md
    • キーボード/入力処理 -> keyboard/REFERENCE.md
    • アニメーション -> animation/REFERENCE.md
    • トラブルシューティング -> gotchas.md + testing/REFERENCE.md

例となるパス

./references/react/REFERENCE.md           # Start here for React
./references/react/api.md              # React components and hooks
./references/solid/configuration.md    # Solid project setup
./references/components/inputs.md      # Input, Textarea, Select docs
./references/core/gotchas.md           # Core debugging tips

実行時の注意事項

OpenTUI Bun上で動作し、ネイティブビルドにはZigを使用します。 ./references/core/gotchas.md 実行時の要件およびビルドの手順についてはこちらをご覧ください。

簡易決定木

「どのフレームワークを使うべきか?」

Which framework?
├─ I want full control, maximum performance, no framework overhead
│  └─ core/ (imperative API)
├─ I know React, want familiar component patterns
│  └─ react/ (React reconciler)
├─ I want fine-grained reactivity, optimal re-renders
│  └─ solid/ (Solid reconciler)
└─ I'm building a library/framework on top of OpenTUI
   └─ core/ (imperative API)

「コンテンツを表示したい」

Display content?
├─ Plain or styled text -> components/text-display.md
├─ Container with borders/background -> components/containers.md
├─ Scrollable content area -> components/containers.md (scrollbox)
├─ ASCII art banner/title -> components/text-display.md (ascii-font)
├─ Data table with borders/wrapping -> components/code-diff.md (TextTable)
├─ Code with syntax highlighting -> components/code-diff.md
├─ Diff viewer (unified/split) -> components/code-diff.md
├─ Line numbers with diagnostics -> components/code-diff.md
└─ Markdown content (streaming) -> components/code-diff.md (markdown)

「ユーザー入力が必要」

User input?
├─ Single-line text field -> components/inputs.md (input)
├─ Multi-line text editor -> components/inputs.md (textarea)
├─ Select from a list (vertical) -> components/inputs.md (select)
├─ Tab-based selection (horizontal) -> components/inputs.md (tab-select)
└─ Custom keyboard shortcuts -> keyboard/REFERENCE.md

「レイアウトや配置が必要」

Layout?
├─ Flexbox-style layouts (row, column, wrap) -> layout/REFERENCE.md
├─ Absolute positioning -> layout/patterns.md
├─ Responsive to terminal size -> layout/patterns.md
├─ Centering content -> layout/patterns.md
└─ Complex nested layouts -> layout/patterns.md

「アニメーションが必要」

Animations?
├─ Timeline-based animations -> animation/REFERENCE.md
├─ Easing functions -> animation/REFERENCE.md
├─ Property transitions -> animation/REFERENCE.md
└─ Looping animations -> animation/REFERENCE.md

「入力の処理が必要だ」

Input handling?
├─ Keyboard events (keypress, release) -> keyboard/REFERENCE.md
├─ Focus management -> keyboard/REFERENCE.md
├─ Paste events -> keyboard/REFERENCE.md
├─ Mouse events -> components/containers.md
├─ Text selection & copy-on-select -> keyboard/REFERENCE.md (selection)
└─ Clipboard (OSC 52) -> keyboard/REFERENCE.md (clipboard)

「TUIをテストする必要がある」

Testing?
├─ Snapshot testing -> testing/REFERENCE.md
├─ Interaction testing -> testing/REFERENCE.md
├─ Test renderer setup -> testing/REFERENCE.md
└─ Debugging tests -> testing/REFERENCE.md

「デバッグ・トラブルシューティングが必要」

Troubleshooting?
├─ Runtime errors, crashes -> /gotchas.md
├─ Layout issues -> layout/REFERENCE.md + layout/patterns.md
├─ Input/focus issues -> keyboard/REFERENCE.md
└─ Repro + regression tests -> testing/REFERENCE.md

トラブルシューティング索引

  • ターミナルのクリーンアップ、クラッシュ → core/gotchas.md
  • テキストの書式設定が反映されない -> components/text-display.md
  • 入力フォーカス/ショートカット → keyboard/REFERENCE.md
  • レイアウトのずれ -> layout/REFERENCE.md
  • 不安定なスナップショット -> testing/REFERENCE.md

コンポーネントの命名規則の違いやテキスト修飾子については、 components/REFERENCE.md.

製品インデックス

フレームワーク

横断的な概念

コンポーネントのカテゴリ

リソース

リポジトリ : https://github.com/anomalyco/opentui コアドキュメント : https://github.com/anomalyco/ opentui /tree/main/packages/core/docs サンプル : https://github.com/anomalyco/ opentui /tree/main/packages/core/src/examples おすすめリスト : https://github.com/msmps/awesome- opentui

このリポジトリのその他のリポジトリ同じリポジトリ

このリポジトリのその他のリソース

Cline Code デスクトップアプリ(apps/examples/desktop-app)のリリースを準備、タグ付け、公開する際に使用します。 ガイドでは、変更履歴の作成、package.json および tauri.conf.json でのバージョンアップ、desktop-vX.Y.Z タグ、およびビルド、署名、公証、自動更新フィードの更新を行う GitHub ワークフロー「desktop-publish」について解説しています。publish-desktopcline/cline2026-07-2165.スタンドアロンの @cline/ui npm リリースの準備、検証、および公開を行います。UI パッケージのバージョンを上げたり、ui-publish.yml を通じて latest または next を公開したり、UI リリースの準備状況を確認したり、npm trusted-publishing の初回セットアップを完了したりする際に使用します。1kpublish-uicline/cline2026-07-1865.1kpublish-clicline/cline2026-06-0465apps/cli の npm リリースの準備、タグ付け、および公開を行う際に使用します。変更履歴(changelog)の作成、apps/cli/package.json のバージョンアップ、cli-vX.Y.Z タグ、ローカルでの npm 公開、および GitHub の publish-cli ワークフローについて解説します。.AIエージェントを構築するための包括的なCline SDKスキル。エージェントランタイム、ClineCoreセッション、カスタムツール、プラグイン、イベント、LLMプロバイダー、スケジューリング、マルチエージェントチーム、本番環境へのデプロイを網羅しています。@cline/sdkまたはそのサブパッケージに関連するあらゆるタスクに使用してください。1kcline-sdkcline/cline2026-05-1465.1kcreate-pull-requestcline/cline2026-02-2465プロジェクトの規約に従って GitHub プルリクエストを作成します。ユーザーから PR の作成依頼があった場合、レビュー用の変更を送信する場合、またはプルリクエストを開く場合に使用します。コミットの分析、ブランチ管理、PR テンプレートの使用、および gh CLI ツールを使用した PR 作成を扱います。.1k
GitHubで見る

OpenTUI Platform Skill

Consolidated skill for building terminal user interfaces with OpenTUI. Use decision trees below to find the right framework and components, then load detailed references.

Critical Rules

Follow these rules in all OpenTUI code:

  1. Use create-tui for new projects. See framework REFERENCE.md quick starts.
  2. create-tui options must come before arguments. bunx create-tui -t react my-app works, bunx create-tui my-app -t react does NOT.
  3. Never call process.exit() directly. Use renderer.destroy() (see core/gotchas.md).
  4. Text styling requires nested tags in React/Solid. Use modifier elements, not props (see components/text-display.md).

How to Use This Skill

Reference File Structure

Framework references follow a 5-file pattern. Cross-cutting concepts are single-file guides.

Each framework in ./references/<framework>/ contains:

Cross-cutting concepts in ./references/<concept>/ have REFERENCE.md as the entry point.

Reading Order

  1. Start with REFERENCE.md for your chosen framework
  2. Then read additional files relevant to your task:
    • Building components -> api.md + components/<category>.md
    • Setting up project -> configuration.md
    • Layout/positioning -> layout/REFERENCE.md
    • Keyboard/input handling -> keyboard/REFERENCE.md
    • Animations -> animation/REFERENCE.md
    • Troubleshooting -> gotchas.md + testing/REFERENCE.md

Example Paths

./references/react/REFERENCE.md           # Start here for React
./references/react/api.md              # React components and hooks
./references/solid/configuration.md    # Solid project setup
./references/components/inputs.md      # Input, Textarea, Select docs
./references/core/gotchas.md           # Core debugging tips

Runtime Notes

OpenTUI runs on Bun and uses Zig for native builds. Read ./references/core/gotchas.md for runtime requirements and build guidance.

Quick Decision Trees

"Which framework should I use?"

Which framework?
├─ I want full control, maximum performance, no framework overhead
│  └─ core/ (imperative API)
├─ I know React, want familiar component patterns
│  └─ react/ (React reconciler)
├─ I want fine-grained reactivity, optimal re-renders
│  └─ solid/ (Solid reconciler)
└─ I'm building a library/framework on top of OpenTUI
   └─ core/ (imperative API)

"I need to display content"

Display content?
├─ Plain or styled text -> components/text-display.md
├─ Container with borders/background -> components/containers.md
├─ Scrollable content area -> components/containers.md (scrollbox)
├─ ASCII art banner/title -> components/text-display.md (ascii-font)
├─ Data table with borders/wrapping -> components/code-diff.md (TextTable)
├─ Code with syntax highlighting -> components/code-diff.md
├─ Diff viewer (unified/split) -> components/code-diff.md
├─ Line numbers with diagnostics -> components/code-diff.md
└─ Markdown content (streaming) -> components/code-diff.md (markdown)

"I need user input"

User input?
├─ Single-line text field -> components/inputs.md (input)
├─ Multi-line text editor -> components/inputs.md (textarea)
├─ Select from a list (vertical) -> components/inputs.md (select)
├─ Tab-based selection (horizontal) -> components/inputs.md (tab-select)
└─ Custom keyboard shortcuts -> keyboard/REFERENCE.md

"I need layout/positioning"

Layout?
├─ Flexbox-style layouts (row, column, wrap) -> layout/REFERENCE.md
├─ Absolute positioning -> layout/patterns.md
├─ Responsive to terminal size -> layout/patterns.md
├─ Centering content -> layout/patterns.md
└─ Complex nested layouts -> layout/patterns.md

"I need animations"

Animations?
├─ Timeline-based animations -> animation/REFERENCE.md
├─ Easing functions -> animation/REFERENCE.md
├─ Property transitions -> animation/REFERENCE.md
└─ Looping animations -> animation/REFERENCE.md

"I need to handle input"

Input handling?
├─ Keyboard events (keypress, release) -> keyboard/REFERENCE.md
├─ Focus management -> keyboard/REFERENCE.md
├─ Paste events -> keyboard/REFERENCE.md
├─ Mouse events -> components/containers.md
├─ Text selection & copy-on-select -> keyboard/REFERENCE.md (selection)
└─ Clipboard (OSC 52) -> keyboard/REFERENCE.md (clipboard)

"I need to test my TUI"

Testing?
├─ Snapshot testing -> testing/REFERENCE.md
├─ Interaction testing -> testing/REFERENCE.md
├─ Test renderer setup -> testing/REFERENCE.md
└─ Debugging tests -> testing/REFERENCE.md

"I need to debug/troubleshoot"

Troubleshooting?
├─ Runtime errors, crashes -> <framework>/gotchas.md
├─ Layout issues -> layout/REFERENCE.md + layout/patterns.md
├─ Input/focus issues -> keyboard/REFERENCE.md
└─ Repro + regression tests -> testing/REFERENCE.md

Troubleshooting Index

  • Terminal cleanup, crashes -> core/gotchas.md
  • Text styling not applying -> components/text-display.md
  • Input focus/shortcuts -> keyboard/REFERENCE.md
  • Layout misalignment -> layout/REFERENCE.md
  • Flaky snapshots -> testing/REFERENCE.md

For component naming differences and text modifiers, see components/REFERENCE.md.

Product Index

Frameworks

Cross-Cutting Concepts

Component Categories

Resources

Repository: https://github.com/anomalyco/opentui Core Docs: https://github.com/anomalyco/opentui/tree/main/packages/core/docs Examples: https://github.com/anomalyco/opentui/tree/main/packages/core/src/examples Awesome List: https://github.com/msmps/awesome-opentui

More from this repositorysame repository

More from this repository

publish-desktopcline/cline

Use when preparing, tagging, and publishing a Cline Code desktop app (apps/examples/desktop-app) release. Guides changelog drafting, version bumps in package.json + tauri.conf.json, desktop-vX.Y.Z tags, and the desktop-publish GitHub workflow that builds, signs, notarizes, and updates the auto-update feed.

2026-07-2165.1k
publish-uicline/cline

Prepare, validate, and publish standalone @cline/ui npm releases. Use when bumping the UI package version, publishing latest or next through ui-publish.yml, checking UI release readiness, or completing the one-time npm trusted-publishing bootstrap.

2026-07-1865.1k
publish-clicline/cline

Use when preparing, tagging, and publishing an apps/cli npm release. Guides changelog drafting, apps/cli/package.json version bumps, cli-vX.Y.Z tags, local npm publishing, and the publish-cli GitHub workflow.

2026-06-0465.1k
cline-sdkcline/cline

Comprehensive Cline SDK skill for building AI agents. Covers the Agent runtime, ClineCore sessions, custom tools, plugins, events, LLM providers, scheduling, multi-agent teams, and production deployment. Use for any task involving @cline/sdk or its sub-packages.

2026-05-1465.1k
create-pull-requestcline/cline

Create a GitHub pull request following project conventions. Use when the user asks to create a PR, submit changes for review, or open a pull request. Handles commit analysis, branch management, PR template usage, and PR creation using the gh CLI tool.

2026-02-2465.1k

opentuiをインストール

スキルファイルをダウンロードし、.claude/skills/ ディレクトリに解凍してください。

ZIPをダウンロード

リポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。

git clone https://github.com/cline/cline/tree/main/.agents/skills/opentui # Copy the skill folder to .claude/skills/ or .codex/skills/

コピー コピー
クイックセットアップ: skill フォルダを .claude/skills/ にコピーすると、Claude が自動的にそのスキルを検出して使用します。
リポジトリ cline/cline

関連スキル

multica-creating-agents
更新された時間 2026年8月12日
tilemaps
更新された時間 2026年8月4日
v4-new-features
更新された時間 2026年8月4日
pixijs-application
更新された時間 2026年8月4日
OR