[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CWPD0SMSFJCYQM265CESCZ":3,"skill-same:01M7CWPD0SMSFJCYQM265CESCZ":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":62},"01M7CWPD0SMSFJCYQM265CESCZ","golang-pkg-go-dev",null,"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\u002FGolang 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\u002Fcc-skills-golang@golang-dependency-management` skill) or choosing a library (→ See `samber\u002Fcc-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\u002Fcc-skills-golang@golang-gopls` skill for those.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fsamber-cc-skills-golang\u002Fgolang-pkg-go-dev\u002Fskills\u002Fgolang-pkg-go-dev\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: golang-pkg-go-dev\ndescription: \"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\u002FGolang 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\u002Fcc-skills-golang@golang-dependency-management` skill) or choosing a library (→ See `samber\u002Fcc-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\u002Fcc-skills-golang@golang-gopls` skill for those.\"\nuser-invocable: true\nlicense: MIT\ncompatibility: Designed for Claude Code or similar AI coding agents. Requires the godig CLI (go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest) or access to a godig MCP server, and internet access to reach the pkg.go.dev API.\nmetadata:\n  author: samber\n  version: \"1.3.0\"\n  openclaw:\n    emoji: \"🔎\"\n    homepage: https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\n    requires:\n      bins:\n        - go\n        - godig\n    install:\n      - kind: go\n        package: github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest\n        bins: [godig]\n    skill-library-version: \"0.2.0\"\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Bash(godig:*) Agent\n---\n\n# golang-pkg-go-dev\n\n**Dependencies:** `godig` — `go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest` (or use a registered godig MCP server \u002F the hosted instance instead).\n\n`godig` queries the [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) API. Use it to answer questions about Go packages and modules: docs, symbols, versions, importers and vulnerabilities. It works as a CLI and as an MCP server. All operations are **read-only** and need no authentication.\n\n## When to use this skill\n\nTrigger on questions like:\n\n- \"What versions of github.com\u002Fsamber\u002Flo are available?\"\n- \"Does golang.org\u002Fx\u002Ftext have known vulnerabilities?\"\n- \"Show me the docs \u002F symbols for package X.\"\n- \"Which packages import X?\"\n- \"Search Go packages for Y.\"\n\n## Choosing between `godig`, gopls, Context7, and govulncheck\n\nIn short: `godig` answers questions about the **published ecosystem** (works even for packages not yet in your `go.mod`); `gopls` reasons about **your locally resolved build** (`go.sum`, including `replace`d forks); Context7 is a fallback for non-Go or unindexed docs; `govulncheck` is the whole-tree vulnerability audit (→ `samber\u002Fcc-skills-golang@golang-security`). See the `samber\u002Fcc-skills-golang@golang-gopls` skill for wiring `gopls` (MCP server, native `LSP` tool, and CLI) with Claude Code, and the `samber\u002Fcc-skills-golang@golang-how-to` skill's \"`godig` vs gopls vs Context7 vs govulncheck\" section for the full task-to-tool matrix.\n\n## Setup\n\n### Install\n\n```bash\ngo install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest\n```\n\n### Register the MCP server (optional)\n\n`godig mcp` runs over **stdio** by default, or **streamable HTTP** with `--transport http`.\n\nstdio (the client launches godig on demand):\n\n```bash\nclaude mcp add pkg-go-dev -- godig mcp\n```\n\nstreamable HTTP (shared server at `\u002Fmcp`, default `:8080`):\n\n```bash\ngodig mcp --transport http --addr :8080\nclaude mcp add --transport http pkg-go-dev http:\u002F\u002Flocalhost:8080\u002Fmcp\n```\n\nHosted instance (no install needed) — a public server runs at `https:\u002F\u002Fgodig.samber.dev\u002Fmcp`:\n\n```bash\nclaude mcp add --transport http pkg-go-dev https:\u002F\u002Fgodig.samber.dev\u002Fmcp\n```\n\nThe CLI and the MCP server expose the **same** operations under matching names. Prefer the CLI when `godig` is installed; the hosted instance is a fallback when it is not.\n\n## Commands\n\n**Global flags (all commands):** `-o\u002F--output table|json|raw|md` (default `table` — pass `-o md` for chat), `--base-url` (pkg.go.dev API), `--vuln-base-url` (Go vulnerability database, consulted by `vulns` and `overview`), `--timeout`, `--log-level debug|info|warn|error|off`. All are also settable via `GODIG_*` env vars.\n\n| Command | Args | Specific flags | Purpose |\n| --- | --- | --- | --- |\n| `overview` | `\u003Cpath>` | `--version` | Compact summary (metadata, versions, licenses, vulns) — start here |\n| `search` | `\u003Cquery>` | `--symbol --limit --filter` | Find packages (optionally exporting a symbol) |\n| `package info` | `\u003Cpath>` | `--module --version` | Package metadata |\n| `package imports` | `\u003Cpath>` | `--module --version` | Packages this package imports (plain list) |\n| `package doc` | `\u003Cpath>` | `--module --version --goos --goarch --format md\\|text\\|html\\|markdown` | Full package doc (LARGE) |\n| `package examples` | `\u003Cpath>` | `--module --version --goos --goarch --symbol` | Runnable examples (LARGE; scope with `--symbol`) |\n| `package licenses` | `\u003Cpath>` | `--module --version` | License files, full text (LARGE) |\n| `symbol doc` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's signature + doc (token-efficient) |\n| `symbol examples` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's runnable examples |\n| `symbols` | `\u003Cpath>` | `--module --version --goos --goarch --limit --filter` | List exported symbols |\n| `module info` | `\u003Cpath>` | `--version` | Module metadata |\n| `module licenses` | `\u003Cpath>` | `--version` | Module license files (LARGE) |\n| `module readme` | `\u003Cpath>` | `--version` | Module README, full Markdown (LARGE) |\n| `dependencies` | `\u003Cpath>` | `--version` | go.mod deps: requires \u002F replaces \u002F excludes \u002F go directive |\n| `packages` | `\u003Cpath>` | `--version --limit --filter` | Packages contained in a module |\n| `versions` | `\u003Cpath>` | `--limit --filter` | All versions, newest first |\n| `major-versions` | `\u003Cpath>` | `--limit --filter --exclude-pseudo` | Major versions (v1, v2 …) living as separate modules |\n| `imported-by` | `\u003Cpath>` | `--module --version --limit --filter` | Packages that import this one |\n| `vulns` | `\u003Cpath>` | `--version --limit` | Known vulnerabilities (from the Go vuln DB) |\n| `mcp` | — | `--transport stdio\\|http --addr --cache-ttl --cache-size` | Run as an MCP server |\n| `version` | — | — | Print godig version \u002F commit \u002F build date |\n\nWhen `godig` runs as an MCP server, each data command above is exposed as an operation of the same name.\n\n**Exit codes:** `0` success, `1` runtime error (network, package not found), `2` usage error — a missing\u002Finvalid argument or flag (e.g. a non-positive `--limit`), or a command group invoked with no subcommand (`godig package`). Check for `2` to tell a malformed call apart from a failed lookup.\n\nFull `-o md` output for every command: [sample-output.md](references\u002Fsample-output.md).\n\n### Tips\n\n- **Start with `overview`** — one call returns a compact summary (metadata, latest + recent versions, license types, vulnerabilities). Reach for `doc`\u002F`examples`\u002F`module readme`\u002F`licenses` (LARGE) only when the full text is needed.\n- **Always pass `-o md`** so results render as Markdown (tables, or raw doc\u002FREADME) in the chat. Other formats exist (`table` default, `json`, `raw`) but prefer `md` here.\n- `\u003Cpath>` is a full import path, e.g. `github.com\u002Fsamber\u002Flo` — pass it as the positional argument.\n- `--version` pins a specific module version (`v1.5.0`, `latest`, `master`, `main`); `--module` disambiguates which module a package belongs to.\n- `--filter` narrows list results server-side with a Go boolean expression — see [Filter syntax](#filter-syntax).\n- `--goos`\u002F`--goarch` set the documentation\u002Fsymbols build context (e.g. `linux`\u002F`amd64`).\n- Prefer `symbol doc`\u002F`symbol examples` over the package-wide `package doc`\u002F`package examples` when you only need one symbol — far fewer tokens.\n- **Parallelize independent lookups** — every command is a self-contained, read-only HTTP query, so calls never depend on each other. When a task needs docs, examples, versions, or vulns for **several** symbols, packages, or modules, issue all the calls at once (multiple `godig` invocations in a single turn) rather than one after another — wall-clock drops from sum-of-latencies to slowest-single-call. For a large fan-out (documenting many symbols, comparing many candidate libraries, auditing CVEs across a dependency set), dispatch parallel sub-agents (up to 5) via the Agent tool, each running its own `godig` calls and returning a compact summary, so the raw LARGE output never lands in the main context.\n- Listing commands auto-paginate (return all results); use `--limit` to cap.\n\n### Filter syntax\n\n`--filter` (on `search`, `versions`, `major-versions`, `packages`, `imported-by`, `symbols`) takes a **Go boolean expression evaluated server-side, once per result item**. It is not a regex — wrap the whole expression in single quotes for the shell.\n\n- **Identifiers are the item's fields, which differ per command** — a field valid for one list is rejected by another (e.g. `search` exposes `packagePath`, not `path`). An unknown field fails with `undefined identifier: \u003Cname>` (HTTP 400), which names the offending field. Fields use the item's lowercase JSON key; the exception is enum-like values such as `kind`, which are capitalized (`Function`, not `func`).\n- **Operators**: `==` `!=` `\u003C` `\u003C=` `>` `>=`, boolean `&&` `||` `!`, parentheses for grouping.\n- **String functions**: `contains(s, sub)`, `hasPrefix(s, pre)`, `hasSuffix(s, suf)`.\n- **Literals**: double-quoted strings (`\"Function\"`), `true`\u002F`false`, numbers.\n\nFilterable fields per command (string unless noted):\n\n| Command | Fields |\n| --- | --- |\n| `search` | `modulePath`, `packagePath`, `synopsis`, `version` |\n| `versions` | `version`, `modulePath`, `deprecated` (bool), `retracted` (bool), `hasGoMod` (bool), `commitTime` |\n| `packages` | `path`, `name`, `synopsis`, `isRedistributable` (bool) |\n| `imported-by` | `path` (the importing package path) |\n| `symbols` | `name`, `kind` (`Function`\u002F`Method`\u002F`Type`\u002F`Variable`\u002F`Constant`), `synopsis`, `parent` |\n| `major-versions` | `modulePath`, `major`, `version`, `isLatest` (bool) |\n\n```bash\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\"' -o md\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\" && hasPrefix(name,\"Map\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'hasPrefix(version,\"v1.5\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'deprecated==false && retracted==false' -o md\ngodig search \"result option\" --filter 'hasPrefix(packagePath,\"github.com\u002Fsamber\u002F\")' -o md\n```\n\n### Examples\n\nAlways request Markdown output (`-o md`):\n\n```bash\n# Overview — start here (compact, one call)\ngodig overview github.com\u002Fsamber\u002Fro -o md\n\n# Search\ngodig search \"result option monad\" --limit 5 -o md\n\n# Package facets\ngodig package info github.com\u002Fsamber\u002Fro -o md\ngodig package imports github.com\u002Fsamber\u002Fro -o md\ngodig package doc github.com\u002Fsamber\u002Fro --format md -o md\ngodig package examples github.com\u002Fsamber\u002Fro --symbol Map -o md\ngodig package licenses github.com\u002Fsamber\u002Fro -o md\n\n# Single symbol (token-efficient vs package-wide doc\u002Fexamples)\ngodig symbol doc github.com\u002Fsamber\u002Flo Map -o md\ngodig symbol examples github.com\u002Fsamber\u002Foops OopsError.Error -o md\n\n# Module facets\ngodig module info github.com\u002Fsamber\u002Fro -o md\ngodig module readme github.com\u002Fsamber\u002Fro -o raw\ngodig dependencies github.com\u002Fsamber\u002Fro -o md\n\n# Lists (auto-paginated; --limit to cap)\ngodig versions github.com\u002Fsamber\u002Fro -o md\ngodig major-versions github.com\u002Fsamber\u002Flo -o md\ngodig packages github.com\u002Fsamber\u002Fro -o md\ngodig imported-by github.com\u002Fsamber\u002Fro --limit 20 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --filter 'kind==\"Function\"' -o md\n\n# Pin a version \u002F set the build context\ngodig versions github.com\u002Fsamber\u002Fro --filter 'hasPrefix(version,\"v0.3\")' -o md\ngodig package doc github.com\u002Fsamber\u002Flo --version v1.50.0 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --goos linux --goarch amd64 -o md\n\n# Vulnerabilities\ngodig vulns github.com\u002Fsamber\u002Fro -o md\n```\n\n---\n\nThis skill is not exhaustive. `godig --help` and each sub-command's `--help` list current flags and output formats; the data mirrors what [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) exposes.\n\nIf you encounter a bug or unexpected behavior in `godig`, open an issue at \u003Chttps:\u002F\u002Fgithub.com\u002Fsamber\u002Fgodig\u002Fissues>.\n","# golang-pkg-go-dev\n\n**Dependencies:** `godig` — `go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest` (or use a registered godig MCP server \u002F the hosted instance instead).\n\n`godig` queries the [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) API. Use it to answer questions about Go packages and modules: docs, symbols, versions, importers and vulnerabilities. It works as a CLI and as an MCP server. All operations are **read-only** and need no authentication.\n\n## When to use this skill\n\nTrigger on questions like:\n\n- \"What versions of github.com\u002Fsamber\u002Flo are available?\"\n- \"Does golang.org\u002Fx\u002Ftext have known vulnerabilities?\"\n- \"Show me the docs \u002F symbols for package X.\"\n- \"Which packages import X?\"\n- \"Search Go packages for Y.\"\n\n## Choosing between `godig`, gopls, Context7, and govulncheck\n\nIn short: `godig` answers questions about the **published ecosystem** (works even for packages not yet in your `go.mod`); `gopls` reasons about **your locally resolved build** (`go.sum`, including `replace`d forks); Context7 is a fallback for non-Go or unindexed docs; `govulncheck` is the whole-tree vulnerability audit (→ `samber\u002Fcc-skills-golang@golang-security`). See the `samber\u002Fcc-skills-golang@golang-gopls` skill for wiring `gopls` (MCP server, native `LSP` tool, and CLI) with Claude Code, and the `samber\u002Fcc-skills-golang@golang-how-to` skill's \"`godig` vs gopls vs Context7 vs govulncheck\" section for the full task-to-tool matrix.\n\n## Setup\n\n### Install\n\n```bash\ngo install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest\n```\n\n### Register the MCP server (optional)\n\n`godig mcp` runs over **stdio** by default, or **streamable HTTP** with `--transport http`.\n\nstdio (the client launches godig on demand):\n\n```bash\nclaude mcp add pkg-go-dev -- godig mcp\n```\n\nstreamable HTTP (shared server at `\u002Fmcp`, default `:8080`):\n\n```bash\ngodig mcp --transport http --addr :8080\nclaude mcp add --transport http pkg-go-dev http:\u002F\u002Flocalhost:8080\u002Fmcp\n```\n\nHosted instance (no install needed) — a public server runs at `https:\u002F\u002Fgodig.samber.dev\u002Fmcp`:\n\n```bash\nclaude mcp add --transport http pkg-go-dev https:\u002F\u002Fgodig.samber.dev\u002Fmcp\n```\n\nThe CLI and the MCP server expose the **same** operations under matching names. Prefer the CLI when `godig` is installed; the hosted instance is a fallback when it is not.\n\n## Commands\n\n**Global flags (all commands):** `-o\u002F--output table|json|raw|md` (default `table` — pass `-o md` for chat), `--base-url` (pkg.go.dev API), `--vuln-base-url` (Go vulnerability database, consulted by `vulns` and `overview`), `--timeout`, `--log-level debug|info|warn|error|off`. All are also settable via `GODIG_*` env vars.\n\n| Command | Args | Specific flags | Purpose |\n| --- | --- | --- | --- |\n| `overview` | `\u003Cpath>` | `--version` | Compact summary (metadata, versions, licenses, vulns) — start here |\n| `search` | `\u003Cquery>` | `--symbol --limit --filter` | Find packages (optionally exporting a symbol) |\n| `package info` | `\u003Cpath>` | `--module --version` | Package metadata |\n| `package imports` | `\u003Cpath>` | `--module --version` | Packages this package imports (plain list) |\n| `package doc` | `\u003Cpath>` | `--module --version --goos --goarch --format md\\|text\\|html\\|markdown` | Full package doc (LARGE) |\n| `package examples` | `\u003Cpath>` | `--module --version --goos --goarch --symbol` | Runnable examples (LARGE; scope with `--symbol`) |\n| `package licenses` | `\u003Cpath>` | `--module --version` | License files, full text (LARGE) |\n| `symbol doc` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's signature + doc (token-efficient) |\n| `symbol examples` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's runnable examples |\n| `symbols` | `\u003Cpath>` | `--module --version --goos --goarch --limit --filter` | List exported symbols |\n| `module info` | `\u003Cpath>` | `--version` | Module metadata |\n| `module licenses` | `\u003Cpath>` | `--version` | Module license files (LARGE) |\n| `module readme` | `\u003Cpath>` | `--version` | Module README, full Markdown (LARGE) |\n| `dependencies` | `\u003Cpath>` | `--version` | go.mod deps: requires \u002F replaces \u002F excludes \u002F go directive |\n| `packages` | `\u003Cpath>` | `--version --limit --filter` | Packages contained in a module |\n| `versions` | `\u003Cpath>` | `--limit --filter` | All versions, newest first |\n| `major-versions` | `\u003Cpath>` | `--limit --filter --exclude-pseudo` | Major versions (v1, v2 …) living as separate modules |\n| `imported-by` | `\u003Cpath>` | `--module --version --limit --filter` | Packages that import this one |\n| `vulns` | `\u003Cpath>` | `--version --limit` | Known vulnerabilities (from the Go vuln DB) |\n| `mcp` | — | `--transport stdio\\|http --addr --cache-ttl --cache-size` | Run as an MCP server |\n| `version` | — | — | Print godig version \u002F commit \u002F build date |\n\nWhen `godig` runs as an MCP server, each data command above is exposed as an operation of the same name.\n\n**Exit codes:** `0` success, `1` runtime error (network, package not found), `2` usage error — a missing\u002Finvalid argument or flag (e.g. a non-positive `--limit`), or a command group invoked with no subcommand (`godig package`). Check for `2` to tell a malformed call apart from a failed lookup.\n\nFull `-o md` output for every command: [sample-output.md](references\u002Fsample-output.md).\n\n### Tips\n\n- **Start with `overview`** — one call returns a compact summary (metadata, latest + recent versions, license types, vulnerabilities). Reach for `doc`\u002F`examples`\u002F`module readme`\u002F`licenses` (LARGE) only when the full text is needed.\n- **Always pass `-o md`** so results render as Markdown (tables, or raw doc\u002FREADME) in the chat. Other formats exist (`table` default, `json`, `raw`) but prefer `md` here.\n- `\u003Cpath>` is a full import path, e.g. `github.com\u002Fsamber\u002Flo` — pass it as the positional argument.\n- `--version` pins a specific module version (`v1.5.0`, `latest`, `master`, `main`); `--module` disambiguates which module a package belongs to.\n- `--filter` narrows list results server-side with a Go boolean expression — see [Filter syntax](#filter-syntax).\n- `--goos`\u002F`--goarch` set the documentation\u002Fsymbols build context (e.g. `linux`\u002F`amd64`).\n- Prefer `symbol doc`\u002F`symbol examples` over the package-wide `package doc`\u002F`package examples` when you only need one symbol — far fewer tokens.\n- **Parallelize independent lookups** — every command is a self-contained, read-only HTTP query, so calls never depend on each other. When a task needs docs, examples, versions, or vulns for **several** symbols, packages, or modules, issue all the calls at once (multiple `godig` invocations in a single turn) rather than one after another — wall-clock drops from sum-of-latencies to slowest-single-call. For a large fan-out (documenting many symbols, comparing many candidate libraries, auditing CVEs across a dependency set), dispatch parallel sub-agents (up to 5) via the Agent tool, each running its own `godig` calls and returning a compact summary, so the raw LARGE output never lands in the main context.\n- Listing commands auto-paginate (return all results); use `--limit` to cap.\n\n### Filter syntax\n\n`--filter` (on `search`, `versions`, `major-versions`, `packages`, `imported-by`, `symbols`) takes a **Go boolean expression evaluated server-side, once per result item**. It is not a regex — wrap the whole expression in single quotes for the shell.\n\n- **Identifiers are the item's fields, which differ per command** — a field valid for one list is rejected by another (e.g. `search` exposes `packagePath`, not `path`). An unknown field fails with `undefined identifier: \u003Cname>` (HTTP 400), which names the offending field. Fields use the item's lowercase JSON key; the exception is enum-like values such as `kind`, which are capitalized (`Function`, not `func`).\n- **Operators**: `==` `!=` `\u003C` `\u003C=` `>` `>=`, boolean `&&` `||` `!`, parentheses for grouping.\n- **String functions**: `contains(s, sub)`, `hasPrefix(s, pre)`, `hasSuffix(s, suf)`.\n- **Literals**: double-quoted strings (`\"Function\"`), `true`\u002F`false`, numbers.\n\nFilterable fields per command (string unless noted):\n\n| Command | Fields |\n| --- | --- |\n| `search` | `modulePath`, `packagePath`, `synopsis`, `version` |\n| `versions` | `version`, `modulePath`, `deprecated` (bool), `retracted` (bool), `hasGoMod` (bool), `commitTime` |\n| `packages` | `path`, `name`, `synopsis`, `isRedistributable` (bool) |\n| `imported-by` | `path` (the importing package path) |\n| `symbols` | `name`, `kind` (`Function`\u002F`Method`\u002F`Type`\u002F`Variable`\u002F`Constant`), `synopsis`, `parent` |\n| `major-versions` | `modulePath`, `major`, `version`, `isLatest` (bool) |\n\n```bash\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\"' -o md\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\" && hasPrefix(name,\"Map\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'hasPrefix(version,\"v1.5\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'deprecated==false && retracted==false' -o md\ngodig search \"result option\" --filter 'hasPrefix(packagePath,\"github.com\u002Fsamber\u002F\")' -o md\n```\n\n### Examples\n\nAlways request Markdown output (`-o md`):\n\n```bash\n# Overview — start here (compact, one call)\ngodig overview github.com\u002Fsamber\u002Fro -o md\n\n# Search\ngodig search \"result option monad\" --limit 5 -o md\n\n# Package facets\ngodig package info github.com\u002Fsamber\u002Fro -o md\ngodig package imports github.com\u002Fsamber\u002Fro -o md\ngodig package doc github.com\u002Fsamber\u002Fro --format md -o md\ngodig package examples github.com\u002Fsamber\u002Fro --symbol Map -o md\ngodig package licenses github.com\u002Fsamber\u002Fro -o md\n\n# Single symbol (token-efficient vs package-wide doc\u002Fexamples)\ngodig symbol doc github.com\u002Fsamber\u002Flo Map -o md\ngodig symbol examples github.com\u002Fsamber\u002Foops OopsError.Error -o md\n\n# Module facets\ngodig module info github.com\u002Fsamber\u002Fro -o md\ngodig module readme github.com\u002Fsamber\u002Fro -o raw\ngodig dependencies github.com\u002Fsamber\u002Fro -o md\n\n# Lists (auto-paginated; --limit to cap)\ngodig versions github.com\u002Fsamber\u002Fro -o md\ngodig major-versions github.com\u002Fsamber\u002Flo -o md\ngodig packages github.com\u002Fsamber\u002Fro -o md\ngodig imported-by github.com\u002Fsamber\u002Fro --limit 20 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --filter 'kind==\"Function\"' -o md\n\n# Pin a version \u002F set the build context\ngodig versions github.com\u002Fsamber\u002Fro --filter 'hasPrefix(version,\"v0.3\")' -o md\ngodig package doc github.com\u002Fsamber\u002Flo --version v1.50.0 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --goos linux --goarch amd64 -o md\n\n# Vulnerabilities\ngodig vulns github.com\u002Fsamber\u002Fro -o md\n```\n\n---\n\nThis skill is not exhaustive. `godig --help` and each sub-command's `--help` list current flags and output formats; the data mirrors what [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) exposes.\n\nIf you encounter a bug or unexpected behavior in `godig`, open an issue at \u003Chttps:\u002F\u002Fgithub.com\u002Fsamber\u002Fgodig\u002Fissues>.\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":39,"compatibility":40,"user-invocable":41},{"author":25,"version":26,"openclaw":27},"samber","1.3.0",{"emoji":28,"install":29,"homepage":35,"requires":36,"skill-library-version":38},"🔎",[30],{"bins":31,"kind":33,"package":34},[32],"godig","go","github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest","https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang",{"bins":37},[33,32],"0.2.0","Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Bash(godig:*) Agent","Designed for Claude Code or similar AI coding agents. Requires the godig CLI (go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest) or access to a godig MCP server, and internet access to reach the pkg.go.dev API.",true,"main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fsamber-cc-skills-golang\u002Fgolang-pkg-go-dev\u002Fskills\u002Fgolang-pkg-go-dev",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":41},[52,55,58],{"tool":53,"command":54},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill golang-pkg-go-dev",{"tool":56,"command":57},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill golang-pkg-go-dev",{"tool":59,"command":60},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill golang-pkg-go-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fsamber-cc-skills-golang\u002Fgolang-pkg-go-dev\u002Fskills\u002Fgolang-pkg-go-dev\u002FSKILL.md",[],[64,71,76,83,88,95],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":72,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":84,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":96,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]