OpenTUI skill for use with OpenCode
npx skills add https://github.com/msmps/opentui-skill --skill opentuiقم بتثبيت هذه المهارة باستخدام واجهة سطر الأوامر (CLI) وابدأ في استخدام سير عمل SKILL.md في مساحة عملك.
OpenTUI platform reference docs. Covers the Core imperative API, React reconciler, Solid reconciler, layout system, components, keyboard handling, animations, and testing.
Add the skill to your AI coding assistant for richer context:
npx skills add msmps/opentui-skill
This works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Goose, OpenCode, and Windsurf.
Local installation (current project only):
curl -fsSL https://raw.githubusercontent.com/msmps/opentui-skill/main/install.sh | bash
Global installation (available in all projects):
curl -fsSL https://raw.githubusercontent.com/msmps/opentui-skill/main/install.sh | bash -s -- --global
Once installed, the skill appears in OpenCode's <available_skills> list. The agent loads it automatically when working on OpenTUI tasks.
Use the /opentui command to load the skill and get contextual guidance:
/opentui create a React TUI with keyboard navigation
To update to the latest version:
/opentui --update-skill
The installer adds both a skill and a command:
# Skill (reference docs)
skill/opentui/
├── SKILL.md # Main manifest + decision trees
└── references/ # Framework and concept subdirectories
├── core/ # Imperative API (5-file pattern)
├── react/ # React reconciler (5-file pattern)
├── solid/ # Solid reconciler (5-file pattern)
├── components/ # Component categories
├── layout/ # Yoga/Flexbox layout
├── keyboard/ # Input handling
├── animation/ # Timeline animations
└── testing/ # Test renderer + snapshots
# Command (slash command)
command/opentui.md # /opentui entrypoint
The main SKILL.md contains decision trees for:
Frameworks: Core (imperative), React (declarative), Solid (fine-grained reactivity)
Components: text, box, scrollbox, input, textarea, select, tab-select, ascii-font, code, line-number, diff
Cross-cutting: Layout (Yoga/Flexbox), Keyboard handling, Animations, Testing
This skill's structure and patterns are heavily inspired by:
cloudflare-skill by Dillon Mulroy — an excellent example of a platform skill, demonstrating decision trees, progressive disclosure, and the multi-file reference pattern.
Anatomy of an Excellent OpenCode Skill by JP Caparas — an insightful breakdown of what makes cloudflare-skill effective, covering context management, troubleshooting indexes, and intent-based routing.
MIT - see LICENSE
Upstream: anomalyco/opentui | Last synced commit: 6d5d25a | Date: 2026-03-24