golang-user-conventions
CommunityGo CLI/TUI conventions for robust Go tools.
Authorohnotnow
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: golang-user-conventions Download link: https://github.com/ohnotnow/agentic-stuff/archive/main.zip#golang-user-conventions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.