golang-safety
golang safety
What it does
- → See samber/cc-skills-golang@golang-concurrency skill for concurrent access patterns and sync primitives
- → See samber/cc-skills-golang@golang-data-structures skill for slice/map internals, capacity growth, and container/ packages
- → See samber/cc-skills-golang@golang-error-handling skill for nil error interface trap
- → See samber/cc-skills-golang@golang-security skill for security-relevant safety issues (memory safety, integer overflow)
- → See samber/cc-skills-golang@golang-troubleshooting skill for debugging panics and race conditions
- → See samber/cc-skills-golang@golang-continuous-integration skill for automated AI-driven code review in CI using these guidelines
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
golang-safety FAQ
What does the golang-safety skill do?
Defensive Golang coding to prevent panics, silent data corruption, and subtle runtime bugs. Use when encountering nil panics, append aliasing, map concurrent access, float comparison pitfalls, or zero-value design questions. Also use when reviewing code for nil-safety, numeric conversion overflow, resource lifecycle issues (defer in loops), or defensive copying of slices and maps. → See samber/cc-skills-golang@golang-concurrency skill for concurrent access patterns and sync primitives → See samber/cc-skills-golang@golang-data-structures skill for slice/map internals, capacity growth, and container/ packages
How do I install golang-safety?
Run: npx -y skills add https://github.com/samber/cc-skills-golang --skill golang-safety --agent claude-code — the source lives at github.com/samber/cc-skills-golang.
Maintain golang-safety?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/samber-cc-skills-golang-golang-safety?ref=badge) npx agentictools info skills/samber-cc-skills-golang-golang-safety The second line is the CLI lookup for this page — handy in READMEs and docs.