bubble-tea-scaffolder

Solid

Generate Bubble Tea (Go) TUI application structure with models, commands, and views using the Elm architecture.

AI & Automation 1,919 stars 122 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Bubble Tea Scaffolder Generate Bubble Tea TUI applications with Go and Elm architecture. ## Capabilities - Generate Bubble Tea project structure - Create models with Init, Update, View - Set up commands and messages - Implement component composition - Create styling with Lip Gloss - Set up testing patterns ## Usage Invoke this skill when you need to: - Build terminal UIs in Go - Create interactive CLI with Elm architecture - Implement complex TUI applications - Set up Bubble Tea project structure ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectName | string | Yes | Project name | | modulePath | string | Yes | Go module path | | components | array | No | Component definitions | ## Generated Patterns ### Main Application ```go package main import ( "fmt" "os" tea "github.com/charmbracelet/bubbletea" ) func main() { p := tea.NewProgram(initialModel(), tea.WithAltScreen()) if _, err := p.Run(); err != nil { fmt.Printf("Error: %v", err) os.Exit(1) } } ``` ### Model Definition ```go package main import ( "github.com/charmbracelet/bubbles/list" "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" ) type model struct { list list.Model textInput textinput.Model err error quitting bool } func initialModel() model { ti := textinput.New() ti.Pl...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
10 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

bubbletea

Build interactive Go TUIs with Bubbletea, Elm architecture, Lipgloss, layouts, and keyboard/mouse handling. Excludes plain-text CLIs, web/desktop GUIs, and other TUI frameworks.

2,894 Updated today
compozy
AI & Automation Listed

bubbletea

Use this skill when building a terminal UI (TUI) in Go with Bubble Tea and the Charm stack: the Elm Architecture / MVU pattern (`tea.Model` with `Init`/`Update`/`View`), `Cmd`/`Msg` event flow, Lip Gloss styling and layout, Bubbles components (`viewport`, `list`, `table`, `textinput`, `textarea`, `spinner`, `progress`), Glamour markdown rendering, and teatest for testing. Especially apt for streaming tokens from an LLM/agent into a terminal (goroutine → `p.Send` → `Update` → `viewport`), an agentic CLI, or any interactive full-screen or inline terminal app in Go. Targets v2 on the `charm.land/*/v2` import paths (Go 1.25+); writes current-version-correct code and avoids v1/beta patterns. Not for: Rust TUIs (→ Ratatui sibling), Python TUIs (→ Textual sibling), plain non-interactive CLI output (use `fmt`/`cobra`/standalone `lipgloss`), web/GUI UIs, or agent session orchestration / tmux / process multiplexing.

1 Updated 3 months ago
vinsonconsulting
Code & Development Listed

bubbletea

Build terminal user interfaces with Go and Bubbletea framework. Use when creating TUI apps with the Elm architecture, dual-pane layouts, accordion modes, mouse/keyboard handling, Lipgloss styling, and reusable components. Includes production-ready templates and battle-tested layout patterns from real projects. Don't use for plain-text CLI scripts without an interactive UI, web/desktop GUIs, or non-Go terminal frameworks (Ink, Textual, Ratatui).

2 Updated today
marcioaltoe