deps-dev
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.
More from trancong12102/agentskills
council-review
Multi-perspective code review that synthesizes findings from multiple reviewers into 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.
94oracle
Deep analysis and expert reasoning. Use when the user asks for 'oracle', 'second opinion', architecture analysis, elusive bug debugging, impact assessment, security reasoning, refactoring strategy, or trade-off evaluation — problems that benefit from deep, independent reasoning. Do not use for simple factual questions, code generation, code review (use council-review), or tasks needing file modifications.
92context7
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).
86conventional-commit
Generates git commit messages following Conventional Commits 1.0.0 specification with semantic types (feat, fix, etc.), optional scope, and breaking change annotations. Use when committing code changes or creating commit messages.
58react-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.
45react-advanced
Advanced React patterns and conventions for data fetching, tables, forms, state machines, client state management, schema validation, and testing. Use when tackling complex React problems — not simple component questions, but multi-concern tasks like server-driven tables with filtering, multi-step wizards, eliminating useEffect, Suspense architecture, choosing between state management approaches, or designing data flow across server/client/URL/form state. Do not use for web-specific routing/SSR or React Native-specific navigation/performance.
45