BigHugger
sk Skill · samber

golang-gopls

Golang semantic code intelligence via gopls, the official Go language server — go-to-definition, find references, call/implementation hierarchy, workspace symbol search, package API discovery, diagnostics, safe rename, refactors (extract/inline/fill/rewrite code actions), formatting, and generated tests. Reaches an agent via gopls's own MCP server (go_* tools), Claude Code's native LSP tool, or the gopls CLI. Use…

installs 8w
3,748
30-day movement
starts with the next reading
Related entries
1
Connections
1
Go

An agent skill that gives an AI coding agent semantic Go code intelligence through gopls, the official Go language server. It covers navigation (go-to-definition, references, call/implementation hierarchy), diagnostics, safe rename, refactors, formatting, and test generation, reachable via gopls's MCP server, Claude Code's native LSP tool, or the gopls CLI.

It routes Go navigation and refactoring through compiler-grade semantic analysis instead of text-level guessing, and tells you which access path (CLI, MCP, LSP) fits each task.

Use it to

  • Jump to a definition or find all references before a rename
  • Run diagnostics after editing Go code
  • Extract or inline code via gopls refactor actions
  • Search workspace symbols and discover package APIs
  • Trace call graphs in code you didn't write

For Developers using AI coding agents on Go projects

Host repository
samber/cc-skills-golang
Version
1.1.1
Installs, lifetime
4,800
Installs, 8 weeks
3,748
Allowed tools
Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent Bash(gopls:*) LSP mcp__gopls__*
Compatible with
Designed for Claude Code, Codex or similar harness. Requires the gopls binary (go install golang.org/x/tools/gopls@latest) v0.20+ on PATH.
Licence
MIT
Invocable by
user
Host stars
3,273
Host language
Go
topicsgolanggoplslspcode-navigationrefactoringagent-skill