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.

guynhsichngeodiec Updated

File contents

guynhsichngeodiec/cc-skills-golang/tree/main/skills/golang-safety commit d9b9b02790

Frequently asked questions

npx skillmds@latest add guynhsichngeodiec/golang-safety