Agent skill
go-navigator-read
Use Go Navigator MCP to explore Go code semantically (packages, symbols, definitions/references, context, metrics, deps) and return file/line/snippets; do not modify code.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/go-navigator-read
SKILL.md
Go Navigator (READ) — semantic navigation only
Scope rules
- READ-ONLY: never call renameSymbol or rewriteAst (or any tool that changes files).
- Prefer semantic tools over raw text search.
Defaults
- Use "dir": "." unless the user specifies another root.
- For any "package" field, use the exact import path returned by listPackages (go list style).
Recommended workflows
Orientation in a new repo
- listPackages { "dir": "." }
- getProjectSchema { "dir": ".", "depth": "standard" } (optional)
- getMetricsSummary { "dir": ".", "package": "" } (optional)
- getDependencyGraph { "dir": ".", "package": "" } (optional)
Understand a symbol
- getDefinitions { "dir": ".", "ident": "<Ident>" }
- getReferences { "dir": ".", "ident": "<Ident>" }
- getSymbolContext { "dir": ".", "ident": "<Ident>", "kind": "<func|type|...>" } (preferred)
- getFunctionSource / getStructInfo / getFileInfo for deeper inspection
Interfaces & implementations
- listInterfaces { "dir": ".", "package": "" }
- getImplementations { "dir": ".", "name": "<InterfaceOrTypeName>" }
Complexity, dead code, summary
- getComplexityReport { "dir": ".", "package": "" }
- getDeadCodeReport { "dir": ".", "package": "", "limit": 10 }
- getMetricsSummary { "dir": ".", "package": "" }
Large result sets
- Use limit/offset pagination where supported (getDefinitions/getReferences).
- Return the most relevant files first.
Output format
- Always include file paths + line numbers.
- Include minimal snippets (1–5 lines) unless asked for full bodies.
- Summarize findings and propose next tool calls (still read-only).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?