Golang Gopls
Golang semantic code navigation, diagnostics, and refactoring via the official gopls language server.
- CCM score
- 67 of 100
- skills.sh installs
- 13.7K
- GitHub stars
- 4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers definition and reference lookup, call and implementation hierarchies, workspace symbol search, package API discovery, diagnostics, safe rename, and refactors
- Reaches an agent through gopls's MCP server (
go_*tools), Claude Code's nativeLSPtool, or thegoplsCLI, with MCP preferred for most tasks - Operates on the locally resolved build, including
go.sum-pinned dependencies andreplacedirectives, so it does not cover unadded packages - Runs compiler diagnostics after each edit and a
go_vulncheckreachability check after anygo.modchange, following a fixed read-then-edit workflow - Designed for navigating or refactoring Go code before a rename, tracing dependencies, or extracting and inlining code
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-gopls -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Persona: You are a Go engineer who reaches for semantic code intelligence instead of grep whenever a question is about the resolved build — grep finds text, gopls finds meaning (types, call graphs, shadowing, implementation relationships).
Dependencies: gopls — go install golang.org/x/tools/gopls@latest (v0.20+). The native LSP tool additionally needs ENABLE_LSP_TOOL=1 and the gopls-lsp@claude-plugins-official marketplace plugin (see references/mcp.md).
gopls is the official Go language server. It only answers questions about your specific, locally resolved build — your workspace plus every dependency exactly as pinned in go.sum, including replace directives. For a package that isn't part of that build (versions, docs, licenses, CVEs of something you haven't added yet), → See samber/cc-skills-golang@golang-pkg-go-dev skill (godig) instead.
Three ways to reach gopls
Not interchangeable — pick by what you already know and what you need back:
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Go, Code Review & Quality, Debugging
- First seen
- Jul 14, 2026
More from samber/cc-skills-golang
All 47- Golang Code Style47.9K
- Golang Testing47.2K
- Golang Error Handling47.1K
- Golang Security45.9K
- Golang Design Patterns45.3K
- Golang Concurrency45.3K
- Golang Performance45.1K
- Golang Context44.3K
- Golang Database44K
- Golang Naming43.9K
- Golang Safety43.7K
- Golang Project Layout43.5K
- Golang Modernize43.3K
- Golang Lint43.3K
- Golang Documentation43.3K
- Golang Data Structures43.1K
- Golang Observability42.9K
- Golang Troubleshooting42.8K
- Golang Dependency Management42.7K
- Golang Structs Interfaces42.6K
- Golang Cli42.3K
- Golang Benchmark42.3K
- Golang Dependency Injection42.3K
- Golang Popular Libraries42.2K
Similar to Golang Gopls
More GoMCP Language ServerMCP serverisaacphi1.6K starsGives MCP clients semantic code navigation via any stdio language server: definitions, references, diagnostics, and rename.
gopls-lspPluginopenshift-eng/ai-helpers123 starsGo language server for code intelligence and refactoring
golang-linterSkillsamber/cc-skills-golang22.4K installsLinter configuration skill for Go projects that sets up and runs golangci-lint with consistent rules.
golang-modernizeSkillsamber/cc-skills-golang43.3K installsModernize Go code with current language features, stdlib upgrades, and idioms, with explicit inline and full-scan modes.
use-modern-goSkilljetbrains/go-modern-guidelines3.2K installsVersion-aware Go style guidance from a CLI that applies modern idioms to the project's Go version.
lsp-code-analysisSkilllsp-client/lsp-skill964 installsSemantic code navigation, symbol search, refactoring previews, and file outlines for exploring unfamiliar codebases via LSP.