charm-tui

Guide building terminal user interfaces in Go with Charm v2 libraries.

1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/nq-rdl/agent-extensions --skill charm-tui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: charm-tui
Source: https://github.com/nq-rdl/agent-extensions/tree/main/skills/charm-tui
Command: npx skills add https://github.com/nq-rdl/agent-extensions --skill charm-tui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go developers who want to build polished terminal user interfaces often struggle with structuring models, views, and commands, handling input, layout, and styling in a cohesive way. Charm provides a consistent ecosystem (Bubbletea v2, Bubbles v2, Lip Gloss v2, Fang v2) to simplify this process.

Core Features & Use Cases

  • Guidance on composing Bubbletea-based TUIs with component patterns, layout strategies, and styling workflows using Charm v2 libraries.
  • Examples and references for interactive dashboards, editors, file explorers, and CLI tools that require responsive input handling and polished visuals.
  • Best practices for testing, refactoring, and maintaining complex TUIs in production-like projects.

Quick Start

Create a minimal TUI that displays a counter and responds to up/down keys to increment and quit with q.

Frequently Asked Questions about charm-tui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a terminal UI in Go using Bubbletea v2?

Use Bubbletea v2's Model-View-Update architecture to structure terminal UIs in Go, separating state, rendering, and command handling for responsive interactive applications.

Can I build interactive dashboards and file explorers with the Charm ecosystem?

Yes, the Charm ecosystem provides Bubbletea, Bubbles, Lip Gloss, and Fang to build interactive dashboards, editors, and file explorers with responsive input handling and polished visuals.

What's the best way to style terminal interfaces in Go with Lip Gloss?

Lip Gloss v2 provides declarative styling for terminal interfaces in Go, allowing you to define layouts, colors, and spacing consistently across complex TUI components.

Do I need prior Go experience to build terminal UIs with Charm libraries?

Yes, you need Go development experience to build terminal UIs with Charm, as the ecosystem requires structuring models, views, and commands using Go's type system and concurrency patterns.

How do I test and refactor complex terminal user interfaces built with Bubbletea?

Test and refactor Bubbletea terminal UIs by isolating model update logic from view rendering, enabling unit tests for state transitions and maintainable component patterns in production projects.

How does Fang v2 work with Bubbletea for building CLI tools?

Fang v2 complements Bubbletea by providing structured command-line interface patterns, allowing you to build polished CLI tools that combine interactive TUI views with consistent command parsing and styling.