Skip to content
Back to skills

Opentui Developer

ASecurity

Comprehensive OpenTUI skill for building terminal user interfaces. Covers the core imperative API and React reconciler. Use for any TUI development task including components, layout, keyboard handling, animations, and testing.

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
developmentgoreacttestinggitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add sergeyzwezdin/huba --skill opentui-developer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opentui Developer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Opentui Developer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sergeyzwezdin-opentui-developer/badge)](https://www.skillsdirectory.com/skills/sergeyzwezdin-opentui-developer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: opentui
description: Comprehensive OpenTUI skill for building terminal user interfaces. Covers the core imperative API and React reconciler. Use for any TUI development task including components, layout, keyboard handling, animations, and testing.
metadata:
   references: core, react
---

# OpenTUI Platform Skill

## How to Read This Skill

Each domain has a `REFERENCE.md` index that maps sub-files to topics. Start with the index, then load only what's needed.

| Domain | Entry Point | When to Use |
|--------|-------------|-------------|
| Core | `./references/core/REFERENCE.md` | Imperative API, low-level control |
| React | `./references/react/REFERENCE.md` | Declarative UI, hooks, JSX |
| Layout | `./references/layout/REFERENCE.md` | Flexbox layout, positioning |
| Components | `./references/components/REFERENCE.md` | Component-by-category reference |
| Keyboard | `./references/keyboard/REFERENCE.md` | Key events, shortcuts, clipboard |
| Animation | `./references/animation/REFERENCE.md` | Timeline animations |
| Testing | `./references/testing/REFERENCE.md` | Snapshot and interaction testing |

## Quick Decision Trees

### "I need to display content"

```
Display content?
├─ Plain or styled text              -> components/text-basic.md
├─ ASCII art banner/title            -> components/text-extras.md
├─ Container with borders/background -> components/containers-box.md
├─ Scrollable content area           -> components/containers-scrollbox.md
├─ Code with syntax highlighting     -> components/code-syntax.md
├─ Diff viewer (unified/split)       -> components/diff.md
└─ Markdown content (streaming)      -> components/code-syntax.md (markdown)
```

### "I need user input"

```
User input?
├─ Single-line text field          -> components/inputs-text.md
├─ Multi-line text editor          -> components/inputs-text.md (textarea)
├─ Select from a list (built-in)   -> components/inputs-select.md
├─ Custom-rendered list/select     -> components/inputs-select.md (BaseSelectRenderable)
├─ Tab-based selection             -> components/inputs-select.md (tab-select)
└─ Custom keyboard handling        -> keyboard/REFERENCE.md
```

### "I need layout/positioning"

```
Layout?
├─ Flexbox rows/columns     -> layout/REFERENCE.md + layout/flex.md
├─ Absolute positioning     -> layout/positioning.md
├─ Responsive to terminal   -> layout/patterns-app.md
├─ Centering content        -> layout/patterns-advanced.md
└─ Common app layouts       -> layout/patterns-app.md
```

### "I need animations"

```
Animations?
├─ Timeline with easing     -> animation/timeline.md + animation/easing.md
└─ Common patterns          -> animation/patterns.md
```

### "I need keyboard handling"

```
Keyboard?
├─ Key names and events     -> keyboard/keys.md
├─ Navigation patterns      -> keyboard/patterns.md
├─ Paste / clipboard        -> keyboard/clipboard.md
└─ Focus management         -> core/patterns-focus.md
```

### "I need theming or settings"

```
Theming/Settings?
├─ Define and implement a theme     -> react/patterns-theming.md
├─ Consume theme in a component     -> react/patterns-theming.md
├─ rgbToHex for imperative APIs     -> react/patterns-theming.md
├─ App-wide settings atoms          -> react/patterns-settings.md
└─ Keyboard shortcuts for settings  -> react/patterns-settings.md
```

### "I need notifications or feedback"

```
Notifications?
└─ Toast messages (info/success/error/warning) -> react/patterns-toast.md
```

### "I need to test my TUI"

```
Testing?
├─ Setup and basic tests    -> testing/setup.md
├─ React component tests    -> testing/react-testing.md
└─ Key simulation, focus    -> testing/interaction.md
```

### "I need to debug/troubleshoot"

```
Troubleshooting?
├─ Terminal cleanup, crashes    -> core/gotchas.md
├─ React-specific issues        -> react/gotchas.md
├─ Layout misalignment          -> layout/REFERENCE.md
├─ Input/focus issues           -> keyboard/REFERENCE.md
└─ Flaky tests                  -> testing/REFERENCE.md
```

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

Files in this skill

  • SKILL.md4.3 KB
  • references/animation/REFERENCE.md1.6 KB
  • references/animation/easing.md1.6 KB
  • references/animation/patterns.md2.6 KB
  • references/animation/timeline.md1.8 KB
  • references/components/REFERENCE.md3.7 KB
  • references/components/code-diff.md1.1 KB
  • references/components/code-syntax.md4 KB
  • references/components/containers-box.md2.9 KB
  • references/components/containers-scrollbox.md3.5 KB
  • references/components/containers.md1.2 KB
  • references/components/diff.md1.9 KB
  • references/components/inputs-select.md7.7 KB
  • references/components/inputs-text.md3.3 KB
  • references/components/inputs.md876 B
  • references/components/text-basic.md2.6 KB
  • references/components/text-display.md818 B
  • references/components/text-extras.md2.4 KB
  • references/core/REFERENCE.md4.1 KB
  • references/core/api.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.