[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CYAPHANTT0X9MBTAH0WP8B":3,"skill-same:01M7CYAPHANTT0X9MBTAH0WP8B":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7CYAPHANTT0X9MBTAH0WP8B","dependency-review",null,"Reviews an Umbraco package repo's dependencies: bot update PRs, security alerts and outdated packages. Sorts each by kind and drafts one action per item (merge, close, hold or bump), plus fixes to dependabot.yml. Acts only with a yes. Use for \"go through the Dependabot PRs\", \"can I merge this bump\", \"what's out of date\", or tidying dependencies.","mattbrailsford\u002Fumbraco-devkit","mattbrailsford","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F527305?v=4","01M7CY974D4XX1P90YSXQC1T39","Matt Brailsford","01M7CY9751PSRA3EHBH03G936J",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fdependency-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dependency-review\ndescription: >-\n  Reviews an Umbraco package repo's dependencies: bot update PRs, security alerts and\n  outdated packages. Sorts each by kind and drafts one action per item (merge, close, hold\n  or bump), plus fixes to dependabot.yml. Acts only with a yes. Use for \"go through the\n  Dependabot PRs\", \"can I merge this bump\", \"what's out of date\", or tidying dependencies.\nuser-invocable: true\nargument-hint: \"[PR number or URL, optional; reviews everything if empty]\"\n---\n\n# dependency-review\n\nDependabot doesn't know an Umbraco package runs inside a site that already has the CMS. It\nopens PRs that would force a site onto a version its CMS wasn't tested with, and it labels\nnpm bumps \"dev\" or \"prod\" from `package.json`, which says little about what a backoffice\nbundle ships. And on a repo with no Dependabot config, it only opens PRs for security fixes,\nso ordinary updates never show up at all.\n\nThis skill looks at all three sources (bot PRs, security alerts, and newer versions with no\nPR), sorts each dependency by what it really touches, and drafts what to do with it.\n\n## Scope\n\n- IN: open dependency update PRs from a bot (Dependabot, Renovate); open security alerts;\n  newer versions of the project's dependencies; drafting merge\u002Fclose\u002Fhold for PRs and\n  bump\u002Fhold\u002Fleave for updates; drafting changes to `.github\u002Fdependabot.yml`.\n- OUT: bumps a person opened (that's `pr-review`), moving to a new CMS major\n  (`major-upgrade`), raising the package's CMS floor, and making a bump itself. A bump the\n  user picks goes to `quick-fix`, which makes it and runs it past `reviewer`. A bump that\n  needs code changes beyond the version gets held, with what broke, for the maintainer to\n  route to `quick-fix` or the pipeline.\n\n## Argument\n\n`$ARGUMENTS` is a PR number or URL: review that one PR only (steps 1, 2, and 4 to 9, with\nno updates to gather in step 5).\n\nIf empty, review everything: every open bot PR, every open alert, and every dependency with\na newer version, on every supported version line.\n\n## Workflow\n\nRead `umbraco-dependencies` first. Its three kinds and its floor rule drive every step below.\nUntil step 6, read everything from git, the lockfiles, and the package registries; don't\ncheck out, install, or restore anything.\n\n1. **Find the lines and their floors.** For one PR, the line is its `baseRefName`, if\n   that's a supported line (see below). For a full\n   review, it's every supported version line (`git-workflow`'s \"Umbraco packages and\n   version tracking\", and the project's `CLAUDE.md`). If it's unclear which lines are still\n   supported, check each line's CMS major against Umbraco's end-of-life dates and ask. A line\n   in security-only support takes security fixes only: skip step 5 for it. For each line,\n   read the floor as `umbraco-dependencies`' \"Which CMS version: the floor\" says,\n   with `git show origin\u002F\u003Cline>:\u003Cpath>`.\n\n   Also read how code reaches each line (`CLAUDE.md`, `CONTRIBUTING.md`, `git-workflow`). If\n   a line only takes code through release or hotfix branches, a bot PR against it can't be\n   merged as is: hold it, say which branch the change belongs on, and point the config's\n   `target-branch` there (step 7).\n\n   **Check the GitHub default branch is a supported line** (`gh repo view --json\n   defaultBranchRef`). Dependabot's alerts, security PRs, and config all live on it. If it\n   isn't a line (a stale integration branch, say), say so first: its PRs and alerts don't\n   describe what ships, merging into it fixes nothing that ships, and every real line needs\n   `target-branch`. Hold its PRs, check alerts against the real lines yourself, and leave\n   the choice of default branch to the maintainer; it's a repo setting.\n\n   In zsh, write placeholders in git paths as `\"origin\u002F${line}:${path}\"`; a bare `$line:`\n   is read as a modifier.\n\n2. **Gather the bot PRs.**\n   ```bash\n   gh pr list --author app\u002Fdependabot --state open \\\n     --json number,title,baseRefName,headRefName,labels,createdAt\n   ```\n   For Renovate, use `--author app\u002Frenovate`. Read each with `gh pr view \u003Cn> --json\n   title,body,files` and `gh pr diff \u003Cn>`. List every dependency it bumps, with the from and\n   to version. A grouped PR bumps several; a lockfile-only PR (npm `package-lock.json` or\n   NuGet `packages.lock.json`) may bump only a transitive dependency. A bot PR should touch\n   only manifests (`package.json`, `Directory.Packages.props`, a `.csproj`'s\n   `PackageReference` lines) and lockfiles. Anything else, or a `.csproj` change beyond a\n   version, gets read by hand before going on (`pr-review` step 2 has why).\n\n3. **Gather the open security alerts.**\n   One line per package and lockfile: the alert numbers, the worst severity, and the\n   version that fixes them all:\n   ```bash\n   gh api 'repos\u002F{owner}\u002F{repo}\u002Fdependabot\u002Falerts?state=open' --paginate --slurp | jq -r '\n     add | group_by([.dependency.package.name, .dependency.manifest_path])[]\n     | \"\\(.[0].dependency.package.name)\\t\\(.[0].dependency.manifest_path)\\t\\(.[0].dependency.relationship)\\talerts \\([.[].number] | join(\",\"))\\t\\(\n         [.[].security_advisory.severity] | if index(\"critical\") then \"critical\" elif index(\"high\") then \"high\" elif index(\"medium\") then \"medium\" else \"low\" end)\\tfixed in \\(\n         [.[].security_vulnerability.first_patched_version.identifier \u002F\u002F empty]\n         | group_by(split(\".\")[0]) | map(sort_by(split(\".\") | map(tonumber? \u002F\u002F 0)) | last)\n         | join(\", \") | if . == \"\" then \"none\" else . end)\"'\n   ```\n   Match each to a PR from step 2. No `.github\u002Fdependabot.yml` means every Dependabot PR is\n   a security update. An alert with no PR is an item of its own. To see why it has none,\n   check recently closed bot PRs (`gh pr list --author app\u002Fdependabot --state closed\n   --limit 30`): Dependabot doesn't reopen a closed PR for the same version, and their\n   branches may still be on the remote, worth a note. GitHub's own\n   runtime\u002Fdevelopment label on an alert reads `package.json`, like Dependabot's PR labels;\n   sort it yourself in step 4.\n\n   Match alerts to PRs by package name and the PR's diff, not its branch name: Dependabot\n   updates a PR in place, and the branch keeps its first version in its name.\n\n   One \"fixed in\" version per major: more than one means copies at different majors, each\n   needing its own fix.\n\n   Alerts only describe the default branch, so check every line for the same package.\n   Check fixed alerts too (`?state=fixed`): a fix that landed on one branch in an earlier\n   run may never have reached the others. A line can also carry a vulnerable version the\n   default branch has already moved past, so it has no alert at all. For shipped\n   dependencies, look each line's version up directly:\n   ```bash\n   gh api \"\u002Fadvisories?ecosystem=\u003Cnuget|npm>&affects=\u003Cname>@\u003Cversion>\" \\\n     --jq '.[] | \"\\(.ghsa_id) \\(.severity) fixed in \\(.vulnerabilities[0].first_patched_version)\"'\n   ```\n   A package can sit at a different install path on each line, so match every copy:\n   ```bash\n   git show origin\u002F\u003Cline>:\u003Clockfile> | jq -r --arg d \"\u003Cname>\" '.packages | to_entries[]\n     | select(.key | endswith(\"node_modules\u002F\" + $d)) | \"\\(.key) \\(.value.version)\"'\n   ```\n   For NuGet, read the line's `packages.lock.json` files the same way, or its requested\n   versions if it has none.\n\n   A closed security PR leaves its alert open for good, and an `ignore` entry doesn't close\n   existing alerts either. Offer a dismissal where the alert can't be acted on from this\n   repo, so the list keeps meaning something:\n   - **Locked and not bundled:** `not_used`. The package never runs from this repo's\n     output; sites get the fix through the CMS. If no CMS release has the fix yet, say so:\n     the maintainer may prefer to hold it open as a reminder.\n   - **Dev-only with no fixed version:** `tolerable_risk`, with what uses it.\n   - **The alert doesn't apply** (the vulnerable code path isn't reachable): `inaccurate`,\n     with why.\n\n   Every alert number in the group gets the same reason:\n   ```bash\n   for n in \u003Calert numbers>; do\n     gh api -X PATCH \"repos\u002F{owner}\u002F{repo}\u002Fdependabot\u002Falerts\u002F$n\" -f state=dismissed \\\n       -f dismissed_reason=\u003Creason> -f dismissed_comment=\"\u003Cwhy>\"\n   done\n   ```\n\n4. **Sort each dependency.** Use `umbraco-dependencies`' order: locked, then ships, then\n   dev-only. Sort what the PRs bump and what the alerts name; for a full review, also every\n   direct dependency on each line, from its `Directory.Packages.props` files, `.csproj`\n   files, and each `package.json` outside `node_modules` (not `umbraco-package.json`).\n   - For npm, check the bundle, not Dependabot's `dev`\u002F`prod` label.\n   - For a transitive dependency, find its parents in the lockfile (\"Transitive\n     dependencies\") and sort by those.\n   - A grouped PR takes the strictest kind among its bumps.\n   - One package requested at different versions in different places on one line (a\n     nested `Directory.Packages.props`, two workspaces) is one item per place, each sorted\n     on its own: a test project tied to `Umbraco.Cms.Tests.Integration` can make it locked\n     there and dev-only elsewhere.\n\n5. **Gather updates with no PR** (full review only). Skip locked and sibling packages; they\n   never move on their own. Skip the ones a step 2 PR already bumps. For the rest, start\n   from what actually resolves: the version in `packages.lock.json` or the lowest requested\n   version for NuGet, and the lockfile's resolved version for npm (a `^5.9.2` range may\n   already resolve to 5.9.3). Then look up newer versions in the registry, without\n   installing:\n   ```bash\n   # Newest stable overall, and newest stable in a major (\"\" for overall)\n   newest='[.[] | select(test(\"-\") | not) | select(startswith($m))]\n     | sort_by(split(\".\") | map(tonumber? \u002F\u002F 0)) | last'\n\n   # NuGet\n   curl -s \"https:\u002F\u002Fapi.nuget.org\u002Fv3-flatcontainer\u002F\u003Cid, lowercased>\u002Findex.json\" |\n     jq -r --arg m \"\u003Cmajor>.\" \".versions | $newest\"\n\n   # npm\n   npm view \u003Cname> versions --json | jq -r --arg m \"\u003Cmajor>.\" \"$newest\"\n   ```\n   Registries don't always list versions in version order (a backport published late), so\n   always sort. For a `0.x` package, pass the first two parts as the major (`0.3.`, or\n   `0.0.57.`), so a breaking `0.x` step isn't counted as the same major. Skip pre-releases\n   (anything with a `-`), unless the current version is itself a pre-release: then compare\n   against later versions of any kind, and never offer one lower than the current. This\n   sort orders pre-releases too:\n   ```bash\n   withpre='[.[] | select(startswith($m))] | sort_by(split(\"-\") as [$v, $p]\n     | ($v | split(\".\") | map(tonumber? \u002F\u002F 0)), ($p \u002F\u002F \"~\")) | last'\n   ```\n   `npm view \u003Cname> version` is the `latest` tag, which can be a pre-release, so don't use\n   it for this. A package deprecated in favor of a new id (`xunit` to `xunit.v3`) won't show\n   its successor here; nuget.org and `npm view \u003Cname> deprecated` name it.\n\n   For a private feed in `NuGet.config`, find its flat container from the feed's service\n   index (`curl -s \u003Cfeed>\u002Findex.json | jq -r '.resources[] |\n   select(.\"@type\" == \"PackageBaseAddress\u002F3.0.0\") | .\"@id\"'`) and use it in place of\n   nuget.org's.\n\n   Note each dependency with a newer version: current, newest in its major, newest overall.\n\n6. **Decide each item.** `umbraco-dependencies`' \"What each kind needs before a bump\" table\n   applies to PRs and updates alike. Per kind:\n   - **Locked.** Never \"newest\": it should match the floor's version. A PR that raises it\n     above the floor's version, or moves the floor itself, gets a drafted close comment\n     saying which CMS release pins it. If it's a security fix, don't just close it: say\n     where the fix has to come from (`umbraco-dependencies`' \"A security fix in a locked\n     dependency\"), whether a CMS release has it yet, and offer hold or dismiss (step 3). A\n     locked dependency already off the floor is an item too (`umbraco-dependencies`' \"When\n     the package is already off the floor\").\n   - **Ships.** Read the dependency's release notes or changelog between the two versions.\n     For a family that releases daily, or a long run of releases, skim for \"breaking\",\n     \"removed\", and \"obsolete\" rather than reading each one; if the notes can't be read at\n     all, say so in the row and hold it. Then check that the new version doesn't pull a\n     locked package above the floor's version: for a PR after restoring, for an update\n     with no PR through `umbraco-dependencies`' nuspec lookup, walked down its dependency\n     chain.\n     For a PR, check its checks (`gh pr checks \u003Cn>`), then check it out (`git status`\n     first, then `gh pr checkout \u003Cn>`), restore, and compare the resolved versions of locked\n     packages against the floor's; for npm, check the bundle for a second copy of a shared\n     library. Dispatch `reviewer` (Agent tool, `subagent_type: reviewer`) with the bump as\n     the task, for its build, test, and consumer-impact checks. If checking out isn't\n     possible (the tree isn't clean and the user won't stash), hold the PR as \"not verified\n     locally\". A breaking change in the notes, a locked package pulled above the floor, or\n     any reviewer finding means hold.\n     An update with no PR is \"bump\" only for a patch or minor version whose notes show\n     nothing breaking and that pulls nothing locked above the floor. A minor that fails\n     either check is \"hold\", with why, for the maintainer to decide.\n\n     **A new major of a shipped dependency waits for the package's next major release**,\n     because consumers only expect breaking changes then. With no PR it's \"leave\"; a PR for\n     it gets a drafted close comment saying so. `major-upgrade`'s \"Third-party dependencies\"\n     step picks these up. The exception is a user who asks for it now: then it's a bump like\n     any other, and the hand-off says it's a breaking change for consumers if the\n     dependency's types appear in the package's public API.\n   - **Dev-only.** Any version can move at any time, majors included: no site ever sees it.\n     For a PR, check its checks. Patch and minor bumps with green checks are merge\n     candidates. For an update with no PR, patch and minor versions are \"bump\", grouped\n     into one bump per ecosystem. A major is its own row: read its breaking changes, and\n     it's a bump (or a merge, for a PR) unless they need code or config changes, which make\n     it a hold with what has to change.\n\n     Tools that shape what gets published are the exception, at any version: versioning\n     tools (Nerdbank.GitVersioning, MinVer) can change the computed package version, and a\n     new analyzer release can add build errors. Hold those, and keep them in step with\n     sibling repos and the CMS unless the maintainer says otherwise.\n\n   A PR whose checks are failing or still running is never a merge candidate. Say which\n   check, and hold it. Checks that ran on an older base still count if the base hasn't\n   changed the same manifests or lockfiles since (`git diff --name-only $(git merge-base\n   origin\u002F\u003Cbase> origin\u002F\u003Chead>) origin\u002F\u003Cbase> -- '*package-lock.json' '*package.json'\n   '*.props' '*.csproj' '*packages.lock.json'` lists any); if it has, the PR needs a rebase\n   (`@dependabot rebase`, a comment that needs a yes like any other) before it's a\n   candidate. If the repo lints commit messages, in CI or only in a local git hook, and the\n   bot's message would fail it, say so: with merge commits, that message lands on trunk as\n   written.\n\n7. **Check the Dependabot config.** Read `.github\u002Fdependabot.yml` on the default branch.\n   Draft the file, or the change to it, from `umbraco-dependencies`' \"Dependabot\". A new file\n   ignores every locked dependency the project references, on every line. A change to an\n   existing file adds the locked ones it misses, at least every one this run closed or left.\n   Add dev-only grouping, and a commit prefix if the bot's messages break the repo's rules.\n   Judge that from the bot's recent commits, not its defaults: with no config, Dependabot\n   copies the style it sees in the repo's history, so its messages can drift. A full review\n   that found many updates with no PR on a repo without the file is the strongest case for\n   adding it.\n\n8. **Show the plan and wait.** Up to three tables, each with what it bumps (from and to),\n   the kind, the action, and the reason in a few words:\n   - **Bot PRs:** merge \u002F close \u002F hold.\n   - **Security alerts with no PR:** bump \u002F override \u002F dismiss \u002F hold, and the lines that\n     carry it.\n     A fix no PR can deliver follows `umbraco-dependencies`' \"A fix no PR can deliver\".\n   - **Updates with no PR:** bump \u002F hold \u002F leave. Keep this one short: group dev-only bumps\n     per ecosystem, let one row name several lines when the change is the same on each, and\n     list leaves only by name with their reason.\n\n   Then a short list, one line each, of locked dependencies off the floor and second copies\n   of a backoffice library in the bundle. These need the maintainer, not a bump.\n\n   Then each drafted close comment, written following `plain-writing`, and the config draft.\n   Ask before doing any of it. The user may say yes to some rows and not others.\n\n   Several PRs that edit the same lockfile may conflict once the first merges. Order them,\n   and say the rest may need Dependabot to rebase and re-run checks.\n\n9. **Do only what was confirmed.**\n   - **Merge** with the method the repo actually uses: read `git log --first-parent\n     --oneline -20` on the base branch (merge commits, or squashed single commits). If it's\n     unclear, ask. Never merge past failing or required checks, never with `--admin`. Merge\n     one PR at a time when they share a lockfile, and re-check the next after its rebase.\n   - **Dismiss** each confirmed alert with the drafted reason.\n   - **Close** with `gh pr close \u003Cn> --comment \"\u003Cdrafted comment>\"`. Dependabot won't reopen\n     a closed PR for that version, but opens one for the next. The config change is what\n     stops that.\n   - **Bump or override.** Start `quick-fix` once per confirmed bump or override row and\n     line, on that line, with the\n     package, the from and to version, its kind, and what step 6 found (release notes,\n     resolved locked versions to keep at the floor's). One grouped dev-only row is one\n     `quick-fix`. Do them one at a time.\n   - **Config change.** Commit it on a short-lived branch and open a PR, following\n     `git-workflow`. Ask before committing to `main` or a version line.\n\n## Rules\n\n- Never merge, close, comment, bump, dismiss an alert, or push without a yes for that item.\n- Never merge or bump a locked dependency above the floor's version, even with green checks.\n  Green checks only prove it works on the CMS version CI builds against, not on the floor.\n- Never edit the bot's branch to make a bump pass. That's a code change; hold it and say\n  what broke.\n- Return to the branch you started on when done.\n\n## Hand off\n\nReport: what was merged, closed, bumped, held, and left (with why), and whether the config PR\nis open. For each held item, the one thing that needs a human decision. Then, one line each:\n\n- Security fixes landed on one branch that supported version lines still need.\n  Dependabot never opens security PRs against them; `change-backport` ports a merged fix.\n- Locked dependencies found off the floor while sorting.\n- Other version lines that carry a vulnerable version from an alert.\n\n- **If another skill started this one**, return the plan (or what was done) and stop. That\n  skill decides what runs next.\n- Otherwise, if the config wasn't changed, suggest doing it now so the same PRs don't come\n  back, and ordinary updates arrive as PRs instead of waiting for the next review.\n","# dependency-review\n\nDependabot doesn't know an Umbraco package runs inside a site that already has the CMS. It\nopens PRs that would force a site onto a version its CMS wasn't tested with, and it labels\nnpm bumps \"dev\" or \"prod\" from `package.json`, which says little about what a backoffice\nbundle ships. And on a repo with no Dependabot config, it only opens PRs for security fixes,\nso ordinary updates never show up at all.\n\nThis skill looks at all three sources (bot PRs, security alerts, and newer versions with no\nPR), sorts each dependency by what it really touches, and drafts what to do with it.\n\n## Scope\n\n- IN: open dependency update PRs from a bot (Dependabot, Renovate); open security alerts;\n  newer versions of the project's dependencies; drafting merge\u002Fclose\u002Fhold for PRs and\n  bump\u002Fhold\u002Fleave for updates; drafting changes to `.github\u002Fdependabot.yml`.\n- OUT: bumps a person opened (that's `pr-review`), moving to a new CMS major\n  (`major-upgrade`), raising the package's CMS floor, and making a bump itself. A bump the\n  user picks goes to `quick-fix`, which makes it and runs it past `reviewer`. A bump that\n  needs code changes beyond the version gets held, with what broke, for the maintainer to\n  route to `quick-fix` or the pipeline.\n\n## Argument\n\n`$ARGUMENTS` is a PR number or URL: review that one PR only (steps 1, 2, and 4 to 9, with\nno updates to gather in step 5).\n\nIf empty, review everything: every open bot PR, every open alert, and every dependency with\na newer version, on every supported version line.\n\n## Workflow\n\nRead `umbraco-dependencies` first. Its three kinds and its floor rule drive every step below.\nUntil step 6, read everything from git, the lockfiles, and the package registries; don't\ncheck out, install, or restore anything.\n\n1. **Find the lines and their floors.** For one PR, the line is its `baseRefName`, if\n   that's a supported line (see below). For a full\n   review, it's every supported version line (`git-workflow`'s \"Umbraco packages and\n   version tracking\", and the project's `CLAUDE.md`). If it's unclear which lines are still\n   supported, check each line's CMS major against Umbraco's end-of-life dates and ask. A line\n   in security-only support takes security fixes only: skip step 5 for it. For each line,\n   read the floor as `umbraco-dependencies`' \"Which CMS version: the floor\" says,\n   with `git show origin\u002F\u003Cline>:\u003Cpath>`.\n\n   Also read how code reaches each line (`CLAUDE.md`, `CONTRIBUTING.md`, `git-workflow`). If\n   a line only takes code through release or hotfix branches, a bot PR against it can't be\n   merged as is: hold it, say which branch the change belongs on, and point the config's\n   `target-branch` there (step 7).\n\n   **Check the GitHub default branch is a supported line** (`gh repo view --json\n   defaultBranchRef`). Dependabot's alerts, security PRs, and config all live on it. If it\n   isn't a line (a stale integration branch, say), say so first: its PRs and alerts don't\n   describe what ships, merging into it fixes nothing that ships, and every real line needs\n   `target-branch`. Hold its PRs, check alerts against the real lines yourself, and leave\n   the choice of default branch to the maintainer; it's a repo setting.\n\n   In zsh, write placeholders in git paths as `\"origin\u002F${line}:${path}\"`; a bare `$line:`\n   is read as a modifier.\n\n2. **Gather the bot PRs.**\n   ```bash\n   gh pr list --author app\u002Fdependabot --state open \\\n     --json number,title,baseRefName,headRefName,labels,createdAt\n   ```\n   For Renovate, use `--author app\u002Frenovate`. Read each with `gh pr view \u003Cn> --json\n   title,body,files` and `gh pr diff \u003Cn>`. List every dependency it bumps, with the from and\n   to version. A grouped PR bumps several; a lockfile-only PR (npm `package-lock.json` or\n   NuGet `packages.lock.json`) may bump only a transitive dependency. A bot PR should touch\n   only manifests (`package.json`, `Directory.Packages.props`, a `.csproj`'s\n   `PackageReference` lines) and lockfiles. Anything else, or a `.csproj` change beyond a\n   version, gets read by hand before going on (`pr-review` step 2 has why).\n\n3. **Gather the open security alerts.**\n   One line per package and lockfile: the alert numbers, the worst severity, and the\n   version that fixes them all:\n   ```bash\n   gh api 'repos\u002F{owner}\u002F{repo}\u002Fdependabot\u002Falerts?state=open' --paginate --slurp | jq -r '\n     add | group_by([.dependency.package.name, .dependency.manifest_path])[]\n     | \"\\(.[0].dependency.package.name)\\t\\(.[0].dependency.manifest_path)\\t\\(.[0].dependency.relationship)\\talerts \\([.[].number] | join(\",\"))\\t\\(\n         [.[].security_advisory.severity] | if index(\"critical\") then \"critical\" elif index(\"high\") then \"high\" elif index(\"medium\") then \"medium\" else \"low\" end)\\tfixed in \\(\n         [.[].security_vulnerability.first_patched_version.identifier \u002F\u002F empty]\n         | group_by(split(\".\")[0]) | map(sort_by(split(\".\") | map(tonumber? \u002F\u002F 0)) | last)\n         | join(\", \") | if . == \"\" then \"none\" else . end)\"'\n   ```\n   Match each to a PR from step 2. No `.github\u002Fdependabot.yml` means every Dependabot PR is\n   a security update. An alert with no PR is an item of its own. To see why it has none,\n   check recently closed bot PRs (`gh pr list --author app\u002Fdependabot --state closed\n   --limit 30`): Dependabot doesn't reopen a closed PR for the same version, and their\n   branches may still be on the remote, worth a note. GitHub's own\n   runtime\u002Fdevelopment label on an alert reads `package.json`, like Dependabot's PR labels;\n   sort it yourself in step 4.\n\n   Match alerts to PRs by package name and the PR's diff, not its branch name: Dependabot\n   updates a PR in place, and the branch keeps its first version in its name.\n\n   One \"fixed in\" version per major: more than one means copies at different majors, each\n   needing its own fix.\n\n   Alerts only describe the default branch, so check every line for the same package.\n   Check fixed alerts too (`?state=fixed`): a fix that landed on one branch in an earlier\n   run may never have reached the others. A line can also carry a vulnerable version the\n   default branch has already moved past, so it has no alert at all. For shipped\n   dependencies, look each line's version up directly:\n   ```bash\n   gh api \"\u002Fadvisories?ecosystem=\u003Cnuget|npm>&affects=\u003Cname>@\u003Cversion>\" \\\n     --jq '.[] | \"\\(.ghsa_id) \\(.severity) fixed in \\(.vulnerabilities[0].first_patched_version)\"'\n   ```\n   A package can sit at a different install path on each line, so match every copy:\n   ```bash\n   git show origin\u002F\u003Cline>:\u003Clockfile> | jq -r --arg d \"\u003Cname>\" '.packages | to_entries[]\n     | select(.key | endswith(\"node_modules\u002F\" + $d)) | \"\\(.key) \\(.value.version)\"'\n   ```\n   For NuGet, read the line's `packages.lock.json` files the same way, or its requested\n   versions if it has none.\n\n   A closed security PR leaves its alert open for good, and an `ignore` entry doesn't close\n   existing alerts either. Offer a dismissal where the alert can't be acted on from this\n   repo, so the list keeps meaning something:\n   - **Locked and not bundled:** `not_used`. The package never runs from this repo's\n     output; sites get the fix through the CMS. If no CMS release has the fix yet, say so:\n     the maintainer may prefer to hold it open as a reminder.\n   - **Dev-only with no fixed version:** `tolerable_risk`, with what uses it.\n   - **The alert doesn't apply** (the vulnerable code path isn't reachable): `inaccurate`,\n     with why.\n\n   Every alert number in the group gets the same reason:\n   ```bash\n   for n in \u003Calert numbers>; do\n     gh api -X PATCH \"repos\u002F{owner}\u002F{repo}\u002Fdependabot\u002Falerts\u002F$n\" -f state=dismissed \\\n       -f dismissed_reason=\u003Creason> -f dismissed_comment=\"\u003Cwhy>\"\n   done\n   ```\n\n4. **Sort each dependency.** Use `umbraco-dependencies`' order: locked, then ships, then\n   dev-only. Sort what the PRs bump and what the alerts name; for a full review, also every\n   direct dependency on each line, from its `Directory.Packages.props` files, `.csproj`\n   files, and each `package.json` outside `node_modules` (not `umbraco-package.json`).\n   - For npm, check the bundle, not Dependabot's `dev`\u002F`prod` label.\n   - For a transitive dependency, find its parents in the lockfile (\"Transitive\n     dependencies\") and sort by those.\n   - A grouped PR takes the strictest kind among its bumps.\n   - One package requested at different versions in different places on one line (a\n     nested `Directory.Packages.props`, two workspaces) is one item per place, each sorted\n     on its own: a test project tied to `Umbraco.Cms.Tests.Integration` can make it locked\n     there and dev-only elsewhere.\n\n5. **Gather updates with no PR** (full review only). Skip locked and sibling packages; they\n   never move on their own. Skip the ones a step 2 PR already bumps. For the rest, start\n   from what actually resolves: the version in `packages.lock.json` or the lowest requested\n   version for NuGet, and the lockfile's resolved version for npm (a `^5.9.2` range may\n   already resolve to 5.9.3). Then look up newer versions in the registry, without\n   installing:\n   ```bash\n   # Newest stable overall, and newest stable in a major (\"\" for overall)\n   newest='[.[] | select(test(\"-\") | not) | select(startswith($m))]\n     | sort_by(split(\".\") | map(tonumber? \u002F\u002F 0)) | last'\n\n   # NuGet\n   curl -s \"https:\u002F\u002Fapi.nuget.org\u002Fv3-flatcontainer\u002F\u003Cid, lowercased>\u002Findex.json\" |\n     jq -r --arg m \"\u003Cmajor>.\" \".versions | $newest\"\n\n   # npm\n   npm view \u003Cname> versions --json | jq -r --arg m \"\u003Cmajor>.\" \"$newest\"\n   ```\n   Registries don't always list versions in version order (a backport published late), so\n   always sort. For a `0.x` package, pass the first two parts as the major (`0.3.`, or\n   `0.0.57.`), so a breaking `0.x` step isn't counted as the same major. Skip pre-releases\n   (anything with a `-`), unless the current version is itself a pre-release: then compare\n   against later versions of any kind, and never offer one lower than the current. This\n   sort orders pre-releases too:\n   ```bash\n   withpre='[.[] | select(startswith($m))] | sort_by(split(\"-\") as [$v, $p]\n     | ($v | split(\".\") | map(tonumber? \u002F\u002F 0)), ($p \u002F\u002F \"~\")) | last'\n   ```\n   `npm view \u003Cname> version` is the `latest` tag, which can be a pre-release, so don't use\n   it for this. A package deprecated in favor of a new id (`xunit` to `xunit.v3`) won't show\n   its successor here; nuget.org and `npm view \u003Cname> deprecated` name it.\n\n   For a private feed in `NuGet.config`, find its flat container from the feed's service\n   index (`curl -s \u003Cfeed>\u002Findex.json | jq -r '.resources[] |\n   select(.\"@type\" == \"PackageBaseAddress\u002F3.0.0\") | .\"@id\"'`) and use it in place of\n   nuget.org's.\n\n   Note each dependency with a newer version: current, newest in its major, newest overall.\n\n6. **Decide each item.** `umbraco-dependencies`' \"What each kind needs before a bump\" table\n   applies to PRs and updates alike. Per kind:\n   - **Locked.** Never \"newest\": it should match the floor's version. A PR that raises it\n     above the floor's version, or moves the floor itself, gets a drafted close comment\n     saying which CMS release pins it. If it's a security fix, don't just close it: say\n     where the fix has to come from (`umbraco-dependencies`' \"A security fix in a locked\n     dependency\"), whether a CMS release has it yet, and offer hold or dismiss (step 3). A\n     locked dependency already off the floor is an item too (`umbraco-dependencies`' \"When\n     the package is already off the floor\").\n   - **Ships.** Read the dependency's release notes or changelog between the two versions.\n     For a family that releases daily, or a long run of releases, skim for \"breaking\",\n     \"removed\", and \"obsolete\" rather than reading each one; if the notes can't be read at\n     all, say so in the row and hold it. Then check that the new version doesn't pull a\n     locked package above the floor's version: for a PR after restoring, for an update\n     with no PR through `umbraco-dependencies`' nuspec lookup, walked down its dependency\n     chain.\n     For a PR, check its checks (`gh pr checks \u003Cn>`), then check it out (`git status`\n     first, then `gh pr checkout \u003Cn>`), restore, and compare the resolved versions of locked\n     packages against the floor's; for npm, check the bundle for a second copy of a shared\n     library. Dispatch `reviewer` (Agent tool, `subagent_type: reviewer`) with the bump as\n     the task, for its build, test, and consumer-impact checks. If checking out isn't\n     possible (the tree isn't clean and the user won't stash), hold the PR as \"not verified\n     locally\". A breaking change in the notes, a locked package pulled above the floor, or\n     any reviewer finding means hold.\n     An update with no PR is \"bump\" only for a patch or minor version whose notes show\n     nothing breaking and that pulls nothing locked above the floor. A minor that fails\n     either check is \"hold\", with why, for the maintainer to decide.\n\n     **A new major of a shipped dependency waits for the package's next major release**,\n     because consumers only expect breaking changes then. With no PR it's \"leave\"; a PR for\n     it gets a drafted close comment saying so. `major-upgrade`'s \"Third-party dependencies\"\n     step picks these up. The exception is a user who asks for it now: then it's a bump like\n     any other, and the hand-off says it's a breaking change for consumers if the\n     dependency's types appear in the package's public API.\n   - **Dev-only.** Any version can move at any time, majors included: no site ever sees it.\n     For a PR, check its checks. Patch and minor bumps with green checks are merge\n     candidates. For an update with no PR, patch and minor versions are \"bump\", grouped\n     into one bump per ecosystem. A major is its own row: read its breaking changes, and\n     it's a bump (or a merge, for a PR) unless they need code or config changes, which make\n     it a hold with what has to change.\n\n     Tools that shape what gets published are the exception, at any version: versioning\n     tools (Nerdbank.GitVersioning, MinVer) can change the computed package version, and a\n     new analyzer release can add build errors. Hold those, and keep them in step with\n     sibling repos and the CMS unless the maintainer says otherwise.\n\n   A PR whose checks are failing or still running is never a merge candidate. Say which\n   check, and hold it. Checks that ran on an older base still count if the base hasn't\n   changed the same manifests or lockfiles since (`git diff --name-only $(git merge-base\n   origin\u002F\u003Cbase> origin\u002F\u003Chead>) origin\u002F\u003Cbase> -- '*package-lock.json' '*package.json'\n   '*.props' '*.csproj' '*packages.lock.json'` lists any); if it has, the PR needs a rebase\n   (`@dependabot rebase`, a comment that needs a yes like any other) before it's a\n   candidate. If the repo lints commit messages, in CI or only in a local git hook, and the\n   bot's message would fail it, say so: with merge commits, that message lands on trunk as\n   written.\n\n7. **Check the Dependabot config.** Read `.github\u002Fdependabot.yml` on the default branch.\n   Draft the file, or the change to it, from `umbraco-dependencies`' \"Dependabot\". A new file\n   ignores every locked dependency the project references, on every line. A change to an\n   existing file adds the locked ones it misses, at least every one this run closed or left.\n   Add dev-only grouping, and a commit prefix if the bot's messages break the repo's rules.\n   Judge that from the bot's recent commits, not its defaults: with no config, Dependabot\n   copies the style it sees in the repo's history, so its messages can drift. A full review\n   that found many updates with no PR on a repo without the file is the strongest case for\n   adding it.\n\n8. **Show the plan and wait.** Up to three tables, each with what it bumps (from and to),\n   the kind, the action, and the reason in a few words:\n   - **Bot PRs:** merge \u002F close \u002F hold.\n   - **Security alerts with no PR:** bump \u002F override \u002F dismiss \u002F hold, and the lines that\n     carry it.\n     A fix no PR can deliver follows `umbraco-dependencies`' \"A fix no PR can deliver\".\n   - **Updates with no PR:** bump \u002F hold \u002F leave. Keep this one short: group dev-only bumps\n     per ecosystem, let one row name several lines when the change is the same on each, and\n     list leaves only by name with their reason.\n\n   Then a short list, one line each, of locked dependencies off the floor and second copies\n   of a backoffice library in the bundle. These need the maintainer, not a bump.\n\n   Then each drafted close comment, written following `plain-writing`, and the config draft.\n   Ask before doing any of it. The user may say yes to some rows and not others.\n\n   Several PRs that edit the same lockfile may conflict once the first merges. Order them,\n   and say the rest may need Dependabot to rebase and re-run checks.\n\n9. **Do only what was confirmed.**\n   - **Merge** with the method the repo actually uses: read `git log --first-parent\n     --oneline -20` on the base branch (merge commits, or squashed single commits). If it's\n     unclear, ask. Never merge past failing or required checks, never with `--admin`. Merge\n     one PR at a time when they share a lockfile, and re-check the next after its rebase.\n   - **Dismiss** each confirmed alert with the drafted reason.\n   - **Close** with `gh pr close \u003Cn> --comment \"\u003Cdrafted comment>\"`. Dependabot won't reopen\n     a closed PR for that version, but opens one for the next. The config change is what\n     stops that.\n   - **Bump or override.** Start `quick-fix` once per confirmed bump or override row and\n     line, on that line, with the\n     package, the from and to version, its kind, and what step 6 found (release notes,\n     resolved locked versions to keep at the floor's). One grouped dev-only row is one\n     `quick-fix`. Do them one at a time.\n   - **Config change.** Commit it on a short-lived branch and open a PR, following\n     `git-workflow`. Ask before committing to `main` or a version line.\n\n## Rules\n\n- Never merge, close, comment, bump, dismiss an alert, or push without a yes for that item.\n- Never merge or bump a locked dependency above the floor's version, even with green checks.\n  Green checks only prove it works on the CMS version CI builds against, not on the floor.\n- Never edit the bot's branch to make a bump pass. That's a code change; hold it and say\n  what broke.\n- Return to the branch you started on when done.\n\n## Hand off\n\nReport: what was merged, closed, bumped, held, and left (with why), and whether the config PR\nis open. For each held item, the one thing that needs a human decision. Then, one line each:\n\n- Security fixes landed on one branch that supported version lines still need.\n  Dependabot never opens security PRs against them; `change-backport` ports a merged fix.\n- Locked dependencies found off the floor while sorting.\n- Other version lines that carry a vulnerable version from an alert.\n\n- **If another skill started this one**, return the plan (or what was done) and stop. That\n  skill decides what runs next.\n- Otherwise, if the config wasn't changed, suggest doing it now so the same PRs don't come\n  back, and ordinary updates arrive as PRs instead of waiting for the next review.\n",{"name":5,"description":7,"argument-hint":24,"user-invocable":25},"[PR number or URL, optional; reviews everything if empty]",true,"main","a2f9c28bc56802b4e6db01e03972e497b30ad001","plugins\u002Fumbraco-devkit\u002Fskills\u002Fdependency-review",1,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit","https:\u002F\u002Fgithub.com\u002Fmattbrailsford","https:\u002F\u002Fmattbrailsford.dev","AI Staff Engineer @umbraco ","2026-11-12 18:33:53",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":25},[37,40,43],{"tool":38,"command":39},"npx","npx skills add mattbrailsford\u002Fumbraco-devkit --skill dependency-review",{"tool":41,"command":42},"bunx","bunx skills add mattbrailsford\u002Fumbraco-devkit --skill dependency-review",{"tool":44,"command":45},"pnpm","pnpm dlx skills add mattbrailsford\u002Fumbraco-devkit --skill dependency-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fdependency-review\u002FSKILL.md",[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7CYGRPVNP8H9YNHGMZ6CP3C","user-stories","Writes, splits and refines user stories with Given\u002FWhen\u002FThen acceptance criteria in STORIES.md, feeding bdd-specs. Use when turning a feature request or a vague ask into a testable backlog entry.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fuser-stories\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7CYGJB26N83DXKMDEKY2X48","umbraco-security","What Umbraco provides for keeping a package secure, on the server and in the backoffice: Management API authorization and policies, settings that hold secrets, endpoints outside the Management API, sanitizeHTML and escapeHTML, DOMPurify rules for custom elements, and umbHttpClient instead of handling tokens in the browser. Use when writing or reviewing a Management API controller, a secret setting, a custom endpoint, a backoffice template that uses unsafeHTML, or frontend code that calls an API.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-security\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7CYGBEZ2Q4AXDDNADWW4Q9H","umbraco-performance","Keeping a package fast on the sites that install it: the published cache over the services layer, tree traversal, caching lookups and clearing them, data type config and converter cache levels, output cache eviction, light hot paths, and backoffice screens that don't over-fetch. Use when writing, changing or reviewing code that runs per request, per save, per indexed item or at startup (property value converters, notification handlers, indexing), code that loops over every content item (a full rebuild, an import, a sync), or a list or search screen. Not for a site's own templates.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-performance\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7CYG59CZN1K2KERB0SSDGSY","umbraco-package-conventions","Backend conventions for an Umbraco package: async naming, internal by default, Attempt-based results for routine failures, public-API backwards compatibility, and where extension methods live. Use when naming a method, choosing visibility, shaping a service's result, changing a public signature (including adding a dependency to a public class's constructor), or organizing extension methods. For extension mechanisms, see `umbraco-extensibility`.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-package-conventions\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7CYG0J10QH8J2GS825WTTET","umbraco-marketplace","Gets a finished package listed on the Umbraco Marketplace: the NuGet tag, the dependency Marketplace reads version support from, the v14+ compatibility gotcha, and umbraco-marketplace.json. Use when a package is ready to publish, or when reviewing its packaging.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-marketplace\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7CYFT7MSYW4GRDSQRDPG020","umbraco-extensibility","Umbraco's extension mechanisms (Composers, collection builders, notification handlers, attribute discovery) and a catalogue of backend CMS extension points: property value converters, Management API endpoints, content finders, health checks, search indexing, package migrations, background jobs, and more. Use when making a feature extensible or choosing which extension point fits. Not for property editor UI, dashboards, sections or trees, which the official Backoffice Skills plugin covers.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-extensibility\u002FSKILL.md",[],[]]