Dependency Triage
Daily triage of Renovate dependency PRs. Repairs failing CI, triages security findings, prunes stale pins, and refreshes the develop -> main release PR. Used…
от vspo-lab★ 24 звезды на GitHub
Установить Dependency Triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Overview
Covers two repositories:
| Repository | What it holds |
|---|---|
vspo-lab/vspo-portal |
The application. Full check suite |
vspo-lab/config |
Shared Renovate presets. Validated by validate-config.yml |
Handles the dependency updates that automation cannot decide on its own. Grouping
and cooldown are handled by renovate.json. Merging is handled by
dep-auto-merge.yaml, which merges a PR once it is approved and the checks are
green. This skill is what supplies that approval: it reads each diff, approves
the ones that are sound, repairs what is red, triages security findings, and
reports what is waiting.
Modes
The invocation states the mode. Default to report when it is not given.
| Mode | Behavior |
|---|---|
report |
Perform the full analysis and post the summary. Push nothing, merge nothing, create no issues |
apply |
Perform the analysis and carry out the actions within the permission boundary below |
Trigger Conditions
- The daily routine fires (09:00 JST)
- A dependency PR is red and needs repair
- A new Trivy, OSV, or CodeQL finding needs a decision
- The
develop -> mainrelease PR needs a refreshed summary
Execution Steps
Step 1: Collect
List open PRs labelled dependencies with their check status. Classify each as
green, red, stale-conflicted, or awaiting cooldown.
Renovate never merges anything: automerge is off everywhere. Merges are performed
by dep-auto-merge.yaml, on approved and green PRs only.
Step 2a: Review and approve
The rule is one line: a pull request merges when its current head commit is approved and every required check has passed.
You approve; you do not merge. .github/workflows/dep-auto-merge.yaml
performs the merge by executing the output of scripts/dep-triage-report.py.
Run the evaluator to see the current state, approve what deserves it, and leave
the merging to the workflow.
There is deliberately no second path. An earlier design added one for changes
whose class "cannot affect the product", and it cost more than it was worth: it
collided with CODEOWNERS, collided again with the branch protection approval
requirement, and admitted a PR that edited deploy workflows because Renovate
applies labels per rule while the label lands on the whole PR. Reviewing is
cheap; a second gate that merges without anyone looking was not.
What approving requires
Read the diff. An approval states that you read the change and found nothing wrong, so it has to be true. For each PR:
- Every changed file is a manifest, a lockfile, or a config the update needs. A dependency PR that touches application source, a workflow, or a deploy config is not a dependency PR: escalate it. The one exception is a digest-pin PR, below
- The version movement matches what the title claims, and the lockfile moves with the manifest rather than lagging behind it
- The release notes carry no breaking change relevant to how the package is used here. For a major, or anything with a migration note, escalate
- Every check is green. A check that is absent or pending is not a pass
Write what you checked and what you concluded into the review body, so the approval carries its own reasoning. Say plainly that Claude Code produced it on the maintainer's behalf; an approval must never read as if a person reviewed the diff by hand.
Digest-pin pull requests
pinGitHubActionDigests raises a PR whenever a third-party action publishes, so
this shape recurs forever. It always edits workflows, which the rule above would
otherwise send to a human every time.
Approve one only when all of these hold, checked against the diff rather than the title:
- Every changed file is under
.github/ - Every changed line is a
uses:line - Each one only replaces a tag with a
@<40-hex-sha> # <tag>, or moves an existing digest, and the trailing comment names the same tag as before - No
with:,env:,run:,if:or input value changes anywhere in the diff - No version moves.
@v5to@<sha> # v5is a pin;@v5to@<sha> # v6is an upgrade wearing a pin's clothes, and goes to a human
Fail any one of them and the PR is not a digest pin: escalate it whole, do not
approve the part that qualifies. This carve-out is deliberately mechanical
because #1122 was the opposite case -- a pnpm bump that also edited
setup-pnpm/action.yml and a deploy workflow, and changed versions while doing
it. The version-move condition is what separates the two.
What you do not approve
- Anything labelled
majororhigh-risk.high-riskmarks a major of a core framework, so both mean the same thing: behaviour can change. Escalate them (below) so the maintainer decides with the release notes in front of them - A repair that touched anything beyond a manifest or the lockfile, in the run
that wrote it. A merge of
develop, a lockfile regeneration or a re-run leaves the PR's diff againstdevelopexactly wha
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Dependency Triage?
Daily triage of Renovate dependency PRs. Repairs failing CI, triages security findings, prunes stale pins, and refreshes the develop -> main release PR. Used by the scheduled routine and for manual runs.
Как установить скилл Dependency Triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Dependency Triage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…