Bubbletea
Go and Bubbletea TUI skill with layout rules, reusable components, effects, and production templates.
- CCM score
- 53 of 100
- skills.sh installs
- 516
- GitHub stars
- 21
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers TUI app development with the Elm architecture, dual-pane and accordion layouts, and mouse and keyboard handling
- Includes a project template with separate files for keyboard, mouse, view, and styles, plus reusable panels, lists, dialogs, and tables
- Enforces four layout rules: account for borders, truncate text instead of wrapping, match mouse detection to layout, and use weights over pixels
- Designed for developers building terminal apps in Go with Lipgloss styling and YAML-driven configuration
Install
$ npx -y skills add ggprompts/tfe --skill bubbletea -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Bubbletea TUI Development
Production-ready skill for building beautiful terminal user interfaces with Go, Bubbletea, and Lipgloss.
When to Use This Skill
Use this skill when:
- Creating new TUI applications with Go
- Adding Bubbletea components to existing apps
- Fixing layout/rendering issues (borders, alignment, overflow)
- Implementing mouse/keyboard interactions
- Building dual-pane or multi-panel layouts
- Adding visual effects (metaballs, waves, rainbow text)
- Troubleshooting TUI rendering problems
Core Principles
CRITICAL: Before implementing ANY layout, consult references/golden-rules.md for the 4 Golden Rules. These rules prevent the most common and frustrating TUI layout bugs.
The 4 Golden Rules (Summary)
- Always Account for Borders - Subtract 2 from height calculations BEFORE rendering panels
- Never Auto-Wrap in Bordered Panels - Always truncate text explicitly
- Match Mouse Detection to Layout - Use X coords for horizontal, Y coords for vertical
- Use Weights, Not Pixels - Proportional layouts scale perfectly
Full details and examples in references/golden-rules.md.
Creating New Projects
Details
- Repository
- github.com/ggprompts/tfe
- Categories
- Go, CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What is the bubbletea skill for Claude Code?
The bubbletea skill helps an agent build terminal user interfaces in Go with the Bubbletea framework and Lipgloss styling. It covers the Elm architecture, dual-pane and accordion layouts, mouse and keyboard handling, and reusable components built from real projects.
How do I install the bubbletea skill?
Run npx -y skills add ggprompts/tfe --skill bubbletea -y in your project. Once installed, the agent can use the layout patterns, components and effects library in that skill when building Go TUI apps.
Which Go skills sit alongside bubbletea on Claude Marketplaces?
Bubbletea ranks in the top 100 of the Go category on Claude Marketplaces. Other Go skills in the category include golang-code-style, golang-testing, golang-error-handling, golang-design-patterns and golang-concurrency, which cover general Go practice rather than terminal interfaces.
What does the bubbletea skill need to run?
The skill targets Go projects and depends on the Bubbletea, Lipgloss and bubbles libraries plus gopkg.in/yaml.v3 for configuration. Optional add-ons such as Glamour for Markdown, huh for forms and Chroma for syntax highlighting can be added to go.mod as needed.
Similar to Bubbletea
More GoopentuiSkillmsmps/opentui-skill64.7K installsDecision-tree skill that routes OpenTUI work across the Core, React, and Solid APIs to reference files.
tui-designSkillhyperb1iss/hyperskills1.4K installsTerminal UI design guidance covering layout selection, keyboard and focus handling, async state, and terminal capability fallbacks.
jutsu-inkPluginTheBushidoCollective/han201 starsAdvanced Ink skills for building beautiful terminal UIs with React components, hooks, and Flexbox layouts.
pick-ui-librarySkillemilkowalski/skills268.1K installsCurated lookup of frontend libraries by task, from primitives and motion to charts, state, and styling.
ui-design-brainSkillcarmahhawwari/ui-design-brain927 installsui design brain.
ui-craftSkilleduclopez/ui-craft1.8K installsShips a UI design skill that enforces non-generic, AI-slop-free interface work through discovery, tokens, and review gates.