agentleFS
apacheapache/skywalking-banyandb/skills/vendor-update/SKILL.md

vendor-update

Skill355 starsChanged 4 months agoApache-2.0View on GitHub

Upgrade Go/Node.js vendor dependencies and sync tool versions. Use whenever the user says "upgrade dependencies", "update vendors", "vendor update", "run vendor-upgrade", "bump dependencies", "update packages", or asks to run the `vendor-update` Make target. This skill also checks `scripts/build/version.mk` after upgrading to see if any tracked tool versions need updating too, and removes stale binaries from `bin/` when versions change.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. jctots/thinkpad-fedora-agent★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the vendor-update Make target across all projects:

    line 15
  2. Very specific:

    After the vendor upgrade completes, run make license-dep to update any license-related files that may have changed due to new or updated …

    line 25
  3. Very specific:

    After upgrading, compare go.mod dependency versions against scripts/build/version.mk to find any tools whose library version was bumped and …

    line 35
  4. Very specific:

    Read scripts/build/version.mk and go.mod in parallel.

    line 39
  5. Very specific:

    If a tool version should be bumped (library changed and tool version needs to match), update scripts/build/version.mk using the Edit tool.

    line 61
  6. Very specific:

    When version.mk is updated, remove the corresponding old binary from bin/:

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Upgrade vendor dependencies

Run the vendor-update Make target across all projects:

make vendor-update

This runs go get -u ./... and go mod tidy -compat=1.26 in each project directory (ui, banyand, bydbctl, mcp, fodc/agent, fodc/proxy, pkg, test).

Update license dependencies

After the vendor upgrade completes, run make license-dep to update any license-related files that may have changed due to new or updated dependencies:

make license-dep

This ensures license headers and dependency license files stay in sync with the upgraded vendors.

Check for tool version drift

After upgrading, compare go.mod dependency versions against scripts/build/version.mk to find any tools whose library version was bumped and may need their tool version updated.

Version mapping

Read scripts/build/version.mk and go.mod in parallel. For each tool version variable, check if the corresponding library in go.mod was upgraded:

version.mk variableBinarygo.mod package
BUF_VERSIONbin/bufgithub.com/bufbuild/buf (if present)
PROTOC_GEN_GO_VERSIONbin/protoc-gen-gogoogle.golang.org/protobuf
PROTOC_GEN_GO_GRPC_VERSIONbin/protoc-gen-go-grpcgoogle.golang.org/grpc
PROTOC_GEN_DOC_VERSIONbin/protoc-gen-docgithub.com/pseudomuto/protoc-gen-doc (if present)
GRPC_GATEWAY_VERSIONbin/protoc-gen-grpc-gatewaygithub.com/grpc-ecosystem/grpc-gateway/v2
PROTOC_GEN_VALIDATE_VERSIONbin/protoc-gen-validategithub.com/envoyproxy/protoc-gen-validate
GOLANGCI_LINT_VERSIONbin/golangci-lint(no go.mod entry — only in version.mk)
REVIVE_VERSIONbin/revive(no go.mod entry — only in version.mk)
LICENSE_EYE_VERSIONbin/license-eye(no go.mod entry — only in version.mk)
MOCKGEN_VERSIONbin/mockgengo.uber.org/mock
GINKGO_VERSIONbin/ginkgogithub.com/onsi/ginkgo/v2
GOVULNCHECK_VERSIONbin/govulncheckgolang.org/x/vuln
BPF2GO_VERSION(used in bpf2go.mk)github.com/cilium/ebpf

Only update version.mk if the library version in go.mod has changed and the tool version should follow. Many tools (golangci-lint, revive, license-eye) are not in go.mod — their versions only change when explicitly updated in version.mk, not from make vendor-update.

Update version.mk if needed

If a tool version should be bumped (library changed and tool version needs to match), update scripts/build/version.mk using the Edit tool. Keep the format exactly — e.g., PROTOC_GEN_GO_VERSION := v1.36.11.

Remove stale binaries

When version.mk is updated, remove the corresponding old binary from bin/:

rm bin/<binary-name>

This ensures the next build/install of that tool fetches the correct new version.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.