Open source alternatives to golang-safety
200 open source apps like golang-safety, closest match first.
Top picks
- 1
100 Go Mistakes
Launch100go.co is a free online summary of the mistakes covered in the book 100 Go Mistakes and How to Avoid Them, by Teiva Harsanyi. Each common Go mistake is numbered and grouped by topic, so you can read the summary as a checklist for writing
Open source
- G
Go Modern Guidelines
LaunchModern Go Guidelines is a set of guidelines that helps AI coding agents write modern, idiomatic Go. The repository explains the style it wants: for example, using the built-in max function instead of an if-else block, slices.Contains instea
Open source
- G
garrytan/guard
GetGuard is an agent skill that turns on two safety layers with a single command. The first warns about destructive commands such as rm -rf, DROP TABLE and force-pushes. The second restricts file edits to a chosen directory, in the same way th
- G
Govalid
LaunchUp to 45x faster. Auto generate type-safe validation code for structs based on markers.
Open source
- C

CC Safety Net
LaunchA pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, DeepSee
Open source
- A

Aislop
LaunchCatch and fix the code-quality issues AI coding agents leave behind - dead code, unsafe casts, swallowed errors, duplication, security risks, and more. 50+ deterministic rules across 10 language targets, with CLI, CI, and GitHub Actions. No
Open source
More like golang-safety

Claude Code Security Review
by Anthropic - An official AI-powered security-review GitHub Action

andrej-karpathy-skills
by multica-ai - A drop-in CLAUDE.md distilling four behavioral guidelines
trailofbits/testing-handbook-skills
Testing Handbook skills: fuzzers, static analysis, sanitizers
Codex Chatgpt Bridge
A safe bridge for Codex and ChatGPT to hand off coding work, save tokens
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










