Golang Pkg Go Dev
Golang package and module documentation and exploration via `godig`, a pkg.go.dev API client (CLI + MCP server) — package docs, API references, symbols, code examples, available versions, importers (who imports a package), licenses, and known vulnerabilities. Read-only, no auth. Use for looking up any Go/Golang library's documentation, API signatures, usage examples, which versions exist, whether a dependency has CVEs, or who imports a package — prefer this over Context7 for any Go package or module. Triggers on: how to use a Go library, Go API docs, import usage, code examples, pkg.go.dev. Not for upgrading dependencies (→ See `samber/cc-skills-golang@golang-dependency-management` skill) or choosing a library (→ See `samber/cc-skills-golang@golang-popular-libraries` skill). Not for local symbols, or for navigating an already-used dependency's resolved source, call sites, or generic instantiations — → See `samber/cc-skills-golang@golang-gopls` skill for those.
- Type
- Skill
- Author
- samber
- Category
- Documentation
- GitHub stars
- 3.7K
- Installs
- 12.0K
- Last updated
- November 1, 2026
Install
npx skills add https://github.com/samber/cc-skills-golang --skill golang-pkg-go-devUse cases
- Look up API signatures and usage examples for a Go library.
- Check available versions and importers for a Go module.
- Verify if a Go dependency has known CVEs before adding it.
Frequently Asked Questions
What is godig?
godig is a pkg.go.dev API client available as both a CLI and an MCP server.
Does Golang Pkg Go Dev require authentication?
No, it is read-only and requires no authentication.
Can it tell me who imports a Go package?
Yes, it retrieves importers, showing which packages import a given package.
About this skill
Looks up Go package and module documentation through `godig`, a pkg.go.dev API client available as both CLI and MCP server, retrieving docs, API references, symbols, examples, available versions, importers, licenses, and known vulnerabilities. It's read-only and needs no auth, and the author recommends it over Context7 for Go packages. Note it covers documentation lookup rather than dependency upgrades, library selection, or local source navigation, which are handled by sibling skills.
Summary written with AI assistance from the project's public description.
Categories
More from samber
Golang Code Style
Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt. Use when writing...
by samber
Golang Testing
Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with gole...
by samber
Golang Error Handling
Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the si...
by samber
Golang Security
Security best practices and vulnerability prevention for Golang. Covers injection (SQL, command, XSS), cryptography, filesystem safety, network sec...
by samber
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh