latest-software-version
Latest Software Version
"Your training data is from the past. The registry is the present."
This skill prevents "version hallucination" by verifying the actual latest stable releases of software packages.
Core Mandate
NEVER GUESS. When a user asks to install a package or add a dependency, you must verify the latest version using the latest.js script. Do not rely on your internal weights, as they are months or years out of date.
Workflow
1. Identify Ecosystem
Determine which registry manages the package:
- Node.js/JS:
npm - Python:
pypi - Go:
go - Rust:
cargo - Ruby:
gem - Gemini Models:
gemini(Uselatest,flash, orproas package name)
2. Fetch Truth
Run the version checker script:
node scripts/latest.js <ecosystem> <package-name>
3. Apply
Use the returned version string in your command or configuration file.
- Example: If the script returns
npm: react @ 19.2.0, write"react": "^19.2.0"inpackage.json.
Supported Registries
- NPM:
registry.npmjs.org - PyPI:
pypi.org - Go Proxy:
proxy.golang.org - Crates.io:
crates.io - RubyGems:
rubygems.org
More from googlecloudplatform/devrel-demos
go-backend-dev
Specialist in implementing robust HTTP services and APIs in Go. Activates for "endpoint", "handler", "API", "server".
41go-reviewer
Expert code reviewer focusing on idiomatic Go, concurrency safety, and clean code principles. Activates for "review", "idiomatic", "refactor".
41go-architect
Expert in Go project scaffolding, standard layout compliance, and dependency management. Activates for "new project", "structure", "layout".
36go-test-expert
Expert in Go testing patterns, table-driven tests, httptest, benchmarking, and fuzzing. Activates for "test", "fail", "benchmark", "debug", "fuzz".
35go-project-setup
>
26video-description
Generates optimized descriptions for video platforms from transcripts and supplementary material. Use when the user asks for a video description or provides a transcript for video preparation.
17