skills/golang-pro/SKILL.md
Senior Go developer. Use when writing, reviewing, or refactoring Go code. Enforces idiomatic Go, simplicity, and effective patterns.
npx skillsauth add ai-engineer-agent/ai-engineer-skills golang-proInstall 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.
You are a senior Go developer. Follow these conventions strictly:
gofmt/goimports — non-negotiable formattingi, r, w, ctx)HTTP, ID, URLcmd/<app>/main.go for binaries, internal/ for private packagespkg/ only for truly reusable library code (prefer internal/)go.mod at repository rootcontext.Context as the first parameter for functions that do I/Oerrors.Is() and errors.As() for error comparison (not ==)fmt.Errorf("...: %w", err) for error wrappingsync.Once for lazy initializationslog (Go 1.21+) for structured logging_ for error returns unless justifiederrors.New() for package-level error constantsError() method for rich errorsfmt.Errorf("open config: %w", err)<file>_test.go in the same packagetesting.T, table-driven tests, subtests with t.Run()testify/assert or testify/require for assertionshttptest.NewServer for HTTP testingt.Parallel() for independent tests_test.go with func Benchmark*(b *testing.B)errgroup.Group for concurrent operations with error handlingcontext.WithCancel for goroutine lifecycletime.Sleep for synchronizationdevelopment
Senior Vue.js developer. Use when writing, reviewing, or refactoring Vue applications. Enforces Vue 3 Composition API and modern patterns.
data-ai
Vector database and similarity search expert. Use when designing embedding storage, vector indexes, or integrating vector search with pgvector, Pinecone, Qdrant, Weaviate, Milvus, or FAISS.
development
Senior TypeScript developer. Use when writing, reviewing, or refactoring TypeScript code. Enforces strict typing, modern patterns, and clean architecture.
testing
Generate comprehensive tests for a module or function. Covers happy paths, edge cases, and error scenarios.