スキル一覧に戻る
trancong12102

deps-dev

by trancong12102

A collection of reusable agent skills for AI coding assistants.

3🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: deps-dev description: Look up the latest version of any package using deps.dev API. Use this skill when checking package versions, updating dependencies, adding new packages to a project, or when the user asks about the current version of a library.

Latest Package Version Lookup

Query the deps.dev API to get the latest stable version of open source packages.

Supported Ecosystems

EcosystemSystem IDExample Package
npmnpmexpress, @types/node
PyPIpypirequests, django
Gogogithub.com/gin-gonic/gin
Cargocargoserde, tokio
Mavenmavenorg.springframework:spring-core
NuGetnugetNewtonsoft.Json

Workflow

Think step-by-step:

  1. Identify the ecosystem from context:

    • package.json or node_modules → npm
    • requirements.txt, pyproject.toml, setup.py → pypi
    • go.mod, go.sum → go
    • Cargo.toml → cargo
    • pom.xml, build.gradle → maven
    • *.csproj, packages.config → nuget
    • If unclear, ask the user
  2. Run the get-versions script:

SCRIPT=scripts/get-versions.py
python3 $SCRIPT <system> <pkg1> [pkg2] ...
  1. Report the results from the JSON output

Script Usage

Single package:

python3 scripts/get-versions.py npm express

Multiple packages:

python3 scripts/get-versions.py npm express lodash @types/node

Different ecosystems:

python3 scripts/get-versions.py pypi requests django flask
python3 scripts/get-versions.py go github.com/gin-gonic/gin
python3 scripts/get-versions.py maven org.springframework:spring-core

Output Format

The script outputs JSON with the following structure:

{
  "system": "npm",
  "packages": [
    {
      "package": "express",
      "version": "5.0.0",
      "publishedAt": "2024-09-10T04:40:34Z",
      "isDeprecated": false
    },
    {
      "package": "lodash",
      "version": "4.17.21",
      "publishedAt": "2021-02-20T15:42:16Z",
      "isDeprecated": false
    }
  ]
}

Error response:

{
  "system": "npm",
  "packages": [
    {
      "package": "nonexistent-pkg",
      "error": "HTTP 404: Not Found"
    }
  ]
}

Error Handling

  • HTTP 404: Package not found - check spelling and ecosystem
  • Network error: deps.dev API may be temporarily unavailable
  • No default version: Script returns the latest available version with a note

Rules

  • Always use the script instead of manual curl commands
  • The script handles URL encoding automatically
  • Multiple packages are fetched in parallel for efficiency
  • Use isDeprecated field to warn users about deprecated packages

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です