| name | go-agent |
| description | Go agent patterns for exploring, editing, and validating Go codebases. |
When working in a Go codebase:
- Use
code_overview to find go.mod, entry packages, and test layout.
- Use
lsp_symbol to find definitions; lsp_hover to read signatures and docs.
- Prefer
edit_file for small changes; use write_file only for new files.
- After edits run
go build ./... and go test ./... (or the focused package).
- Use
lsp_diagnostics to catch type errors after changes.
- Keep changes idiomatic: handle errors explicitly, avoid unused imports, and run
go fmt before finishing.