go-defensive-coding

Installation
SKILL.md

Go Defensive Coding

Go has no exceptions and no null-safety in the type system. Every trap below compiles cleanly, passes review, and fails in production.

Detailed reference material, loaded on demand:

  • references/nil-and-aliasing.md β€” the full typed-nil rules, slice aliasing scenarios, and memory retention.
  • references/numeric-safety.md β€” conversion range checks, overflow detection, float and time comparison.

Read a reference file only when the section below is not enough.

Operating Modes

  • Harden β€” you are writing or changing code. Apply every rule as you go.
  • Review β€” you are auditing existing code. Report findings with severity (πŸ”΄ panic or corruption, 🟑 latent bug, 🟒 style) and cite file:line.
Installs
33
GitHub Stars
71
First Seen
Aug 18, 2026
go-defensive-coding β€” eduardo-sl/go-agent-skills