@cxuu/go-defensive

Use when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for cleanup, time.Time/time.Duration, or avoiding mutable globals. Also use when reviewing for robustness concerns like missing cleanup or unsafe crypto usage, even if the user doesn't mention "defensive programming." Does not cover error handling strategy (see go-error-handling).

View in AI SkillSafe app
Scanned · no findings
0 downloads
0 stars
0 demos
SKILL.md

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@cxuu/go-defensive/verified)](https://skillsafe.ai/skill/@cxuu/go-defensive/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@cxuu/go-defensive/installs)](https://skillsafe.ai/skill/@cxuu/go-defensive/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@cxuu/go-defensive/scan)](https://skillsafe.ai/skill/@cxuu/go-defensive/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@cxuu/go-defensive/eval)](https://skillsafe.ai/skill/@cxuu/go-defensive/)