Software EngineeringOpen accessPublished 3 Oct 2026
Write production-ready Go CLI tools, automation programs, and batch file processors with
idiomatic Go patterns — Go modules layout, the standard library flag package by default
(or cobra/urfave-cli for complex CLIs), structured logging via log/slog (Go 1.21+),
error wrapping with fmt.Errorf %w plus errors.Is/errors.As, context.Context for
cancellation and timeouts, signal.NotifyContext for graceful SIGINT/SIGTERM, distinct
exit codes per failure mode, embedded assets via //go:embed, race-detector-clean
concurrency with errgroup, and cross-platform / cross-compile support (GOOS/GOARCH) for
Linux, macOS, Windows. Targets Go 1.22 and above. Use this skill whenever the user a…