explicit-error-handling
Installation
SKILL.md
Summary
Do not use _ to ignore errors. Always check if err != nil.
Guidance
- Use automated tools like
errcheckto 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.