1 rule for Go (Golang)
Cursor rules for Go: Errors, Context and Goroutines. Structure, data, errors, security, performance, and tests. Go 1.27.4, Nov 2026.
# Go Rules for Cursor: Errors, Context and Goroutines
## Install
Install the native export at `.cursor/rules/go-rules.mdc`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Go Rules for Cursor: Errors, Context and Goroutines
File-scoped Cursor rule for Go. It attaches when a matching file is in context.
## Updated for Go 1.27.4, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Go 1.27.4 is the current stable release on `go.dev/dl`. Go 1.26.11 is the other stable line. Stay on the version in `go.mod`. Go ...