bubble-tea-scaffolder

Solid

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

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
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
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills