AI AGENT ADDONS
Code Review & Quality
33,528installs

Defensive Go coding helps you avoid crashes and hidden bugs. This skill focuses on common mistakes like nil panics, slice aliasing, and silent data corruption. It is useful for any Go developer who wants safer code.

The skill covers nil safety, slice and map safety, and float pitfall handling. It shows how to write code that does not panic or corrupt data. You will learn to handle typed nil pointers, initialize maps before writing, and make defensive copies of slices.

Use this skill when writing new Go code or reviewing existing code. It is designed for AI coding agents like Claude Code. The goal is to make your Go programs more reliable and easier to debug.

Add Golang Safety skill to your workflow

Global

mkdir -p ~/.claude/skills/golang-safety

Project

mkdir -p .claude/skills/golang-safety

Source Repository

Stars
2,322
Forks
149
Watchers
2,322
License
MIT
Last Push
28 days ago
Created
4 months ago