Handles the full spectrum of Go error patterns: choosing between sentinel errors, custom types, and fmt.Errorf wrapping (%w vs %v), structuring error flow with early returns, and deciding whether to log or return (never both). Ships with a linter script that catches common anti-patterns like string comparison on err.Error() and log-and-return violations. The references cover wrapping strategy at package boundaries, when to escalate from simple errors.New to typed errors, and the handle-once pattern. Requires Go 1.13+ for errors.Is/As. Built from Google and Uber style guides, so you get opinionated guidance on things like error string capitalization and avoiding in-band error values.
npx skills add https://github.com/cxuu/golang-skills --skill go-error-handling