
Golang Gopls
Wraps the official Go language server with three access patterns: gopls's own MCP server (preferred, agent-friendly tools that take names and paths instead of cursor positions), Claude Code's native LSP integration (automatic diagnostics after every edit), and the CLI as a fallback. Use it for go-to-definition, find references, call hierarchies, workspace symbol search, safe renames, and the full refactor.rewrite suite (extract/inline/fill struct/invert if). The skill is opinionated about workflow: always run diagnostics after edits, check references before touching a definition, and run vulncheck after go.mod changes. It only sees your local build as resolved by go.mod and go.sum, so for anything about the broader ecosystem (versions, importers, licenses) you need a different tool.
- skills.sh installs
- 12.5K
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-gopls --agent claude-codeInstalls into .claude/skills of the current project.
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:
Sponsors
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Backend & APIs, Security, Code Review & Quality, AI & Agent Building, Sales & Marketing, Go, CLI & Terminal
- First seen
- Jul 14, 2026
More from samber/cc-skills-golang
All 47- Golang Code Style46.1K
- Golang Testing45.4K
- Golang Error Handling45.3K
- Golang Security44.2K
- Golang Design Patterns43.8K
- Golang Performance43.6K
- Golang Concurrency43.6K
- Golang Context42.7K
- Golang Naming42.5K
- Golang Database42.5K
- Golang Safety42.2K
- Golang Project Layout42.1K
- Golang Documentation42K
- Golang Modernize42K
- Golang Lint41.9K
- Golang Data Structures41.8K
- Golang Troubleshooting41.6K
- Golang Observability41.5K
- Golang Dependency Management41.4K
- Golang Structs Interfaces41.3K
- Golang Cli41.1K
- Golang Benchmark41K
- Golang Dependency Injection41K
- Golang Popular Libraries41K