go-error-handling-author
CommunityAuthor robust Go error handling with doterr.
Authormikeschinkel
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go projects often accumulate inconsistent error handling patterns, making it hard to trace, compose, and propagate errors across packages.
Core Features & Use Cases
- Introduces doterr sentinels and metadata to standardize error definitions.
- Enables contextual error propagation and safe composition without fmt.Errorf.
- Useful when refactoring existing code or defining new errors with stable API behavior.
Quick Start
Refactor a Go function to replace error returns with a doterr sentinel and attach context at the boundary.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-error-handling-author Download link: https://github.com/mikeschinkel/ai-agent-depot/archive/main.zip#go-error-handling-author Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.