samber/cc-skills-golang/golang-safety
Defensive Golang coding against accidental bugs — nil panics, typed-nil interfaces, `append` backing-array aliasing, silent int64-to-int32 truncation, float `==` comparison, `defer` inside loops, defensive copies of slices and maps, and usable zero values. Use when a Go program panics on a nil map write or nil pointer dereference, when reviewing code for nil-safety, numeric conversion overflow, or resource lifecycle, or when designing a type whose zero value must be safe. Not for designing concu
Agent skill · version 2.0.1-main.1794413032.gd68d80a · from samber/cc-skills-golang
Install
npx yarkr-cli add skill:samber/cc-skills-golang/golang-safetyWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-safety
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-safetyOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:samber/cc-skills-golang/golang-safetyWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.