golang-development
Installation
SKILL.md
Go Development
Follow the repository's supported Go version, toolchain, style, and dependency policy. Check go.mod, CI, and the official release notes before recommending version-specific APIs.
Workflow
- Read repository instructions and relevant packages/tests.
- Establish the supported toolchain with
go versionandgo.mod. - Trace ownership, API contracts, goroutine lifetime, cancellation, and errors.
- Implement the smallest coherent change.
- Format and verify with the project's commands; commonly:
gofmt -w <changed-files>
go test ./...
go vet ./...
Run race detection, fuzzing, benchmarks, staticcheck, or integration tests when the risk warrants them and the tools are configured.