skills/smithery.ai/golang-fullstack-error-handling

golang-fullstack-error-handling

Installation
SKILL.md

Error Handling (Unified Go & DB)

Expert-level review for error handling in Go services using GORM and PostgreSQL. Ensures errors are correctly identified, preserved via wrapping, mapped to domain errors, and retried where appropriate.

When to Apply

Use this skill when:

  • Reviewing general Go error propagation and context usage
  • Debugging database errors (e.g., duplicate keys, serialization failures)
  • Auditing error wrapping with %w vs %v
  • Ensuring correct use of errors.Is / errors.As
  • Adding retry logic for serializable transactions or deadlocks

Rule Categories

Installs
1
First Seen
Apr 19, 2026
golang-fullstack-error-handling from smithery.ai