Skip to content
ggprompts avatar

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
View on GitHub

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 -y

Installs 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)

  1. Always Account for Borders - Subtract 2 from height calculations BEFORE rendering panels
  2. Never Auto-Wrap in Bordered Panels - Always truncate text explicitly
  3. Match Mouse Detection to Layout - Use X coords for horizontal, Y coords for vertical
  4. 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 Go