Command Palette

Search for a command to run...

Назад к скиллам
скилл № 21157

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от 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 -> main release 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. @v5 to @<sha> # v5 is a pin; @v5 to @<sha> # v6 is 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 major or high-risk. high-risk marks 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 against develop exactly wha
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить Dependency Triage с