Skip to content
G

golang-gopls

Golang semantic code intelligence via `gopls`, the official Go language server

by samberFree

#5035in AI Skills
0In stores

Description

golang-gopls is an agent skill from the samber/cc-skills-golang collection, listed on skills.sh. It teaches a coding agent to use gopls, the…

Highlights

  • Go-to-definition, references and implementations via gopls
  • Three access methods: MCP, native LSP and CLI
  • Register gopls as an MCP server
  • Works on the locally resolved build
  • Points to godig for packages outside the build

Ratings & Reviews

No ratings yet

Be the first to rate golang-gopls.

People also visit

H

hloiseaufcms/mcp-gopls

Go code analysis via gopls, the Go language server

AI Skills
Get
G

gopls

Official Go language server

AI Skills
Get
S

SimplyLiz/CodeMCP

Code intelligence via SCIP indexing for Go, TypeScript, Python

AI Skills
Get
M

mrjoshuak/godoc-mcp

Token-efficient access to Go package documentation

AI Skills
Get
U

use-modern-go

Use the Modern Go Guidelines CLI whenever writing, modifying, fixing

AI Skills
Get
O

ozgurcd/gograph

AST-aware repository graph for Go codebases: struct embeds, public API surfaces

AI Skills
Get

golang-gopls FAQ

What does the golang-gopls skill do?

It tells an agent to use gopls for semantic questions about your Go code, such as definitions, references and call hierarchies, instead of plain text search.

How do I install it?

Run npx skills add https://github.com/samber/cc-skills-golang --skill golang-gopls. You also need gopls, installed with go install golang.org/x/tools/gopls@latest.

How do I connect gopls to Claude Code?

The skill recommends gopls's MCP server, registered once with claude mcp add gopls -- gopls mcp.

Does it need an editor?

No. The README says the MCP server runs headless over stdio and only sees files saved to disk.

Is the native LSP tool on by default?

No. The skill says it is off by default and needs ENABLE_LSP_TOOL=1 and the gopls-lsp marketplace plugin.

Is it free?

Yes. The skill is listed on skills.sh as free.

What are the best golang-gopls alternatives?

Popular alternatives to golang-gopls include hloiseaufcms/mcp-gopls, gopls and SimplyLiz/CodeMCP. See all golang-gopls alternatives

Developer Stuff

Badges