renovate-pr
БесплатноБез исполняемых скриптовНе проверенTest and assess an open Renovate dependency-bump PR. Picks the first open Renovate PR, checks out the branch, starts the app, exercises code paths affected by…
от lightdash★ 6 265 звёзд на GitHubОб этом скилле
Renovate PR Triage
Pick the first open Renovate PR, run the app against it, exercise the affected code paths, and tell the user whether the bump is safe.
Iron Law
The recommendation MUST be evidence-backed. "Looks fine" is not a recommendation. Each verdict must cite: changelog read, codebase usage grepped, and at least one runtime check (page loaded / endpoint hit / log inspected). If you can't gather evidence for an area, say so — never paper over it.
Phase 0: Pick the PR
Find open Renovate PRs and take the first one:
gh pr list --state open --json number,title,headRefName,author,createdAt --limit 100 \
| python3 -c "
import json, sys
prs = json.load(sys.stdin)
renovate = [p for p in prs if p['author']['login'] == 'app/lightdash-renovate-bot' or p['headRefName'].startswith('renovate/')]
renovate.sort(key=lambda p: p['createdAt'])
if not renovate:
print('NONE')
else:
p = renovate[0]
print(f\"{p['number']}\t{p['headRefName']}\t{p['title']}\")
"
If NONE, stop and tell the user there are no open Renovate PRs.
Otherwise, take the first one as $PR_NUMBER and report to the user:
Triaging Renovate PR #<number>: <title>
Branch: <branch>
Phase 1: Identify the dependency change
gh pr view $PR_NUMBER --json title,body,headRefName,additions,deletions,files,labels
gh pr diff $PR_NUMBER
Renovate PR bodies always contain a markdown table that looks like:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [pkgname](homepage) ([source](https://github.com/owner/repo)) | [`1.2.3` → `2.0.0`](renovatebot.com/diffs/...) | ... | ... |
Parse this to extract for each package:
- Name (e.g.
nodemailer) - Old version → New version
- Bump type: patch (z), minor (y), major (x) — derive from semver
- Source repo URL (the
[source]link, e.g.github.com/owner/repo) — needed for changelog & source-diff lookup - Is this a security advisory? (label
securityon the PR, or[security]in the title)
Show the user the parsed list before proceeding:
Dependencies in PR #<number>:
1. nodemailer 7.0.13 → 8.0.5 (MAJOR, security) github.com/nodemailer/nodemailer
2. ...
Phase 2: Look up changelog & release notes
For each package, fetch the upstream release notes spanning oldVersion..newVersion. Try in order, stop at the first that yields useful content:
- GitHub Releases (best for most JS packages):
Or list releases between the two tags:gh api "repos/<owner>/<repo>/releases?per_page=100" --jq '.[] | select(.tag_name | test("<oldVersion>|<newVersion>")) | {tag: .tag_name, name: .name, body: .body}'gh api "repos/<owner>/<repo>/compare/v<oldVersion>...v<newVersion>" --jq '{commits: .commits | length, ahead_by: .ahead_by}' - CHANGELOG.md in the repo via WebFetch:
https://raw.githubusercontent.com/<owner>/<repo>/<default-branch>/CHANGELOG.md - Renovate's own diff page (linked in the PR body):
https://renovatebot.com/diffs/npm/<pkg>/<oldVersion>/<newVersion> - WebSearch as last resort:
"<package-name> <oldVersion> <newVersion> breaking changes"
For each package, extract:
- Breaking changes — explicit
BREAKING:entries, removed APIs, behavior changes - Security fix details (if security advisory) — what CVE, what attack vector
- New required configuration — env vars, options that must be set
- Deprecations that may affect us soon
Skip noise (typo fixes, internal refactors, doc-only changes).
Phase 3: Map upgraded package → our usage
For each package, find every place we use it in this monorepo:
# Direct imports / requires
grep -rEn "(from ['\"]<pkg-name>['\"]|require\(['\"]<pkg-name>['\"]\))" packages/ --include='*.ts' --include='*.tsx' --include='*.js'
# Where the package is declared
grep -rEn "\"<pkg-name>\":" packages/*/package.json
Categorise hits:
- Direct API consumers — code that calls into the package
- Transitive only — appears in lockfile but no direct imports (much lower risk surface, but still worth confirming)
- Type-only imports —
import type { ... }(compile-time only) - Test fixtures — usage only inside
*.test.ts/*.spec.ts
Hold this list — Phase 6 will exercise the user-facing flows that touch these files.
Phase 4: Upstream source diff (only if needed)
If Phase 2's changelog is vague, missing, or claims "no breaking changes" but a major version was bumped, drop down to the source diff:
gh api "repos/<owner>/<repo>/compare/<oldTag>...<newTag>" \
--jq '.files[] | select(.filename | test("^(src|lib|index)") and (test("test|spec") | not)) | {filename, status, additions, deletions}'
For files that look load-bearing for our usage in Phase 3, fetch the patch:
gh api "repos/<owner>/<repo>/compare/<oldTag>...<newTag>" --jq '.files[] | select(.filename == "<file>") | .patch'
Read
Установить renovate-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл renovate-pr?
Test and assess an open Renovate dependency-bump PR. Picks the first open Renovate PR, checks out the branch, starts the app, exercises code paths affected by the upgraded package, reviews the changelog and (if needed) the upstream source diff, and reports whether the bump is safe to merge. Use when asked to "test a renovate PR", "triage renovate", "assess a renovate bump", or "check a dependency upgrade".
Как установить скилл renovate-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл renovate-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic