@samber/golang-safety

Defensive Golang coding to prevent panics, silent data corruption, and subtle runtime bugs. Use whenever writing or reviewing Go code that involves nil-prone types (pointers, interfaces, maps, slices, channels), numeric conversions, resource lifecycle (defer in loops), or defensive copying. Also triggers on questions about nil panics, append aliasing, map concurrent access, float comparison, or zero-value design.

View in AI SkillSafe app
37379 downloads
0 stars
0 demos
SKILL.md

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@samber/golang-safety/verified)](https://skillsafe.ai/skill/@samber/golang-safety/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@samber/golang-safety/installs)](https://skillsafe.ai/skill/@samber/golang-safety/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@samber/golang-safety/scan)](https://skillsafe.ai/skill/@samber/golang-safety/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@samber/golang-safety/eval)](https://skillsafe.ai/skill/@samber/golang-safety/)