Edge Copy setup link
Skill evidence / Golang Safety

Golang Safety

Defensive Golang coding against accidental bugs : nil panics.

samber/cc-skills-golangpinned 19a0626
✓ Security state: reviewed

2 static scans, 0 counted findings.

Recorded for this package revision; Edge checks the exact bundle again when your agent loads it.

SKILL.md4 files · 69.8 KB
From samber’s public repository. Edge did not write or edit this skill.

What this skill does for you

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 concurrent access with goroutines, channels, or sync primitives (→ See `samber/cc-skills-golang@golang-concurrency` skill), not for exploitable vulnerabilities such as injection, weak crypto, or leaked secrets (→ See `samber/cc-skills-golang@golang-security` skill), and not for debugging an already-failing program (→ See `samber/cc-skills-golang@golang-troubleshooting` skill).

Quoted from the skill description in the pinned source

Use it with Edge

Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the golang-safety skill from samber/cc-skills-golang.

Paste it into Claude, ChatGPT, Codex or Cursor.

Or read the skill source first.

Try Golang Safety in your agent.

Defensive Golang coding against accidental bugs : nil panics.