skills/go-best-practices/SKILL.md
Go best practices — idioms, error handling, concurrency, testing patterns. Use when writing, reviewing, or discussing Go code.
npx skillsauth add lklimek/claudius go-best-practicesInstall 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.
_internal/ package for private codefmt.Errorf("context: %w", err)fmt.Errorf("failed to read: %w", err)go test -race -cover ./...go mod tidy, go mod verifygo test -bench=. -benchmemUse GO-NNN prefix for all findings.
testing
Coordinator-only LLM validation pass. Adds ai_assessment / ai_verdict / ai_verdict_confidence and, in the rare partial-producer case, re-estimates absent risk/impact/scope on a consolidated v3 report.
testing
Use for typos or single-line fixes (≤20 lines). Same mandatory phase order (Planning→Impl→QA→LL), minimal ceremony. Auto-retry on failure.
testing
Use for bug fixes or small changes (≤200 lines). Same phase order as workflow-feature (Planning→Impl→QA→LL) with lighter ceremony. Auto-retry on failure, unattended.
development
Use for new projects, features, or major refactoring. Phases: Planning (Req→UX→Test Spec→Dev Plan) → Implementation → QA → Lessons Learned. Auto-retry on failure, unattended.