Skip to content
golang-safety

Alternatives to golang-safety

200 apps like golang-safety, closest match first.

Top picks

  1. G

    golang-security

    Get

    golang-security is an agent skill from the samber cc-skills-golang collection that brings security practice to Go code. It covers vulnerability prevention for injection, including SQL, command and cross-site scripting injection, as well as

  2. G

    golang-error-handling

    Get

    golang-error-handling is an agent skill from the samber cc-skills-golang collection that guides a coding agent to write idiomatic, debuggable error handling in Go. It covers creating errors, wrapping them with %w to keep context, checking t

  3. G

    golang-design-patterns

    Get

    golang-design-patterns is an agent skill from the samber cc-skills-golang collection that guides a coding agent to idiomatic Go design. It covers functional options, constructor APIs, avoiding init functions and global state, enums, the cho

  4. G

    golang-troubleshooting

    Get

    golang-troubleshooting is an agent skill from the samber cc-skills-golang collection for finding and fixing the root cause of bugs in Go programs, including crashes, deadlocks, data races and unexpected behaviour. Its persona is a Go system

  5. G

    golang-data-structures

    Get

    golang-data-structures is an agent skill from the samber cc-skills-golang collection for choosing and using Go's built-in and standard library data structures. Its persona is a Go engineer who understands data structure internals and picks

  6. G

    golang-patterns

    Get

    golang-patterns is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out idiomatic Go practice for building robust, efficient and maintainable applications. Its first principle is simplicity and clarity, since

More like golang-safety

7
G

go-defensive

Hardening Go code at API boundaries

Get
8
G

golang-concurrency

Golang concurrency design

Get
9
U

use-modern-go

Use the Modern Go Guidelines CLI whenever writing, modifying, fixing

Get
10
G

go-code-review

Reviewing Go code or checking code against community style standards

Get
11
M

modern-go-guidelines

Enhances Claude Code with modern Go guidelines up to go 1.26 version

Get
12
G

golang-lint

Linting best practices and golangci-lint configuration for Golang projects

Get
13
G

golang-performance

Golang performance optimization patterns and methodology

Get
14
G

golang-samber-mo

Monadic types for Golang using samber/mo

Get
15
G

golang-samber-lo

Functional programming helpers for Golang using samber/lo

Get
16
G

golang-database

Comprehensive guide for Go database access

Get
17
G

go-performance

Optimizing Go code, investigating slow performance

Get
18
G

golang-modernize

Modernize Golang code to use recent language features

Get
19
G

golang-samber-oops

Structured error handling in Golang with samber/oops

Get
20
1

100 Go Mistakes

100 Go Mistakes and How to Avoid Them

Launch
21
G

golang-testing

Production-ready Golang tests

Get
22
G

golang-testing

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing

Get
23
G

golang-linter

An installable skill for AI agents

Get
24
G

golang-dependency-management

Dependency management for Golang projects

Get
25
G

golang-refactoring

Golang refactoring

Get
26
G

golang-documentation

Comprehensive documentation guide for Golang projects, covering godoc comments

Get
27
U

unsafe-checker

CRITICAL: Use for unsafe Rust code review and FFI

Get
28
G

go-packages

Creating Go packages, organizing imports, managing dependencies

Get
29
G

golang-structs-interfaces

Golang struct and interface design patterns

Get
30
G

go-documentation

Writing or reviewing documentation for Go packages, types, functions, or methods

Get
31
G

go-agent-skills

28 curated Go skills for code review, concurrency safety, testing, gRPC

Get
32
G

golang-cli

Golang CLI application development

Get
33
G

go-style-core

Working with Go formatting, line length, nesting, naked returns, semicolons

Get
34
G

golang-samber-do

Dependency injection in Golang using samber/do

Get
35
G

golang-popular-libraries

Golang library and framework selection

Get
36
G

golang-naming

Go (Golang) naming conventions

Get
37
G

golang-continuous-integration

GitHub Actions CI/CD pipeline configuration for Golang projects

Get
38
G

golang-pkg-go-dev

Golang package and module lookup via `godig`, a pkg.go.dev API client

Get
39
C

cc-skills-golang

Go skills: language use, testing, security and observability

Get
40
O

openai/security-best-practices

Review code for language-specific security vulnerabilities

Get
41
G

go-linting

Setting up linting for a Go project, configuring golangci-lint

Get
42
P

python-type-safety

Python type safety with type hints, generics, protocols

Get
43
G

golang-code-style

Golang code style conventions

Get
44
R

rust-review

Performs comprehensive Rust security review for safe/unsafe boundary issues

Get
45
G

golang-benchmark

Golang benchmarking, profiling, and performance measurement

Get
46
R

rust-patterns

Idiomatic Rust patterns, ownership, error handling, traits, concurrency

Get
47
G

golang-gopls

Golang semantic code intelligence via `gopls`, the official Go language server

Get
48
G

go-testing

Writing, reviewing, or improving Go test code

Get
49
G

Go Modern Guidelines

Help AI coding agents write modern Go

Launch
50
G

go-error-handling

Writing Go code that returns, wraps, or handles errors

Get

About golang-safety

G

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