Home / Skills / go-error-handling

go-error-handling

cxuu/golang-skillsSkill

Use when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and fmt.Errorf (%w vs %v), structuring error flow, or deciding whether to log or return. Also use when propagating errors across package boundaries or using errors.Is/As, even if the user doesn't ask about error strategy. Does not cover panic/recover patterns (see go-defensive).

ScannedSkillSource: GitHubContains scripts
180 stars +4 this week Updated 5mo ago License Apache-2.0 Context ≈103 tokens always loaded
51popular

Why this score

Stars9/35
Usage (forks)2/15
Upkeep15/25
License15/15
Owner history10/10

This repo hosts 10 skills, so its 180 stars are split between them (about 18 each) for scoring.

Popularity score: 51/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

Security

Scanned Oct 20, 2026 at commit 91f0c2eef559, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onego-error-handling cxuu/golang-skills · Skill 51★ 180≈103 always5mo ago
error-handling microsoft/data-formulator · Skill Both about handling and error 84★ 18k≈17 always16d ago
api-error-handling secondsky/claude-skills · Skill Both about handling and error 63★ 231≈60 always16d ago
n8n-error-handling czlonkowski/n8n-mcp · Skill Both about handling and error 85★ 23k≈142 always16d ago
n8n-error-handling-official n8n-io/skills · Skill Both about handling and error 66★ 542≈121 always18d ago
go anombyte93/prd-taskmaster · Skill Both about go 62★ 606≈23 always3mo ago