skills/backend/go-specialist/SKILL.md
Go expertise — patterns for building HTTP servers, CLI tools, and concurrent systems using Go standard library and popular packages. Covers Go idioms, error handling, interfaces, and goroutine patterns.
npx skillsauth add devjarus/coding-agent go-specialistInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Idiomatic, production-ready Go code following Effective Go. Prefers standard library, handles every error, writes table-driven tests.
net/http stdlib, chi, gorilla/mux, gin; middleware for logging, auth, panic recoverysync.WaitGroup, sync.Mutex, errgroup, context.Context always first paramfmt.Errorf("%w"), sentinel errors with errors.Is, typed with errors.Ast.Run, testing/httptest, testify, go test -racego.mod, golangci-lint, go vet, go generatecontext.Context as first parameter always%w for stack-friendly unwrappinglog/slog_go vet and golangci-lint clean with no warningsgo test -racego build ./... -> go test ./... -> go test -race ./...go vet ./... and golangci-lint runtesting
Multi-source research method — decompose a question, fan out parallel investigators, interleaved-think each result, verify claims adversarially, synthesize a cited answer. Use for breadth-heavy research, stack comparisons, "which approach wins" questions.
testing
Decide when to use unit vs integration vs e2e tests, and when to mock vs use the real thing per dependency. Dependency injection is the enabler — without it you end up monkey-patching imports. Apply when writing tests of any kind.
development
Test-driven development process — write failing test, implement to pass, refactor. Use when implementing any feature or fixing bugs.
development
Patterns for sharing types, API contracts, and validation schemas between frontend and backend. Use when multiple domains consume the same data shapes to prevent contract drift.