Build command-line tools in Go: flag handling, subcommands, stdin/stdout discipline, exit codes, signal handling, and when Cobra/Viper earn their weight over the standard library. Use when: "build a CLI", "add a subcommand", "parse flags", "exit codes", "handle Ctrl+C", "cobra command", "read from stdin", "CLI UX". Do NOT use for: HTTP API design (use go-api-design), project scaffolding in general (use go-project-layout), or configuration of services (use go-architecture-review).
$npx -y skills add eduardo-sl/go-agent-skills --skill go-cliInstalls into the current project.
Run `npx skills use "https://github.com/eduardo-sl/go-agent-skills" --skill "eduardo-sl/go-agent-skills/go-cli"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/eduardo-sl/go-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/eduardo-sl/go-agent-skills"` and select the relevant skills, then follow their instructions.