list-broken-major-upgrades
Skill542 starsChanged 8 months agoMITView on GitHub
List open Dependabot PRs with major version bumps where CI is failing
In this repository5 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Look for patterns like from X.Y.Z to A.B.C where the major version (first number) has changed (e.g., 5.1.1 to 6.1.0 is major, 3.6.2 to …
- Distinctive: line 45
If no PRs match, say so and report how many total Dependabot PRs are open.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
List Major Dependabot PRs — CI Failing
Find and present all open Dependabot PRs in this repository that involve major version bumps and have failing CI checks.
Steps
- Fetch all open Dependabot PRs with their CI status:
gh pr list --author "app/dependabot" --state open --json number,title,url,statusCheckRollup,createdAt --limit 100 - Identify major version bumps by analyzing each PR title:
- Look for patterns like
from X.Y.Z to A.B.Cwhere the major version (first number) has changed (e.g.,5.1.1to6.1.0is major,3.6.2to3.8.1is not) - For grouped dependency PRs without explicit versions in the title (e.g., "bump the X group with N updates", "bump express and @types/express"), fetch the PR body with
gh pr view <number> --json bodyand look for version information there. Dependabot always lists the version changes in the body. - A PR is a "major bump" if any dependency in it has a different major version number between old and new
- Look for patterns like
- Check CI status for each major bump PR:
- From
statusCheckRollup, look at checks from the "CI" workflowName only (these have names likeLint,Test_ApiClients_*,Test_App_Packages_*,Test_Session_Storage_*) - Ignore checks from other workflows:
Changelog,Contributor License Agreement (CLA),Dependabot auto-merge— these commonly fail or are skipped on Dependabot PRs and are not relevant to CI health - CI is "passing" if every CI workflow check has
conclusionofSUCCESSorSKIPPED - CI is "failing" if any CI workflow check has
conclusionofFAILURE
- From
- Present the results as a markdown table:
## Major Dependabot PRs — CI Failing | PR | Dependency | Version Change | Failing Checks | Age | URL | |----|-----------|---------------|----------------|-----|-----| | #2976 | jose | 5.10.0 → 6.1.3 | Test_App_Packages, Test_Session_Storage | 21 days | https://github.com/Shopify/shopify-app-js/pull/2976 | Copy a URL and run: `/dependabot:fix-broken-major-upgrade <url>` - Summary line at the end:
Found X major Dependabot PRs with failing CI (out of N total open Dependabot PRs) - If no PRs match, say so and report how many total Dependabot PRs are open.
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.

