dependabot-prs
Skill329 starsChanged 7 days agoMIT-0View on GitHub
Use when triaging Dependabot PRs: retarget to develop, assess risk per PR, check redundancy against develop, merge if safe, then validate with tests after merging.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- imankulov/skillstheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- imankulov/skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-modelSkill
- agent-capability-reviewSkill
- api-rbac-testSkill
- backend-lambdaSkill
- code-reviewSkill
- create-hf-dataset-prSkill
- curate-security-resultsSkill
- cut-release-changelogSkill
- documentationSkill
- extraction-pipelineSkill
- fix-single-issueSkill
- frontend-uiSkill
- full-test-batterySkill
- infrastructureSkill
- live-auth-checksSkill
- live-eval-and-costSkill
- prepare-changelogSkill
- prep-develop-for-releaseSkill
- product-demoSkill
- pr-review-ciSkill
- pr-reviewSkill
- releaseSkill
- release-validationSkill
- remove-classification-flat-keysSkill
- repo-quality-reviewSkill
- run-benchmarksSkill
- run-stack-testsSkill
- srt-security-scanSkill
- sync-pii-anonymizerSkill
- testing-qaSkill
- test-upgradeSkill
- transform-deploy-testSkill
- ui-i18nSkill
- update-solution-profileSkill
- ux-test-ciSkill
- ux-testSkill
- ux-test-stories-ciSkill
- ux-test-storiesSkill
- work-the-backlog-hazardsSkill
- work-the-backlogSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Use this skill when the user asks to review, triage, retarget, or merge Dependabot PRs (e.g.
- Distinctive: line 19
Always assess risk per PR: before merging (see checklist below).
- Very specific: line 46
If develop already has the new version (or newer): close the PR with a comment explaining it will reach main at the next release merge.
- Very specific: line 52
Read gh pr diff <NN> and gh pr view <NN> --json body (release notes).
- Very specific: line 98
Only after: risk assessed as safe, base is develop, mergeable is MERGEABLE, and required CI checks pass.
- Very specific: line 125
If several PRs merged together, one validation run at the end covers them all.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependabot PR Review & Merge Skill
Use this skill when the user asks to review, triage, retarget, or merge Dependabot PRs (e.g. "review the new dependabot PRs", "merge the dependabot bumps if safe").
Three invariants — never skip any of them:
- The base must be
develop. Dependabot opens PRs against the repository's default branch, which isdevelop, so a new PR already targets it. A PR with any other base (an older one opened againstmain, or one moved to another branch) is retargeted before anything else, because all work in this repo merges todevelopfirst. - Always assess risk per PR before merging (see checklist below). Never bulk-merge on green CI alone.
- Always run tests after merging to validate
develop(see Post-merge validation). Merged ≠ done.
Step 1 — Inventory
gh pr list --author "app/dependabot" --state open \
--json number,title,baseRefName,headRefName,createdAt,url --limit 50Step 2 — Redundancy check against develop
A bump may already exist on develop (e.g. done manually in a feature branch,
or the same bump from an older PR against another base). Check before reviewing:
git fetch origin main develop --quiet
# npm deps — check the lockfile version on develop:
git show origin/develop:src/ui/package-lock.json | python3 -c "
import json,sys; d=json.load(sys.stdin)
print(d['packages']['node_modules/<dep>']['version'])"
# pip deps:
git show origin/develop:<path>/requirements.txtIf develop already has the new version (or newer): close the PR with a
comment explaining it will reach main at the next release merge. Do not
retarget or merge it.
Step 3 — Risk assessment (per PR)
Read gh pr diff <NN> and gh pr view <NN> --json body (release notes).
Assess:
- Semver distance: patch < minor < major. A major bump is never "merge-if-safe" territory — report it to the user with the breaking changes.
- Security content: CVE/GHSA fixes raise urgency and usually justify the merge; note the CVE id in your summary.
- Blast radius: is it a
dependenciesordevDependenciesbump (chore(deps)vschore(deps-dev)in the title)? Is the package used directly by our code (grepsrc/for imports) or only transitively? - New transitive deps: scan the lockfile diff for newly added packages
(e.g. axios 1.18 pulled in
https-proxy-agent/agent-base) — name them in the summary. - Behavioral changes: skim release notes for new defaults, removals, or option renames that could affect our usage (grep our code for the affected API if unsure).
Safe-to-merge bar: patch/minor bump, no breaking changes affecting our usage, CI green. Anything else → report to the user instead of merging.
Step 4 — Retarget to develop (only if the base is not develop)
gh pr edit <NN> --base developThen re-check mergeability (GitHub recomputes it asynchronously — wait a few seconds):
gh pr view <NN> --json mergeable,mergeStateStatus,baseRefNameCONFLICTING/DIRTY: the branch was cut from another base and conflicts withdevelop. Comment@dependabot rebaseon the PR and poll until Dependabot force-pushes a rebased head (~1–2 min), which also restarts CI.- Gotcha (this has bitten us): Dependabot's rebase/recreate can RESET the
base branch back to the one it was opened against, silently undoing your retarget. After any
Dependabot rebase, re-run
gh pr view <NN> --json baseRefNameand re-edit the base if needed — and re-verifybaseRefName == developimmediately before every merge. - Retargeting or rebasing re-triggers CI; the "Lint, Type Check, and Test"
job takes ~9 minutes. Poll
gh pr checks <NN>until it completes.
Step 5 — Merge
Only after: risk assessed as safe, base is develop, mergeable is
MERGEABLE, and required CI checks pass.
gh pr merge <NN> --squash(--squash matches repo convention. Note mergeStateStatus: UNSTABLE just
means a non-required check hasn't finished; required checks passing is the
gate.)
Step 6 — Post-merge validation (mandatory)
Pull the updated develop and run the test suites relevant to what changed:
git checkout develop && git pull
# Python dep changed (any requirements.txt) → run the python test suites:
make test # idp_common_pkg + idp_cli + srt scan
# UI dep changed (src/ui/package*.json) → reinstall and verify build + lint:
cd src/ui && npm ci && cd ../..
make ui-build
make ui-lintIf several PRs merged together, one validation run at the end covers them
all. If validation fails, identify the offending bump, revert that merge
commit on develop (git revert -m 1 <sha>), push, and report the failure
with the test output. For anything broader, .claude/skills/full-test-battery/SKILL.md
has the full battery and known pre-existing-failure baseline.
Step 7 — Report
Summarize for the user, per PR: dependency, old→new version, risk verdict (with CVEs / new transitive deps noted), action taken (merged / closed as redundant / left open + why), and the post-merge validation result.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

