Builds terminal UIs using Bubbletea and the Charm ecosystem (Lipgloss, Huh, Gum). Provides patterns, architecture references, and examples for TUI development.
Ships in williavs-charm-dev-skill-marketplace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build production-quality terminal user interfaces using Bubbletea and the Charm ecosystem.
1. Understand the architecture → references/architecture/ELM-ARCHITECTURE.md
Read this first to understand The Elm Architecture (TEA) pattern that Bubbletea implements.
2. Find your pattern → references/bubbletea/examples/CONTEXTUAL-INVENTORY.md
Quick reference table (lines 5-45) maps use cases to example files. Find what you need, go to the example, copy the pattern.
3. Check API details → references/api/BUBBLETEA_API_FEATURES.md
Comprehensive API reference for advanced features (message filtering, focus reporting, bracketed paste, testing, etc.).
4. Style your UI → references/lipgloss/examples/
Use Lipgloss for all styling. Examples show layouts, colors, borders, alignment, and responsive design.
Read these to understand Bubbletea's design:
references/architecture/ELM-ARCHITECTURE.md - The Elm Architecture (Model-View-Update pattern)references/architecture/MVC-IN-BUBBLETEA.md - How TEA maps to MVC if you're familiar with that patternreferences/architecture/COMPONENTS.md - Component composition and focus managementreferences/architecture/BEST-PRACTICES.md - Do's and don'ts, common anti-patternsFind examples in: references/bubbletea/examples/CONTEXTUAL-INVENTORY.md
Common patterns:
| Need | Example File |
|---|---|
| Multi-step form with validation | credit-card-form/main.go:83 |
| Window resize handling | window-size/main.go:360 |
| External command execution | exec/main.go:288 |
| Real-time event handling | realtime/main.go:305 |
| HTTP requests | http/main.go:279 |
| Multiple view switching | composable-views/main.go:228 |
| File selection | file-picker/main.go:172 |
| Selectable lists | list-default/main.go:148 |
| Progress tracking | package-manager/main.go:47 |
Full table with 45+ patterns in CONTEXTUAL-INVENTORY.md lines 5-45.
Bubbletea (references/bubbletea/) - Core TUI framework with 47 examples
Lipgloss (references/lipgloss/) - Styling and layout with 20 examples
Huh (references/huh/) - Interactive forms with 40 examples
Gum (references/gum/) - CLI components with 31 examples
package main
import (
"fmt"
tea "github.com/charmbracelet/bubbletea"
)
// Model - All application state
type model struct {
cursor int
choices []string
}
// Init - Initial command
func (m model) Init() tea.Cmd {
return nil
}
// Update - Handle messages
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch msg := msg.(type) {
case tea.KeyMsg:
switch msg.String() {
case "up":
if m.cursor > 0 {
m.cursor--
}
case "down":
if m.cursor < len(m.choices)-1 {
m.cursor++
}
case "q", "ctrl+c":
return m, tea.Quit
}
}
return m, nil
}
// View - Render UI
func (m model) View() string {
s := "Choose:\n\n"
for i, choice := range m.choices {
cursor := " "
if i == m.cursor {
cursor = ">"
}
s += fmt.Sprintf("%s %s\n", cursor, choice)
}
return s
}
func main() {
p := tea.NewProgram(model{
choices: []string{"Option 1", "Option 2", "Option 3"},
})
p.Run()
}
composable-views pattern for complex UIsMulti-step wizards → references/bubbletea/examples/credit-card-form/
Data tables → references/bubbletea/examples/table/
File browsers → references/bubbletea/examples/file-picker/
Progress indicators → references/bubbletea/examples/package-manager/
Chat interfaces → references/bubbletea/examples/chat/
External processes → references/bubbletea/examples/exec/
Real-time updates → references/bubbletea/examples/realtime/
Model = State - All state in one struct
View = Pure - (Model → String), no side effects
Update = Pure - ((Model, Msg) → (Model, Cmd)), no I/O
Commands = Side Effects - Async operations return messages
Always handle WindowSizeMsg - Make UIs responsive
Use Lipgloss for styling - Don't hand-craft ANSI codes
Batch commands - Use tea.Batch() for concurrent operations
references/architecture/ - TEA, MVC, components, best practicesreferences/bubbletea/ - 47 Bubbletea examples + CONTEXTUAL-INVENTORY.mdreferences/lipgloss/ - 20 styling examplesreferences/huh/ - 40 form examplesreferences/gum/ - 31 CLI component examplesreferences/api/ - BUBBLETEA_API_FEATURES.md (comprehensive API reference)For specific use case: Check CONTEXTUAL-INVENTORY.md lines 5-45 first
For architecture questions: Read ELM-ARCHITECTURE.md
For component composition: Read COMPONENTS.md
For common mistakes: Read BEST-PRACTICES.md
For API details: Check BUBBLETEA_API_FEATURES.md
references/CHARM_ECOSYSTEM_README.md (opens in a new tab)references/api/BUBBLETEA_API_FEATURES.md (opens in a new tab)references/architecture/BEST-PRACTICES.md (opens in a new tab)references/architecture/COMPONENTS.md (opens in a new tab)references/architecture/ELM-ARCHITECTURE.md (opens in a new tab)references/architecture/MVC-IN-BUBBLETEA.md (opens in a new tab)references/bubbletea/examples/CONTEXTUAL-INVENTORY.md (opens in a new tab)references/bubbletea/examples/INVENTORY.md (opens in a new tab)references/bubbletea/examples/README.md (opens in a new tab)references/bubbletea/examples/altscreen-toggle/README.md (opens in a new tab)references/bubbletea/examples/altscreen-toggle/altscreen-toggle.gif (opens in a new tab)references/bubbletea/examples/altscreen-toggle/main.go (opens in a new tab)references/bubbletea/examples/autocomplete/main.go (opens in a new tab)references/bubbletea/examples/cellbuffer/main.go (opens in a new tab)references/bubbletea/examples/chat/README.md (opens in a new tab)references/bubbletea/examples/chat/chat.gif (opens in a new tab)references/bubbletea/examples/chat/main.go (opens in a new tab)references/bubbletea/examples/composable-views/README.md (opens in a new tab)references/bubbletea/examples/composable-views/composable-views.gif (opens in a new tab)references/bubbletea/examples/composable-views/main.go (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 plugins in one repository ship this exact skill · first indexed Jul 8, 2026
Other plugins' skills for the same job
/williavs-charm-dev-skill-marketplace:charm-devfrom williavs-charm-dev-skill-marketplace
williavs-charm-dev-skill-marketplace@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin williavs-charm-dev-skill-marketplace