← スキル一覧に戻る

package-updates
by ljtill
⭐ 0🍴 0📅 2026年1月10日
SKILL.md
name: package-updates description: Checks package dependencies against registries (PyPI, crates.io, npm, RubyGems, Maven Central, Go Proxy, Swift Package Index, Docker Hub, ArtifactHub) to identify outdated packages and provides update commands. Use when the user wants to check for updates, find outdated dependencies, audit package versions, or upgrade packages in a repository. license: Complete terms in LICENSE.txt
Package Updates Checker
This skill checks package dependencies in a repository against their respective package registries to identify outdated packages.
Supported Ecosystems
| Ecosystem | Manifest Files | Registry |
|---|---|---|
| Python | requirements.txt, pyproject.toml | PyPI |
| Rust | Cargo.toml | crates.io |
| JavaScript | package.json | npm |
| Ruby | Gemfile, Gemfile.lock | RubyGems |
| Java/Kotlin | pom.xml, build.gradle, build.gradle.kts | Maven Central |
| Go | go.mod | Go Proxy |
| Swift | Package.swift | Swift Package Index |
| Docker | Dockerfile, *.dockerfile | Docker Hub |
| Helm | Chart.yaml | ArtifactHub |
How to Use
Step 1: Run the Update Checker
Execute the bundled script against the target repository:
python {skill_path}/scripts/check_updates.py --path /path/to/repo
The script automatically detects all supported manifest files in the repository.
Options:
--path- Path to repository (default: current directory)--format- Output format:markdown,json, ortext(default: markdown)--ecosystem- Filter by ecosystem:python,rust,javascript,ruby,java,go,swift,docker,helm, orall(default: all)
Step 2: Review Results
The script outputs a table of outdated packages with:
- Package: Package name
- Current: Currently specified version
- Latest: Latest version available (respecting constraints)
- Constraint: Version constraint from manifest
- Update Command: Command to update the package
Example Output
## Outdated Packages (5 found)
### requirements.txt (python)
| Package | Current | Latest | Constraint | Update Command |
| -------- | ------- | ------ | ---------- | ------------------------------ |
| requests | 2.28.0 | 2.31.0 | >=2.28 | `pip install requests==2.31.0` |
### Cargo.toml (rust)
| Package | Current | Latest | Constraint | Update Command |
| ------- | ------- | ------- | ---------- | ----------------------- |
| serde | 1.0.180 | 1.0.195 | ^1.0 | `cargo update -p serde` |
### package.json (javascript)
| Package | Current | Latest | Constraint | Update Command |
| ------- | ------- | ------- | ---------- | ---------------------------- |
| lodash | 4.17.20 | 4.17.21 | ^4.17 | `npm install lodash@4.17.21` |
### go.mod (go)
| Package | Current | Latest | Constraint | Update Command |
| ------------------------ | ------- | ------ | ---------- | ---------------------------------------- |
| github.com/gin-gonic/gin | v1.9.0 | v1.9.1 | v1.9.0 | `go get github.com/gin-gonic/gin@v1.9.1` |
### Gemfile (ruby)
| Package | Current | Latest | Constraint | Update Command |
| ------- | ------- | ------ | ---------- | --------------------- |
| rails | ~> 7.0 | 7.1.2 | ~> 7.0 | `bundle update rails` |
Error Handling
- Network errors: The script will skip packages that fail to fetch and report them at the end
- Invalid versions: Unparseable versions are reported with a warning
- Missing files: If no manifest files are found, the script exits with a helpful message
Rate Limiting
The script makes sequential API calls with a small delay to avoid rate limiting.
For large dependency lists, consider using the --ecosystem flag to check one
ecosystem at a time.
References
For detailed API documentation, see references/REGISTRIES.md:
- Search
## PyPIthrough## ArtifactHubfor registry-specific endpoints - Search
Rate Limitingfor throttling information per registry - Search
Version Constraint Formatsfor constraint syntax (PEP 440, Cargo, semver)
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です