go-defensive
cxuu/golang-skillsSkill
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).
Why this score
This repo hosts 10 skills, so its 180 stars are split between them (about 18 each) for scoring.
Popularity score: 51/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
Security
Scanned Oct 20, 2026 at commit 91f0c2eef559, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onego-defensive cxuu/golang-skills · Skill | 51 | ★ 180 | ≈102 always | 5mo ago |
| defensive-programming-remover luongnv89/skills · Subagent Both about defensive and programming | 57 | ★ 133 | ≈28 in chat | 16d ago |
| go anombyte93/prd-taskmaster · Skill Both about go | 62 | ★ 606 | ≈23 always | 3mo ago |
| go-generator Redocly/redocly-cli · Skill Both about go | 71 | ★ 1.5k | ≈30 always | 16d ago |
| a-share-strategy-allmarket-multi-swing-defensive shouldnotappearcalm/a-share-skill · Skill Both about defensive and strategy | 65 | ★ 248 | ≈46 always | 24d ago |
| go-ultimate Djarvur/go-ultimate · Skill Both about go | 63 | ★ 30 | ≈24 always | 17d ago |