Alternatives to golang-safety
50 AI Skills apps to use instead, best rated first.
Top picks
- W

webapp-testing
LaunchNative Python Playwright scripts for testing local web applications with server lifecycle management. Includes with_server.py helper to automatically start and manage single or multiple servers before running automation scripts. Supports re
- C

content-research-writer
LaunchAssists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on
- O

openhue
Launchopenhue is an agent skill from the OpenClaw project, listed on skills.sh. It lets an agent control Philips Hue lights and scenes through a Hue Bridge with the OpenHue CLI: turn lights on and off, dim rooms, set scenes such as movie mode, an
- B

batch-grill-me
Launchbatch-grill-me is an agent skill from Matt Pocock's skills collection, listed on skills.sh. It interviews you relentlessly about a plan until you share an understanding. It maps decisions as a tree and asks every question it can answer now
- I

implement
Launchimplement is an agent skill from Matt Pocock's skills collection, listed on skills.sh. It implements work from a spec or tickets: it fetches the ticket, works test-first at agreed seams, runs type checks and tests as it goes, reviews the re
- F

frontend-design
LaunchDistinctive, production-grade frontend interfaces that reject generic AI aesthetics through intentional design choices. Guides aesthetic direction selection (brutalist, maximalist, retro-futuristic, luxury, organic, etc.) before implementat
More AI Skills apps

brainstorming
Transform rough ideas into fully-formed designs through structured questioning

finishing-a-development-branch
Guides completion of development work by presenting clear options

test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
About golang-safety

golang-safety
Defensive Golang coding against accidental bugs
golang-safety is an agent skill from the samber cc-skills-golang collection that guides a coding agent to write defensive Go code that avoids accidental bugs in normal, non-adversarial code. The skill distinguishes safety from security: security handles attackers, while safety protects against the programmer's own mistakes, such as panics, silent data corruption and surprising behaviour. Its practical rules include preferring generics over any when the set of types is known, using comma-ok type assertions, and knowing that a typed nil pointer stored in an interface is not equal to nil. It warns that writing to a nil map panics, so maps must be initialised before use, and that append can reuse a backing array, so two slices may silently share memory. It advises returning defensive copies from exported functions, extracting loop bodies that use defer into their own functions, and checking integer conversions, since int64 values wrap silently when converted to int32. It also notes that float arithmetic is not exact, so comparisons should use an epsilon or math/big, that zero values should be useful, and that sync.Once guarantees one-time initialisation under concurrency. The skill is listed on skills.sh, where the page shows install counts, GitHub stars and security audit results, all passing. Install it with npx skills add https://github.com/samber/cc-skills-golang --skill golang-safety.
- Price
- Free
- Made by
- samber
- Category
- AI Skills
- Website
- github.com/samber/cc-skills-golang/golang-safety
