Go Error Management

Guides the agent to avoid common Go error management mistakes when writing or reviewing Go code. Covers panic usage, error wrapping vs transforming, checking error types and values correctly with errors.As/errors.Is, handling errors exactly once, explicitly ignoring errors, and handling defer errors. Use when writing, reviewing, or refactoring Go error handling code, or when working with sentinel errors, custom error types, wrapped errors, or defer cleanup.

v0lka bf8dcdc 7.9 KB Updated

File contents

v0lka/skills/tree/main/development/idiomatic-go/go-error-management commit bf8dcdccbd

Frequently asked questions

npx skillmds@latest add v0lka/go-error-management