go-error-handling agent skill by eduardo-sl
Covers Go error handling patterns including wrapping, sentinel errors, custom error types, and the errors package, for implementing, designing, debugging, and reviewing error handling.
At a glance
| Publisher | eduardo-sl |
|---|---|
| Repository | eduardo-sl/go-agent-skills (31 listed skills) |
| Category | Developer Tools and Frameworks |
| License | MIT |
| Last commit | October 15, 2026 (repository) |
| SKILL.md | 227 lines, 1,106 words |
| Bundled files | 2 files, including references |
| Quality score | 95/100 · A Passes all seven graded checks |
| Security scan | Not scanned |
| README badge | Get the badges for this listing |
Before you install
Read from the skill's files at the directory's October 19, 2026 snapshot: what ships with it, what its code reads, and the terms it is published under.
- Bundled scripts: none.
- Tool permissions requested:
Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*)(theallowed-toolsfield of SKILL.md). - License: MIT, an open-source or open-content license.
Install go-error-handling
The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.
npx skills add 'https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/(code-quality)/go-error-handling'
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/eduardo-sl/go-agent-skills.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"'skills/(code-quality)/go-error-handling' .claude/skills/
rm -rf "$tmp"
python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
--repo eduardo-sl/go-agent-skills \
--path 'skills/(code-quality)/go-error-handling'
eduardo-sl/go-agent-skills is third-party code. Read SKILL.md and any bundled scripts before you install it.
How the author describes it
Go error handling patterns, wrapping, sentinel errors, custom error types, and the errors package. Grounded in Effective Go, Go Code Review Comments, and production-proven idioms. Use when implementing error handling, designing error types, debugging error chains, or reviewing error handling patterns. Trigger examples: "handle errors", "error wrapping", "custom error type", "sentinel errors", "errors.Is", "errors.As". Not for: panic/recover in middleware (go-api-design), test assertions (go-test-quality).
From the description field of SKILL.md. Agents read this line to decide when to load the skill.
Compatibility, from SKILL.md
| Compatibility | Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain. |
|---|
Sections in SKILL.md
- 1. Error Decision Tree
- 2. Sentinel Errors
- 3. Custom Error Types
- 4. Error Wrapping
- When NOT to use %w
- 5. Handle Errors Exactly Once
- 6. Error Naming Conventions
- 7. Panic Rules
- 8. Error Checking Patterns
- 9. Errors at Boundaries
- Executable Verification
- Verification Checklist
Files in the skill folder
SKILL.mdreferences/patterns-and-boundaries.md
Suede Skill Check: 95/100 · A
Report snapshot · · graded-v2
The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.
Source revision: e25b517bbd0c. Report version 686ac98ee187. Badge URLs follow the latest listing; save the report to keep this version.
Download report · Request a fresh review
What to review next
- Bundled scripts: 0 of 2 points. 2 when the skill folder ships a scripts/ folder.
Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.
go-error-handling passes the required frontmatter check and all seven graded checks, which cover the SKILL.md format, a declared license and a commit in the last year. Those checks earn 56 of the score’s points; the rest come from description quality, instruction depth, bundled files, maintenance and curated-list citations. How the score works.
See the checks and points
| Check | Result |
|---|---|
| Frontmatter parses and declares a name and a description | Pass |
| Name uses lowercase letters, digits and hyphens, 64 characters or fewer | Pass |
| Name matches the skill's folder name | Pass |
| Description is between 50 and 1,024 characters | Pass |
| Description says when an agent should use the skill | Pass |
| SKILL.md body is 500 lines or fewer | Pass |
| A license is declared in the frontmatter or the repository | Pass |
| Repository has a commit in the last 12 months | Pass |
| Score component | Points |
|---|---|
| Structural checks | 56 of 56 |
| Description length | 5 of 5 |
| Boundary clause | 4 of 4 |
| Example request | 3 of 3 |
| Instruction depth | 7 of 7 |
| Reference files | 3 of 3 |
| Bundled scripts | 0 of 2 |
| Recent maintenance | 9 of 9 |
| Curated-list citations | 4 of 7 |
| Tool permissions declared | 2 of 2 |
| Compatibility declared | 2 of 2 |
Two badges for go-error-handling
Choose the numeric badge, the letter badge, or both. Each links to this skill’s Suede listing; either valid linked badge can qualify for the feature offer.
[](https://skills.suedeai.ai/directory/eduardo-sl/go-agent-skills/go-error-handling/)
[](https://skills.suedeai.ai/directory/eduardo-sl/go-agent-skills/go-error-handling/)<a href="https://skills.suedeai.ai/directory/eduardo-sl/go-agent-skills/go-error-handling/"><img src="https://skills.suedeai.ai/directory/eduardo-sl/go-agent-skills/go-error-handling/score.svg" alt="Suede Skill Check: 95/100" width="160" height="175"></a>
<a href="https://skills.suedeai.ai/directory/eduardo-sl/go-agent-skills/go-error-handling/"><img src="https://skills.suedeai.ai/directory/eduardo-sl/go-agent-skills/go-error-handling/badge.svg" alt="Suede Skill Check: Grade A" width="160" height="175"></a>Suede Certified on the shield refers to this published structural quality check. Security scan: not scanned. Read the methodology.
Limited-time feature offer: display either the numeric or letter badge in your repository or skill README (both also qualify), then request badge verification. Eligible skills scoring 80–99 can receive a featured placement after Suede verifies at least one valid badge linked to the skill’s listing. Suede has not announced an end date.
Where this skill is cited
eduardo-sl/go-agent-skills appears in 3 curated lists: BehiSecc/awesome-claude-skills, VoltAgent/awesome-agent-skills, heilcheng/awesome-agent-skills.