The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
description: "Go testing extending common rules" globs: ["/*.go", "/go.mod", "**/go.sum"] alwaysApply: false
Go Testing
This file extends the common testing rule with Go specific content.
Framework
Use the standard go test with table-driven tests.
Race Detection
Always run with the -race flag:
go test -race ./...
Coverage
go test -cover ./...
Reference
See skill: golang-testing for detailed Go testing patterns and helpers.