go-cli-application-architecture

Installation
SKILL.md

Go CLI Application Architecture

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

Core Workflow

  1. Identify commands, domain actions, external effects, and shared policies.
  2. Separate parsing/rendering from application orchestration and adapters.
  3. Define interfaces at the consumer that needs substitution.
  4. Construct dependencies once in a composition root and pass them explicitly.
  5. Keep configuration immutable after validation; give mutable state a dedicated store.
  6. Record ownership and cleanup for every acquired resource and background task.
  7. Test inward from pure logic to adapters and one assembled executable path.

Read Next

Installs
1
Repository
lvtd-llc/skills
GitHub Stars
1
First Seen
Aug 30, 2026
go-cli-application-architecture — lvtd-llc/skills