Catalog / Skills

Go CLI Application Architecture

Design and review maintainable Go CLI application boundaries, package layout, dependency direction, command factories, configuration ownership, adapters, services, storage, and composition roots. Use when starting a multi-command CLI, extracting business logic from Cobra, untangling globals, adding external dependencies, or deciding what belongs under cmd, internal, or reusable packages.

Gov0.3.0MITgogolangcliarchitecturepackagesdependency-injection

Install

npx skills add LVTD-LLC/skills --skill go-cli-application-architecture

From `SKILL.md`

Organize around dependency direction and testable behavior, not a copied folder template. Keep CLI framework code as an adapter around application services.