golang-packages
Queries pkg.go.dev metadata for Go packages and modules via pkgsite-cli and the pkg.go.dev v1beta API.
Skill by https://github.com/lrstanley
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lrstanley-golang-packages
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/golang-packages
What's inside
- Skill name
golang-packages- Description
- Queries pkg.go.dev metadata for Go packages and modules via pkgsite-cli and the pkg.go.dev v1beta API. Use when discovering packages, inspecting module versions, symbols, imports, reverse dependencies, vulnerabilities, licenses, other projects that depend on a package, or pkg.go.dev documentation lookup.
- License
- MIT
- Metadata
- role: specialist · scope: analysis · author: https://github.com/lrstanley · domain: language · triggers: pkgsite-cli, pkg.go.dev, package discovery, module versions, go module lookup, package search, reverse dependencies, imported-by, package symbols, module vulnerabilities, go package metadata, pkgsite API · output-format: analysis · related-skills: golang
- Instructions
- 93 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- api.md · references/
- module.md · references/
- package.md · references/
- search.md · references/
SKILL.md (first lines)
# Go Package Discovery (pkgsite-cli) Specialist for querying [pkg.go.dev](https://pkg.go.dev/) metadata through [pkgsite-cli](https://github.com/golang/pkgsite/tree/master/cmd/internal/pkgsite-cli), the reference CLI for the [pkg.go.dev v1beta API](https://pkg.go.dev/api). For programmatic integrations, use the REST API directly; see `references/api.md`. Introduced in the [pkg.go.dev API blog post](https://go.dev/blog/pkgsite-api). ## When to Use - Discovering or comparing third-party Go packages not present locally - Inspecting module versions, vulnerabilities, licenses, or README content - Listing exported symbols, imports, or reverse dependencies for a package - Scripting pkg.go.dev lookups with `-json` output ## When Not to Use - Reading documentation for a known import path, including `package@version` (use `go doc`) - Serving docs for local or private packages (use `cmd/pkgsite` web server) - Resolving ambiguous import paths without specifying the module ## Core Workflow 1. **Install** -- `go install golang.org/x/pkgsite/cmd/internal/pkgsite-cli@latest` 2. **Choose interface** -- CLI for terminal/scripts; REST API for application code 3. **Pick command** -- `search` for discovery; `package` or `module` for inspection 4. **Set flags** -- Request only needed data; use `-json` for machine output 5. **Handle ambiguity** -- Pass `-module` when the API reports multiple candidates ## Reference Guide | Topic | Reference | Load When | | --- | --- | --- | | Package inspection | `references/package.md` | Metadata, docs, symbols, imports, imported-by, licenses | | Module inspection | `references/module.md` | Versions, packages, vulnerabilities, README | | Search | `references/search.md` | Finding packages or symbols on pkg.go.dev | | REST API | `references/api.md` | Direct HTTP access, OpenAPI spec, curl, pagination | ## Commands | Command | Purpose | | --- | --- | | `pkgsite-cli search <query>` | Search for packages (or symbols with `-symbol`) | | `pkgsite-cli package <path>[@version]` | Inspect a package | | `pkgsite-cli module <module>[@version]` | Inspect a module | | `pkgsite-cli help` | Print usage for all commands | | `pkgsite-cli version` | Print CLI version and Go toolchain | Shared flags on `package`, `module`, and `search`: `-json`, `-limit` (default 25), `-server` (default `https://pkg.go.dev`), `-timeout` (default 30s), `-x` (print URLs). Run `pkgsite-cli <command> -h` for command-specific flags. ## Version Syntax Append `@version` to paths for semver tags (`v1.2.3`) or `master`/`main` branches. Omit `@version` for the latest tagged release. ## Constraints ### MUST DO - Place flags **before** positional arguments - Use `-module` when the API returns ambiguous path candidates - Use `-json` in scripts; check exit code for failures - Prefer `pkgsite-cli` or the REST API over scraping pkg.go.dev HTML ### MUST NOT DO - Assume the CLI interface is stable (marked experimental upstream) - Rely on the web UI's "longest module path" resolution - Put flags after positional arguments - Use `pkgsite-cli` instead of `go doc` on local code ## Quick Examples ```bash pkgsite-cli search -limit 5 "structured logging" pkgsite-cli package -symbols -imported-by github.com/google/go-cmp/cmp pkgsite-cli module -versions -packages github.com/google/go-cmp pkgsite-cli search -json -limit 10 uuid | jq '.items[].packagePath' ``` ## Tool Comparison | Tool | Scope | | --- | --- | | `go doc` | Package/symbol docs, including `package@version` | | `cmd/pkgsite` | Local web server for downloaded packages | | `pkgsite-cli` | Remote metadata: search, versions, vulns, imported-by, licenses | | REST API | Same data as CLI; best for application integrations |
From lrstanley/skills, MIT.
More from lrstanley/skills
- 0.592score
golang
https://github.com/lrstanley
Expert Go developer.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
golang-tui
https://github.com/lrstanley
Expert TUI development in Go with Charm libraries (Bubble Tea, Lip Gloss, Bubbles) and ecosystem packages.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
kubernetes-upgrade-analysis
https://github.com/lrstanley
Analyzes a live Kubernetes cluster and its GitOps sources (Flux, Argo CD) for a cluster minor-version upgrade or a single component upgrade, and writes a…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
documentation-writer
https://github.com/lrstanley
Creates high-quality technical documentation using the Diataxis framework.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
shadcn-vue
lrstanley
Manages shadcn-vue components and projects — adding, searching, fixing, debugging, styling, and composing UI.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
simplify
https://github.com/lrstanley
Find low-info comments, one-off helpers, perf issues, and reuse opportunities.
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
remotion-best-practices
lrstanley
Router for all Remotion skills
SkillAFreshness: A★ 1Claude Code +9 - 0.559score
nuclear-review
lrstanley
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth.
SkillAFreshness: A★ 1Claude Code +9 - 0.557score
grill-me
lrstanley
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 12, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lrstanley/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from https://github.com/lrstanley
- 0.592score
golang
https://github.com/lrstanley
Expert Go developer.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
golang-tui
https://github.com/lrstanley
Expert TUI development in Go with Charm libraries (Bubble Tea, Lip Gloss, Bubbles) and ecosystem packages.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
kubernetes-upgrade-analysis
https://github.com/lrstanley
Analyzes a live Kubernetes cluster and its GitOps sources (Flux, Argo CD) for a cluster minor-version upgrade or a single component upgrade, and writes a…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
documentation-writer
https://github.com/lrstanley
Creates high-quality technical documentation using the Diataxis framework.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
simplify
https://github.com/lrstanley
Find low-info comments, one-off helpers, perf issues, and reuse opportunities.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
golang-packages skill. Agent Mart. https://agentmart.dev/skills/lrstanley-golang-packages (last updated 2026-10-24)