Skip to content
Back to skills

Go Navigation

ASecurity

Use when reading or locating Go code in a project open in GoLand - finding where a symbol is declared, what an API actually looks like, what a package exports, or who calls something. Use instead of grep, ripgrep or find for anything that has a Go meaning. Do not use for editing; see go-refactoring.

  • 4 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 30, 2026
ai-agentsgorefactoringapidocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 30, 2026

npx -y skills add salatmaster/goland-mcp-plus --skill go-navigation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Navigation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go Navigation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/salatmaster-go-navigation/badge)](https://www.skillsdirectory.com/skills/salatmaster-go-navigation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: go-navigation
description: Use when reading or locating Go code in a project open in GoLand - finding where a symbol is declared, what an API actually looks like, what a package exports, or who calls something. Use instead of grep, ripgrep or find for anything that has a Go meaning. Do not use for editing; see go-refactoring.
---

# Navigating Go code through GoLand

A GoLand session with the Go MCP++ plugin exposes tools that resolve symbols
through the Go type system. Text search cannot do that, and in Go the gap is
wide: `Get` appears in forty packages, a method's receiver is not next to its
type, and vendored copies of a dependency look identical to the real one.

Tool names arrive namespaced by the MCP server, e.g. `mcp__goland__go_symbol`.
Match on the `go_*` suffix.

## Which tool answers which question

| Question | Tool | Arguments |
| --- | --- | --- |
| Where is this declared, and what is its signature? | `go_symbol` | `reference` |
| What does this do — doc comment and signature? | `go_doc` | `reference` |
| Show me its actual source | `go_source_of` | `reference` |
| What does this package export? | `go_package_api` | `packageReference`, `includeUnexported`, `limit` |
| Who uses this, and how? | `go_find_usages` | `reference`, `includeTests`, `limit` |
| Read several files at once | `go_read_files` | `paths` |

## Writing a reference

One string, in any of these shapes:

- `net/http.Client.Do` — import path, type, member
- `net/http.Client` — import path and symbol
- `./internal/store.Store` — relative package
- `store.User.Save` — single-segment package
- `Handler.ServeHTTP` — receiver and method
- `ServeHTTP` — bare name

Quoting, a pasted declaration (`func (c *Circle) Area() float64`), and the
documentation form (`(*Circle).Area`) are all accepted and normalised. Paths
accept a leading `./` or `/`, `file://`, and backslashes.

## Rules that matter

**Never grep for a Go definition.** `go_symbol` resolves; grep matches text and
will happily hand you a same-named symbol from another package, a comment, or a
vendored duplicate.

**Never answer an API question from memory.** `go_doc` reports what the version
installed in *this* module declares. Standard library and dependency symbols
resolve too, so there is no reason to guess at a signature or invent a field.

**Reach for `go_package_api` before exploring a package file by file.** One call
returns the types, functions, constants and variables, with struct fields and
their tags — which is usually the whole question, and it costs one round trip
instead of ten reads.

**`go_find_usages` classifies each usage** as a call, a read or a write, gives
`callCount` and `writeCount`, and marks the ones in test files. "Is this field
ever written outside tests?" is one call, not a search plus manual reading.

When a result reports `truncated`, raise `limit` rather than assuming you saw
everything.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.