Option
HeimHeim Skill Sonstiges opentui

Umfassendes OpenTUI-Skill zum Erstellen von Terminal-Benutzeroberflächen. Umfasst die zentrale imperativische API, den React-Reconciler und den Solid-Reconciler. Für alle TUI-Entwicklungsaufgaben geeignet, einschließlich Komponenten, Layout, Tastatursteuerung, Animationen und Tests.

...Alle erweitern
53
Zeit aktualisiert 4. August 2026

OpenTUI Plattformkenntnisse

Zusammengefasste Kenntnisse zur Erstellung von Benutzeroberflächen für Endgeräte mit „OpenTUI“. Nutzen Sie die folgenden Entscheidungsbäume, um das passende Framework und die passenden Komponenten zu finden, und rufen Sie anschließend detaillierte Referenzen auf.

Wichtige Regeln

Beachten Sie diese Regeln in jedem OpenTUI-Code:

  1. Verwenden Sie „create-tui“ für neue Projekte. Siehe REFERENCE.md Schnellstarts.
  2. create-tui Optionen müssen vor den Argumenten stehen. bunx create-tui -t react my-app funktioniert, bunx create-tui my-app -t react funktioniert NICHT.
  3. Rufen Sie „process.exit()“ niemals direkt auf. Verwenden Sie renderer.destroy() (siehe core/gotchas.md).
  4. Die Textformatierung erfordert in React/Solid verschachtelte Tags. Verwenden Sie Modifikatorelemente, keine Props (siehe components/text-display.md).

So nutzen Sie diese Funktion

Referenz-Dateistruktur

Framework-Referenzen folgen einem 5-Dateien-Muster. Übergreifende Konzepte werden in einzelnen Dateien behandelt.

Jedes Framework in ./references// enthält:

Übergreifende Konzepte in ./references// haben REFERENCE.md als Einstiegspunkt.

Lesereihenfolge

  1. Beginnen Sie mit REFERENCE.md mit dem von Ihnen gewählten Framework
  2. Lesen Sie anschließend weitere Dateien, die für Ihre Aufgabe relevant sind:
    • Komponenten erstellen -> api.md + components/.md
    • Projekt einrichten -> configuration.md
    • Layout/Positionierung -> layout/REFERENCE.md
    • Tastatur-/Eingabeverarbeitung -> keyboard/REFERENCE.md
    • Animationen -> animation/REFERENCE.md
    • Fehlerbehebung -> gotchas.md + testing/REFERENCE.md

Beispielpfade

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

Hinweise zur Laufzeit

OpenTUI Läuft auf Bun und verwendet Zig für native Builds. Lesen Sie ./references/core/gotchas.md die Informationen zu den Laufzeitanforderungen und den Build-Anleitungen.

Schnellentscheidungsbäume

„Welches Framework soll ich verwenden?“

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)

„Ich muss Inhalte anzeigen“

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)

„Ich benötige Benutzereingaben“

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

„Ich benötige Layout/Positionierung“

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

„Ich brauche Animationen.“

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

„Ich muss Eingaben verarbeiten.“

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)

„Ich muss meine TUI testen“

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

„Ich muss Fehler beheben/Probleme lösen“

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

Index zur Fehlerbehebung

  • Terminal bereinigen, Abstürze -> core/gotchas.md
  • Textformatierung wird nicht übernommen -> components/text-display.md
  • Eingabefokus/Tastenkombinationen -> keyboard/REFERENCE.md
  • Layout-Fehler -> layout/REFERENCE.md
  • Unzuverlässige Snapshots -> testing/REFERENCE.md

Informationen zu Unterschieden bei der Benennung von Komponenten und Textmodifikatoren finden Sie unter components/REFERENCE.md.

Produktindex

Frameworks

Querschnittskonzepte

Komponentenkategorien

Ressourcen

Repository : https://github.com/anomalyco/opentui Core-Dokumentation : https://github.com/anomalyco/ opentui /tree/main/packages/core/docs Beispiele : https://github.com/anomalyco/ opentui /tree/main/packages/core/src/examples Awesome-Liste : https://github.com/msmps/awesome- opentui

Mehr aus diesem Repository – dasselbe Repository

Mehr aus diesem Repository

Zur Verwendung bei der Vorbereitung, Kennzeichnung und Veröffentlichung einer Cline-Code-Desktop-App (apps/examples/desktop-app). Anleitungen zum Erstellen des Changelogs, zum Erhöhen der Versionsnummern in `package.json` und `tauri.conf.json`, zum Setzen von `desktop-vX.Y.Z`-Tags sowie zum GitHub-Workflow „desktop-publish“, der den Feed für automatische Updates erstellt, signiert, notarisiert und aktualisiert.publish-desktopcline/cline2026-07-2165,Vorbereitung, Validierung und Veröffentlichung eigenständiger @cline/ui-npm-Releases. Verwendung beim Erhöhen der UI-Paketversion, beim Veröffentlichen der Version „latest“ oder „next“ über „ui-publish.yml“, beim Überprüfen der UI-Release-Bereitschaft oder beim Durchführen des einmaligen „npm trusted-publishing“-Bootstraps.1kpublish-uicline/cline2026-07-1865,1kpublish-clicline/cline2026-06-0465Verwenden Sie diese Anleitung zum Vorbereiten, Taggen und Veröffentlichen eines „apps/cli“-npm-Releases. Sie enthält Anleitungen zum Erstellen des Changelogs, zum Erhöhen der Version in „apps/cli/package.json“, zum Erstellen von „cli-vX.Y.Z“-Tags, zur lokalen npm-Veröffentlichung sowie zum GitHub-Workflow „publish-cli“.,Umfassende Cline-SDK-Kompetenz für die Entwicklung von KI-Agenten. Behandelt die Agent-Laufzeitumgebung, ClineCore-Sitzungen, benutzerdefinierte Tools, Plugins, Ereignisse, LLM-Anbieter, Zeitplanung, Multi-Agenten-Teams und die Bereitstellung in der Produktion. Verwenden Sie diese Anleitung für alle Aufgaben, die @cline/sdk oder dessen Unterpakete betreffen.1kcline-sdkcline/cline2026-05-1465,Erstellen Sie einen GitHub-Pull-Request gemäß den Projektkonventionen. Verwenden Sie diese Anleitung, wenn der Benutzer darum bittet, einen PR zu erstellen, Änderungen zur Überprüfung einzureichen oder einen Pull-Request zu eröffnen. Behandelt die Analyse von Commits, die Zweigverwaltung, die Verwendung von PR-Vorlagen und die Erstellung von PRs mithilfe des gh-CLI-Tools.1kcreate-pull-requestcline/cline2026-02-2465,1k
Auf GitHub ansehen

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 installieren

Laden Sie die Skill-Dateien herunter und entpacken Sie sie in Ihr Verzeichnis „.claude/skills/“.

ZIP herunterladen

Klonen Sie das Repository und kopieren Sie die Skill-Dateien in Ihr Projekt.

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

Kopieren Kopieren
Schnelle Einrichtung: Kopiere den Skill-Ordner nach .claude/skills/. Claude erkennt den Skill automatisch und nutzt ihn.
Repository cline/cline

Ähnliche Skills

multica-creating-agents
Zeit aktualisiert 12. August 2026
tilemaps
Zeit aktualisiert 4. August 2026
v4-new-features
Zeit aktualisiert 4. August 2026
pixijs-application
Zeit aktualisiert 4. August 2026
OR