What problem does it solve?
Go CLI/TUI projects often suffer from inconsistent structure, scattered patterns, and difficulty in onboarding. This Skill defines a coherent set of Go CLI/TUI conventions to standardize project layout, testing, and UI patterns.
Core Features & Use Cases
- Project layout guidance: recommends layouts for single-file scripts, flat package main structures, and internal/ boundaries to organize code and tests.
- CLI flag parsing and testing patterns: prescribes using flag.FlagSet per subcommand, testable wiring, and stable configuration strategies.
- TUI and UI patterns: outlines Bubble Tea-based model structures, UI composition guidelines, and embedded UI considerations.
- Edge-case safe defaults: provides SQLite usage patterns, embedded web UI patterns, and consistent error handling.
Quick Start
Initialize a new Go CLI/TUI project following the standard layout: main.go, internal/, and UI modules.