go-defensive
cxuu/golang-skillsUse when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for cleanup, time.Time/time.Duration, or…
Scores out of 100 · grade B+
2026-08-22Works
40% of the score100/100
- Loads cleanly: valid frontmatter, required fields present, no dangling references.
Maintained
25% of the score72/100
- no commits in the last 12 weeks
Adopted
20% of the score44/100
- 989 installs on skills.sh.
- 145 stars on the source repo.
Documented
15% of the score90/100
- 843 words with worked examples.
- Ships 5 bundled files.
Install
npx skills add cxuu/golang-skills/go-defensiveWhat it says it does
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).
Also in cxuu/golang-skills
| Artifact | Score | What the check found | Type | Reach | Last commit |
|---|---|---|---|---|---|
| go-namingcxuu/golang-skills | clean | Skill | 1,007 installs | 2 months ago | |
| go-code-reviewcxuu/golang-skills | clean | Skill | 1,334 installs | 2 months ago | |
| go-documentationcxuu/golang-skills | clean | Skill | 1,030 installs | 2 months ago | |
| go-error-handlingcxuu/golang-skills | clean | Skill | 1,013 installs | 2 months ago | |
| go-interfacescxuu/golang-skills | clean | Skill | 1,001 installs | 2 months ago | |
| go-performancecxuu/golang-skills | clean | Skill | 1,020 installs | 2 months ago |
Other language-specific skills
Browse all| Artifact | Score | What the check found | Category | Reach | Last commit |
|---|---|---|---|---|---|
| turborepovercel/turborepo | clean | Language-specific | 64,154 installs | today | |
| programmingcode-yeongyu/oh-my-openagent | No license | Language-specific | 68k stars | today | |
| cadearthtojake/text-to-cad | clean | Language-specific | 8,940 installs | today | |
| dxfearthtojake/text-to-cad | clean | Language-specific | 4,838 installs | today | |
| modern-pythontrailofbits/skills | clean | Language-specific | 6,975 installs | today | |
| printing-press-polishmvanhorn/cli-printing-press | clean | Language-specific | 5,602 installs | today |
Put this measurement in your README
A badge carrying how many listings this index holds from the repository and how many pass every static structural check. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://skillworks.kynth.studio/?q=cxuu%2Fgolang-skills)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.
