explicit-error-handling

Installation
SKILL.md

Summary

Do not use _ to ignore errors. Always check if err != nil.

Guidance

  • Use automated tools like errcheck to find ignored errors.
  • Wrap errors with context when bubbling up: fmt.Errorf("do something: %w", err).

Rationale

Silent failures are the hardest bugs to debug.

Installs
1
First Seen
Apr 5, 2026
explicit-error-handling — mew-ton/coding-guidelines