review-dependencies
БесплатноБез исполняемых скриптовНе проверенFind outdated or vulnerable dependencies and GitHub Actions pins without upgrading them. Use when the user asks to "review dependencies", "check for outdated…
от tobihagemann★ 428 звёзд на GitHubОб этом скилле
Review Dependencies
Detect package managers and CI action pins, then discover outdated or vulnerable dependencies. Analysis only. Does not upgrade.
Step 1: Detect Package Managers
Identify which package managers are in use by searching for config files:
| Config file | Package manager | Lockfile | Ecosystem |
|---|---|---|---|
package.json |
npm / yarn / pnpm | package-lock.json / yarn.lock / pnpm-lock.yaml |
Node.js |
Package.swift, *.xcodeproj |
Swift Package Manager | Package.resolved |
Swift |
pyproject.toml, requirements.txt, setup.py |
pip / poetry / uv | poetry.lock, uv.lock |
Python |
Cargo.toml |
cargo | Cargo.lock |
Rust |
go.mod |
Go modules | go.sum |
Go |
Gemfile |
Bundler | Gemfile.lock |
Ruby |
pom.xml |
Maven | — | Java |
build.gradle, build.gradle.kts |
Gradle | gradle.lockfile |
Java/Kotlin |
.github/workflows/*.yml / .yaml, action.yml / .yaml |
GitHub Actions | — | CI |
Swift dependencies can live in Package.swift or be configured directly in the Xcode project file (.xcodeproj/.xcworkspace). For Xcode-managed dependencies, inspect the project's package references.
Detection steps:
- Search for config files in the project root and subdirectories (exclude vendored directories)
- If a lockfile exists, use the corresponding package manager variant (e.g.,
yarn.lock→ yarn,pnpm-lock.yaml→ pnpm) - When the repo declares a dependency automation config (
.github/dependabot.yml/.yaml,renovate.json,.github/renovate.json), read it and add every ecosystem it declares to the set found by the config-file search - When the repo has a GitHub remote, list open dependency PRs with
gh pr list --author app/dependabot(orapp/renovate), and mark each upgrade one of them already proposes - If multiple instances of the same package manager found (e.g., monorepo with several
package.jsonfiles): useAskUserQuestionto let the user choose which to review (multiSelect allowed) - If multiple package managers found: use
AskUserQuestionto let the user choose which to review. Exclude the CI ecosystem from that choice and review it alongside whichever the user picks - If none found across every step above: inform user and stop
Step 2: Discovery
Run the appropriate discovery command to find available updates:
| Package manager | Discovery command | Notes |
|---|---|---|
| npm | ncu --format group |
Requires npm-check-updates. Suggest npm install -g npm-check-updates if missing. |
| yarn | ncu --format group or yarn upgrade-interactive |
|
| pnpm | ncu --format group or pnpm outdated |
|
| Swift PM | Check resolved versions in Package.resolved against latest releases via WebSearch |
No built-in outdated command. Read Package.swift or inspect the Xcode project to identify dependencies and their current version constraints. |
| pip | pip list --outdated |
|
| poetry | poetry show --outdated |
|
| uv | uv pip list --outdated |
|
| cargo | cargo outdated |
Requires cargo-outdated. Fall back to comparing Cargo.toml versions via WebSearch. |
| Go modules | go list -m -u all |
|
| Bundler | bundle outdated |
|
| Maven | mvn versions:display-dependency-updates |
|
| Gradle | gradle dependencyUpdates |
Requires com.github.ben-manes.versions plugin. |
| GitHub Actions | gh api repos/<owner>/<repo>/releases/latest --jq .tag_name, compared against each uses: ref |
No outdated command. Take <owner>/<repo> from the ref's first two path segments. Read a SHA-pinned ref's version from its trailing comment (uses: <owner>/<action>@<sha> # v1.2.3). Compare only the components the ref pins, so @v7 is current against v7.0.1. Fall back to repos/<owner>/<repo>/tags when the release 404s or its tag namespace differs from the ref's, and to WebSearch when the action is not hosted on GitHub. Exclude local (./…), <repo-relative> ($/…), and Docker (docker://…) refs, which pin no release. |
Also check for an update to the version pin the project declares for the package manager itself, such as packageManager or devEngines.packageManager in package.json or the Gradle wrapper's distribution version, when the discovery command leaves it out.
When the package manager or the repo's dependency automation (Dependabot cooldown, Renovate minimumReleaseAge) enforces a minimum release age, propose only versions the guard admits, naming the newest admitted version as the target. Hold a release that fixes a known vulnerability in the current version only to a guard the package manager enforces, and run discovery with a matching cooldown only for such a guard, where the tool has one (ncu --cooldown <days>).
Categorize updates:
- Major (breaking changes) — requires migration research
- Minor (new features, backward compatible)
- Patch (bug fixes)
Step 3: Report Findings
If the discovery tool is not installed, suggest the installation co
Установить review-dependencies в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-dependencies?
Find outdated or vulnerable dependencies and GitHub Actions pins without upgrading them. Use when the user asks to "review dependencies", "check for outdated packages", or "scan dependencies".
Как установить скилл review-dependencies?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-dependencies запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic