What problem does it solve? Go code often compiles cleanly yet hides runtime panics and silent data corruption: typed nil pointers wrapped in error interfaces, append calls that mutate shared backing arrays, integer conversions that truncate silently, and defer statements that accumulate resources inside loops. This Skill gives an AI coding agent a defensive-Go checklist so these bugs are caught at authoring or review time instead of in production. ## Core Features & Use Cases - Nil Safety: Detects the typed-nil interface trap, nil map writes, nil func calls, and nil pointer receiver dereferences, with fixes like comma-ok assertions and lazy initialization. - Slice & Map Safety: Prevents append aliasing, subslice backing-array retention, and non-deterministic map iteration using full-slice expressions, slices.Clone, and maps.Clone. - Numeric & Resource Safety: Enforces bounds checks before narrowing conversions, epsilon-based float comparison, and per-iteration resource cleanup by extracting loop bodies into helper functions. - Use Case: While reviewing a pull request that adds a Cache struct with an All() method, the agent flags that returning the internal map directly lets callers bypass Set() and corrupt cache invariants, and rewrites it to return maps.Clone(c.data). ## Quick Start Review this Go file for nil-safety issues, slice aliasing, and defer-in-loop resource leaks, then fix any problems you find.