Agent skill
deps-dev
Look up the latest stable version of any open-source package across npm, PyPI, Go, Cargo, Maven, and NuGet. Use when the user asks 'what's the latest version of X', 'what version should I use', 'is X deprecated', 'how outdated is my package.json/requirements.txt/Cargo.toml', or needs version numbers for adding or updating dependencies. Also covers pinning versions, checking if packages are maintained, or comparing installed vs latest versions. Do NOT use for private/internal packages or for looking up documentation (use context7).
Install this agent skill to your Project
npx add-skill https://github.com/trancong12102/agentskills/tree/main/deps-dev
SKILL.md
Latest Package Version Lookup
Query the deps.dev API to get the latest stable version of open-source packages. This is faster and more reliable than searching the web or guessing version numbers, and it catches deprecated packages before you install them.
Supported Ecosystems
| Ecosystem | System ID | Example Package |
|---|---|---|
| npm | npm |
express, @types/node |
| PyPI | pypi |
requests, django |
| Go | go |
github.com/gin-gonic/gin |
| Cargo | cargo |
serde, tokio |
| Maven | maven |
org.springframework:spring-core |
| NuGet | nuget |
Newtonsoft.Json |
When to Use
- Adding a new dependency and need the current version
- Updating
package.json,requirements.txt,Cargo.toml, etc. to latest - Checking whether a package has been deprecated
- Comparing versions across multiple packages at once
When NOT to Use
- Private or internal packages (deps.dev only indexes public registries)
- Looking up documentation or usage examples (use
context7instead)
Workflow
DO NOT read script source code. Run scripts directly and use --help for usage.
-
Identify the ecosystem from project files:
package.jsonornode_modules→ npmrequirements.txt,pyproject.toml,setup.py→ pypigo.mod,go.sum→ goCargo.toml→ cargopom.xml,build.gradle→ maven*.csproj,packages.config→ nuget
-
Run the script:
python3 scripts/get-versions.py <system> <pkg1> [pkg2] ...
Run python3 scripts/get-versions.py --help if unsure about usage.
Examples
python3 scripts/get-versions.py npm express lodash @types/node
python3 scripts/get-versions.py pypi requests django flask
python3 scripts/get-versions.py go github.com/gin-gonic/gin
Output Format
TSV with header. One line per package:
package version published status
express 5.0.0 2024-09-10 ok
lodash 4.17.21 2021-02-20 ok
Status values: ok, deprecated, not found, error: <detail>.
Rules
- Use the script instead of manual curl — it handles URL encoding (especially for scoped npm packages like
@types/node) and fetches multiple packages in parallel, so it's both easier and faster. - Flag deprecated packages — if the status column says
deprecated, tell the user and suggest an alternative if you know one. - Batch lookups when possible — the script accepts multiple package names in one call, which is faster than running it once per package.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
github-codebase-search
Semantic search for public GitHub repos without cloning. Use when the user wants to understand how an external library or framework works internally, investigate upstream bugs, trace code paths in a repo they haven't cloned, or search GitHub source code by intent. Do NOT use for local codebase questions (use codebase-search), documentation lookup (use context7), or private repos.
council-review
Multi-model AI code review — runs Codex, Claude, and Simplify reviews in parallel, then synthesizes a unified report. Use when the user asks to review code changes, audit a diff, check code quality, review a PR, review commits, or review uncommitted changes. Also covers 'code review', 'review my changes', 'check this before I merge', or wanting multiple perspectives on code. Do NOT use for documentation/markdown review or trivial single-line changes.
react-native-advanced
React Native and Expo patterns for navigation, data fetching lifecycle, infinite scroll lists, form handling, state persistence, authentication routing, gesture-driven animations, bottom sheets, push notifications, and OTA updates. Use when building Expo/React Native apps that need screen-level data prefetching, auth guards with protected routes, infinite scroll feeds, native form input handling, offline-capable state persistence, platform-specific setup (focus/online managers), fluid animations and gesture interactions, modal bottom sheets, push notification flows, or over-the-air update strategies. Do not use for React web apps.
react-web-advanced
Web-specific React patterns for type-safe file-based routing, route-level data loading, server-side rendering, search param validation, code splitting, and list virtualization. Use when building React web apps with route loaders, SSR streaming, validated search params, lazy route splitting, or virtualizing large DOM lists. Do not use for React Native apps — use react-native-advanced instead.
context7
Fetch up-to-date documentation for any open-source library or framework. Use when the user asks to look up docs, check an API, find code examples, or verify how a feature works — especially with a specific library name, version migration, or phrases like 'what's the current way to...' or 'the API might have changed'. Also covers setup and configuration docs. Do NOT use for general programming concepts, internal project code, or version lookups (use deps-dev).
ast-grep
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.
Didn't find tool you were looking for?