dimitrigilbert/ai-skills/opentui
Claude Code and agent skill by dimitrigilbert/ai-skills
- community
Checking that the SKILL.md file is still in the repository.
OpenTUI core development with vanilla TypeScript imperative API — components, layout, input, styling, animations, debugging.
Install
npx vskill@latest install dimitrigilbert/ai-skills/opentuiSKILL.md
OpenTUI Core Development
Expert assistance for building terminal user interfaces with OpenTUI's imperative API.
Quick Start
Core Components
| Component | Purpose | Import | |
|---|---|---|---|
TextRenderable | Text display with styling | import { TextRenderable } from "@opentui/core" | |
BoxRenderable | Container with borders/backgrounds | import { BoxRenderable } from "@opentui/core" | |
GroupRenderable | Layout containers | import { GroupRenderable } from "@opentui/core" | |
InputRenderable | Single-line text input | import { InputRenderable } from "@opentui/core" | |
SelectRenderable | Dropdown selection | import { SelectRenderable } from "@opentui/core" | |
ScrollBoxRenderable | Scrollable content areas | import { ScrollBoxRenderable } from "@opentui/core" | |
CodeRenderable | Syntax-highlighted code | import { CodeRenderable } from "@opentui/core" |
Basic Pattern
Layout with Yoga (CSS Flexbox)
See LAYOUT.md for all Yoga properties.
Input Handling
Keyboard Events
Component Input Events
See INPUT.md for complete event handling patterns.
Styling & Colors
See STYLING.md for color system and style properties.
Animations
See ANIMATION.md for animation patterns.
Debugging
When to Use This Skill
Use /opentui for:
- Building TUIs with vanilla TypeScript/JavaScript
- Creating custom OpenTUI components
- Understanding core OpenTUI architecture
- Performance optimization
- Low-level debugging
For React-specific development, use /opentui-react For SolidJS-specific development, use /opentui-solid For project scaffolding and examples, use /opentui-projects
Common Tasks
- Create a form: Use BoxRenderable + InputRenderable components with Yoga layout
- Handle keyboard shortcuts: Listen to renderer "key" events
- Make scrollable lists: Use ScrollBoxRenderable with dynamic content
- Display code: Use CodeRenderable for syntax highlighting
- Add borders: Use BoxRenderable with borderStyle property
Resources
- Component API - Complete component reference
- Layout Guide - Yoga flexbox properties
- Event Handling - Keyboard, mouse, clipboard
- Styling - Colors, borders, spacing
- Animations - Timeline and easing
- Testing - Testing utilities
Key Knowledge Sources
- OpenTUI GitHub: https://github.com/sst/opentui
- Context7:
/sst/opentui(168 code snippets, High reputation) - Research:
.search-data/research/opentui/
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingopentui/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dimitrigilbert/ai-skills/opentui)