[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CYF3B5A09P0JXZV12GD5V1":3,"skill-same:01M7CYF3B5A09P0JXZV12GD5V1":53},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7CYF3B5A09P0JXZV12GD5V1","umbraco-dependencies",null,"Sorts an Umbraco package's NuGet and npm dependencies into locked to the CMS, shipped to sites, and dev-only, and says what each kind needs: which version, how sibling packages pin each other, and Dependabot rules. Use when adding, bumping or importing a dependency (including writing client code that imports Lit, UUI or RxJS), referencing a sibling package, judging an update PR, writing dependabot.yml, or matching dependencies to a new CMS version.","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\u002Fumbraco-dependencies\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: umbraco-dependencies\ndescription: >-\n  Sorts an Umbraco package's NuGet and npm dependencies into locked to the CMS, shipped to\n  sites, and dev-only, and says what each kind needs: which version, how sibling packages\n  pin each other, and Dependabot rules. Use when adding, bumping or importing a dependency\n  (including writing client code that imports Lit, UUI or RxJS), referencing a sibling\n  package, judging an update PR, writing dependabot.yml, or matching dependencies\n  to a new CMS version.\n\n---\n\n# Umbraco package dependencies\n\nAn Umbraco package doesn't run on its own. It runs inside a site that already has the CMS and\neverything the CMS depends on. So a package's dependencies aren't all equal: some must match\nthe CMS, some reach every site that installs the package, and some never leave the repo.\n\nSort every dependency into one of three kinds, in this order. The first that fits wins.\n\n1. **Locked to the CMS.** A site gets it from the CMS too. The CMS decides its version.\n2. **Ships to sites.** It reaches a site when the package is installed: as a NuGet\n   dependency, or as code inside the backoffice bundle.\n3. **Dev-only.** Tests, build tools, analyzers, the demo site, and CI. No site ever sees it.\n\nLocked only matters where the dependency runs next to the CMS. A test dependency that runs\nagainst the CMS (a CMS test helper, NuGet or npm) is dev-only and locked, and locked wins:\nit still has to match the CMS. A test project that only uses the CMS's packages for types is\ndev-only, whatever its lockfile holds.\n\n## Which CMS version: the floor\n\nA locked dependency matches the CMS release the package's support **starts at**: its floor.\nNot the newest CMS release.\n\nRead the floor from the lowest `Umbraco.Cms.*` lower bound across the projects that ship.\nOther packages under the `Umbraco.Cms.` prefix, like `Umbraco.Cms.Search.*`, are separate\nproducts with their own versions. If the reference is a range, the floor is its lower\nbound: `[18.0.0, 18.999.999)` means 18.0.0. With branch-per-major (`git-workflow`'s\n\"Umbraco packages and version tracking\"), each line has its own floor.\n\n`@umbraco-cms\u002Fbackoffice` should resolve to the same floor: check both the range in each\nclient's `package.json` and the version the lockfile actually resolved, since a `^18.0.0`\nrange can sit at 18.0.0 for a long time. If it's lower, the client builds against APIs older\nthan the CMS it runs on; if higher, it uses APIs sites on the floor don't have. More than one\nresolved copy in one workspace is a finding too. Flag each one.\n\nSay a package's floor is CMS 17.0, and CMS 17.3 moved EF Core from 10.0.0 to 10.0.3. If the\npackage asks for 10.0.3, every site still on 17.0 to 17.2 gets forced onto an EF Core\nversion their CMS was never tested with. So the package stays on 10.0.0 until its own floor\nmoves.\n\nMoving the floor itself (bumping `Umbraco.Cms.*`) raises the lowest CMS version every user\nmust run. That's a release decision for the maintainer, never a routine bump. A new major is\n`major-upgrade`'s job.\n\n### More than one floor\n\nEverything here applies to any product the package builds on, not only the CMS. A package\nthat extends another Umbraco product has a floor for each:\n\n- **Each product's floor** is the lower bound of that product's package, read the same way.\n- **The CMS floor** may come only through another product. Read it from that product's\n  nuspec at its floor (the nuspec lookup under \"Locked to the CMS\"). If the package\n  references the CMS too, the higher of the two lower bounds is the real floor.\n- **Each product locks what it pins.** Run the locked check against every product's\n  dependency graph, not only the CMS's. A product's own npm package is locked like\n  `@umbraco-cms\u002Fbackoffice` if the package extends that product's backoffice.\n\n### A pre-release floor\n\nA new major's line usually starts against a CMS beta or RC, so its floor is a pre-release.\n\n- **Locked packages are pre-releases too.** The CMS pins its Microsoft packages at their RC\n  builds during its own pre-releases. Use the versions at the floor's tag, as always; don't\n  swap in a stable version.\n- **Other Umbraco products may not be on nuget.org.** A product that versions with the CMS\n  (Umbraco.Licenses, Forms, Deploy) often publishes its matching pre-release only on\n  Umbraco's pre-release feed, `https:\u002F\u002Fwww.myget.org\u002FF\u002Fumbracoprereleases\u002Fapi\u002Fv3\u002Findex.json`.\n  Check that feed as well as nuget.org. If a version is only there, add the feed to the\n  repo's `NuGet.config` (and to its package source mapping, if it has one).\n- **Consumers need the feed too.** A site restoring the package's pre-release also has to\n  restore that product's pre-release. Say so in the pre-release's install notes, with the\n  feed URL. Once the products ship to nuget.org, remove the feed and the note.\n\n### Exact versions and ranges\n\nWith an exact version (`10.0.0`), a NuGet reference is a minimum: sites resolve that version\nor higher. With a range (`[10.0.0, 10.999.999)`), the lower bound is the minimum. Either way\nthe rule is about the **lowest version the package asks for**: it must not be above the\nfloor's. A \"bump\" means raising that lowest version.\n\n## Locked to the CMS\n\n### NuGet\n\nA package is locked when a site gets it from the CMS. Most are in `Directory.Packages.props`\nat the root of the CMS repo, at the floor's tag (`umbraco-cms-source`). Three catches:\n\n- **That file also lists the CMS's own build tools** (versioning, code style, and schema\n  tools). Those don't reach sites, so they're not locked; sort them as dev-only.\n- **Some versions are set elsewhere.** A few are pinned inline in a `.csproj`.\n- **Test helper versions live in `tests\u002FDirectory.Packages.props`** in the CMS repo. A\n  locked test helper like `Umbraco.Cms.Tests.Integration` brings its own test framework\n  (NUnit, `Microsoft.NET.Test.Sdk`), and those must match it too, so they're locked as well,\n  in the test projects that use it. Only what the helper itself depends on (its nuspec)\n  counts, not everything else in that file.\n\nTo settle a package either way, look for it in the CMS's shipped projects at the floor's\ntag. A reference without `PrivateAssets=\"all\"` reaches sites, so it's locked. Leave out the\nCMS's own dev site (`src\u002FUmbraco.Web.UI`) and `templates\u002F`, whose versions are placeholders:\n\n```bash\ngit -C \"$CMS\" grep -n 'PackageReference Include=\"\u003Cname>\"' \u003Ctag> -- \\\n  'src\u002F**\u002F*.csproj' ':(exclude)src\u002FUmbraco.Web.UI\u002F**'\n```\n\nTwo more cases are locked even with no hit:\n\n- **A package that releases in step with a locked one,** or pins the same version of a\n  family the CMS pins: EF Core Design next to EF Core, for example.\n- **Part of the .NET shared frameworks.** The site's .NET runtime supplies everything in\n  `Microsoft.NETCore.App` and `Microsoft.AspNetCore.App`. Use the patch version the CMS uses\n  for its other `Microsoft.*` packages at the floor, never a newer one. An old package id\n  the framework now covers, with no current version to match, should go: suggest removing\n  the reference.\n\nTypical locked packages:\n\n- `Umbraco.Cms.*`, and other Umbraco products the package builds on (\"More than one\n  floor\").\n- EF Core and its providers (`Microsoft.EntityFrameworkCore.*`), and `Microsoft.Data.Sqlite`.\n- The `Microsoft.Extensions.*` and `Microsoft.AspNetCore.*` packages the CMS lists. Only\n  those: a shared name prefix doesn't make a package locked (`Microsoft.Extensions.AI`\n  isn't part of the CMS).\n- Other Umbraco packages that version with the CMS major, even outside `Umbraco.Cms.*`.\n- Anything else in the CMS's runtime graph.\n\nA shared package the CMS's file doesn't list comes in through one that it does. Find its\nversion from a project that references only the CMS at the floor\n(`dotnet list package --include-transitive`, after a restore), or without restoring, walk\nthe nuspecs: start from the CMS packages the project references and its other locked\ndependencies, and read each one's dependencies a level down:\n\n```bash\ncurl -s \"https:\u002F\u002Fapi.nuget.org\u002Fv3-flatcontainer\u002F\u003Cid>\u002F\u003Cversion>\u002F\u003Cid>.nuspec\" |\n  grep -o '\u003Cdependency id=\"[^\"]*\" version=\"[^\"]*\"'   # id and version lowercased in the URL\n```\n\nPackages the repo publishes itself (sibling products in one repo that depend on each other,\nNuGet or npm) aren't locked to the CMS, but they don't move on a bot's schedule either: the\nrepo's own release sets their versions. Treat them like locked ones for Dependabot.\n\n### Sibling packages: exact pin or range\n\nHow one of the repo's own packages references another depends on how they release:\n\n- **Released together** (one version, one commit, one release; a product split into\n  `Core`, `Web`, and a meta-package, say): pin exactly, `[X.Y.Z]` in NuGet, `X.Y.Z` with no\n  `^` or `~` in npm. They're one product, so there's never a reason for them to resolve to\n  different versions. With a floor instead, another dependency can pull one sibling up while\n  the rest stay put: new server code next to old backoffice files, and no restore warning,\n  because no single rule was broken.\n- **Released on their own schedule** (separate products that happen to share a repo): use a\n  range, like any other shipped dependency (\"Exact versions and ranges\").\n\nA `ProjectReference` between NuGet siblings packs as a floor (`X` means `X` or higher), and\nno MSBuild or NuGet setting makes it pack exactly. A `PackageReference` to the sibling\ndoesn't work either when both pack in one `dotnet pack`: the sibling's `.nupkg` doesn't\nexist yet at restore. Keep the `ProjectReference`, and add a build step after `dotnet pack`\nthat rewrites each sibling dependency in the packed `.nuspec` from `version=\"X\"` to\n`version=\"[X]\"`. The version itself is already right; only its form changes.\n\n### npm\n\nThis section is for a backoffice extension. A client with no `@umbraco-cms\u002Fbackoffice`\ndependency (a script for the public site, say) has nothing locked here.\n\n`@umbraco-cms\u002Fbackoffice` is locked to the floor. So is every library it provides at\nruntime: Lit, UUI, RxJS, and others. The published\npackage declares them all as `peerDependencies`, so the project's own lockfile has the\nlist, whether or not the client lists any of them. Leave out the build-time entries in it\n(`@hey-api\u002Fopenapi-ts`, `@types\u002F*`); those are dev-only:\n\n```bash\njq -r '.packages[\"node_modules\u002F@umbraco-cms\u002Fbackoffice\"].peerDependencies \u002F\u002F {} | keys[]' package-lock.json\n```\n\nWhen the floor moves, the lockfile still holds the old release's peers. Read the new\nrelease's instead, and raise any dependency they rule out, build-time ones included\n(a newer `@hey-api\u002Fopenapi-ts` floor, say), or the install fails with `ERESOLVE`:\n\n```bash\nnpm view @umbraco-cms\u002Fbackoffice@\u003Cnew floor> peerDependencies\n```\n\nFor the version a library is at in a given CMS release, read the CMS repo's lockfiles at\nthe floor's tag. Most are in `src\u002FUmbraco.Web.UI.Client\u002Fpackage-lock.json`, but some sit\nunder a nested package's `node_modules`, so take the entry nearest the package that uses it.\n\nWhat matters is how the client imports them. A bare import (`from \"lit\"`, `from \"rxjs\"`)\nbundles a second copy unless the Vite `external` list covers it, and two copies of Lit or\nUUI at runtime break custom elements in ways the build never shows. `npm ls` can show one\ncopy in `node_modules` while the bundle still carries its own. Check instead:\n\n1. Grep the client's `src\u002F` for bare imports of each library on the peer list, including\n   subpaths (`from \"lit\u002Fdirectives\u002Fkeyed.js\"`, `from \"rxjs\u002Foperators\"`).\n2. Compare against the Vite `external` list. An external must be a path the backoffice's\n   import map provides: a regex like `\u002F^@umbraco\u002F` also externalises anything else that\n   matches, and an import the map doesn't cover fails in the browser instead.\n3. Fix by importing from the backoffice path that exposes it. Most are\n   `@umbraco-cms\u002Fbackoffice\u002Fexternal\u002F\u003Clibrary>`, but not all; the `exports` map in the\n   backoffice's `package.json` lists every path (`umbraco-backoffice-conventions`' \"Build\n   output\").\n\n### A security fix in a locked dependency\n\nA vulnerable version of a locked dependency reaches sites through the CMS, not through the\npackage. Bumping it in the package alone forces the version on every site, as above. The fix\nbelongs in a CMS patch release. Tell the maintainer, with the advisory, so they can decide\nwhether to wait for the CMS or raise the package's floor once the CMS ships the fix.\n\n### Analyzers and source generators the package ships\n\nAn analyzer or source generator the package publishes runs in the consumer's compiler, not\non the site. Its compiler packages (`Microsoft.CodeAnalysis.*`) aren't locked to the CMS,\nbut they set the lowest SDK anyone referencing the package can build with. Keep them at or\nbelow what the floor's .NET SDK ships, and treat a bump as the maintainer's call.\n\n### When the package is already off the floor\n\nProjects drift: a locked dependency raised \"to pick up fixes\", or one left below the CMS\nafter the floor moved. Don't fix it silently in an unrelated change. Report each one with\nthe floor's version, so the maintainer can decide. Only report what reaches a site or a test\nrun: an npm peer that sits in the lockfile but isn't imported or bundled never runs, so its\nversion doesn't matter.\n\nNot every locked package carries the same risk above the floor. EF Core is the sharpest:\na provider or design-time package out of step with the CMS's EF Core fails at runtime\n(`TypeLoadException`, `MissingMethodException`). A patch-level `Microsoft.Extensions.*`\ndifference is usually harmless, but it's still a version the CMS wasn't tested with.\n\n## Ships to sites or dev-only\n\n### NuGet\n\nCheck where the package is **used**, not where it's declared. With central package management,\nevery version lives in `Directory.Packages.props`, whatever it's used for, and there may be\nmore than one such file (a nested one in `tests\u002F` applies to everything under it).\n\n- **Ships:** a `PackageReference` in a project that packs into a published NuGet package,\n  without `PrivateAssets=\"all\"`. Sites restore it. If other packages build on this one,\n  its shipped dependencies become theirs too, so raising one raises it for them.\n- **Dev-only:**\n  - References in test projects, the demo site, and anything with\n    `\u003CIsPackable>false\u003C\u002FIsPackable>` (set in the `.csproj` or a `Directory.Build.props`).\n  - References with `PrivateAssets=\"all\"`: analyzers, source generators, SourceLink,\n    versioning tools (MinVer, Nerdbank.GitVersioning).\n  - `GlobalPackageReference` entries (always private).\n  - Local tools in `.config\u002Fdotnet-tools.json`.\n\nA version in `Directory.Packages.props` that no project uses is noise that still gets bot\nPRs: report it for removal. A project that opts out of central package management, or uses\n`packages.config`, keeps its versions in its own files; sort them the same way, or exclude a\nproject nothing builds any more.\n\nA shipped package can still drag a locked one above the floor, through its own\ndependencies. Restore doesn't warn when a\ndependency pulls a version **up**; `NU1605` only fires when the project itself asks for less\nthan something else needs. Check the resolved versions instead: `packages.lock.json` if the\nproject has one, or `dotnet list package --include-transitive`, against the floor's versions.\n\n### npm\n\nSites never run `npm install` on a backoffice package. They get the built bundle. So\n`dependencies` and `devDependencies` in `package.json` don't decide what ships; the bundle\ndoes.\n\n- **Ships:** a library the client's source imports at runtime that isn't external in the\n  Vite config. It gets bundled, even if it's listed under `devDependencies`. Check with a\n  grep of `src\u002F` for imports of the package name.\n- **Dev-only:** build tools (Vite, TypeScript, ESLint), type packages (`@types\u002F*`), test\n  runners, code generators (`@hey-api\u002Fopenapi-ts`), and anything only a config file or script\n  uses. Also anything external, which the backoffice provides at runtime.\n\nIf the client also publishes to npm (often a types package, so other extensions can build on\nit), its `dependencies` reach those extension developers. Treat them as shipped too.\n\nA client that isn't a backoffice extension (a script the package adds to the public site)\nworks the same way: what's bundled ships, and here it reaches site visitors'\nbrowsers, not just editors'. Everything else is dev-only.\n\n### Transitive dependencies\n\nA bump to a package nobody lists directly (common in lockfile-only security fixes) takes the\nkind of whatever pulls it in. With more than one parent, the strictest kind among them wins.\nFind the parents in the lockfile, without installing anything:\n\n```bash\n# npm: each package that depends on it, and the range it asks for\njq -r --arg d \"\u003Cname>\" '.packages | to_entries[]\n  | .key as $k | ((.value.dependencies \u002F\u002F {}) + (.value.devDependencies \u002F\u002F {})\n  + (.value.peerDependencies \u002F\u002F {}))[$d] \u002F\u002F empty | \"\\(if $k == \"\" then \"(root)\" else $k end) \\(.)\"' \\\n  package-lock.json\n\n# NuGet, with packages.lock.json files: each package that depends on it, and the version it asks for\nfind . -name packages.lock.json -not -path \"*\u002Fnode_modules\u002F*\" -print0 |\n  xargs -0 jq -r --arg d \"\u003Cname>\" '.dependencies[] | to_entries[]\n    | select(.value.dependencies[$d]?) | \"\\(.key) \\(.value.dependencies[$d])\"' | sort -u\n```\n\nnpm keys are install paths (`node_modules\u002Fa\u002Fnode_modules\u002Fb`), and a workspace shows as its\nfolder. A parent that's itself transitive needs the same lookup again, until it reaches a\ndirect dependency. With a restore already in place, `npm explain \u003Cname>` and\n`dotnet nuget why \u003Cproject> \u003Cname>` walk the whole chain in one go.\n\nThese read the working tree. For a version line other than the one checked out, feed the\nline's committed lockfiles in instead (`jq ... \u003C(git show origin\u002F\u003Cline>:\u003Clockfile>)`). If\n`packages.lock.json` is turned on but ignored by git, the working tree's copy only shows\nthe last local restore; walk the nuspecs instead.\n\n### A fix no PR can deliver\n\nSometimes a vulnerable transitive version can't move by a normal bump: a parent pins it\nexactly, or no fixed version exists yet. For a dev-only or shipped chain:\n\n- **npm:** an `overrides` entry in the root `package.json` forces the fixed version. Check\n  the parent still works with it, and remove the override once the parent catches up.\n- **NuGet:** a direct reference to the fixed version raises the transitive one (with central\n  package management, `CentralPackageTransitivePinningEnabled` does the same from\n  `Directory.Packages.props`).\n- **No fixed version:** say so, with what uses it. Dev-only use usually means low real risk;\n  the maintainer decides whether to dismiss the alert.\n\nFor a locked chain, neither applies: the fix comes through the CMS.\n\n### GitHub Actions\n\nDev-only: workflows run in CI, not on sites. A compromised action can still reach the\nrepo's secrets, so pin third-party actions to a commit SHA and read the diff of an update\nbefore merging it.\n\n## What each kind needs before a bump\n\n| Kind | Before bumping |\n|---|---|\n| Locked | Don't. It moves when the floor moves. Close the update. |\n| Ships | A new major waits for the package's next major release, unless the maintainer asks for it. Read the release notes between the two versions. Check the resolved versions of locked packages stay at or below the floor's (see \"Ships to sites or dev-only\"), and the bundle has no second copy of a shared library. Build, test, and smoke. It's a change users get, so the package's release notes say so. |\n| Dev-only | Any version, any time. Build and test. A major version of a build tool can still break the build or change the output, so read its breaking changes. |\n\n## Dependabot\n\n`templates\u002Fdependabot.yml` is the starting point for a package's `.github\u002Fdependabot.yml`.\nFill it in from the project:\n\n1. **One entry per ecosystem per version line.** NuGet where the solution or root\n   `Directory.Packages.props` lives. npm where each `package-lock.json` lives: one entry at\n   the root for npm workspaces, one per client folder otherwise, and one for any other\n   project with its own lockfile (an acceptance-test project, say), whose dependencies are\n   all dev-only. GitHub Actions with `directories` covering `\u002F` and any composite actions\n   under `.github\u002Factions\u002F*`; skip it if every workflow calls a shared one by branch\n   (`@main`), since there's nothing to update.\n\n   Dependabot only opens version update PRs against the default branch unless an entry sets\n   `target-branch`, so with more than one line, copy the NuGet and npm entries once per\n   extra line. Leave `target-branch` off the default branch's entries: an entry that sets it\n   no longer applies to security updates, so its `ignore` list would stop working for them.\n   Security updates only ever target the default branch; other lines need the same fix\n   ported by hand. If the default branch isn't a supported line, every real line needs\n   `target-branch` and no ignore list reaches security PRs; say so to the maintainer.\n\n   If the repo holds scaffolding or template projects with their own\n   `Directory.Packages.props` or `package.json`, `exclude-paths` keeps version updates out\n   of them.\n2. **Ignore every locked dependency.** List each by name, from the \"Locked to the CMS\"\n   check above. For npm that's the backoffice's whole peer list, not only what the client\n   lists: security PRs land on transitive peers too. Use a wildcard only where every match\n   is locked, counting packages that release in step with a locked one (`Umbraco.Cms*`,\n   `Microsoft.EntityFrameworkCore*`). A prefix that shipped packages or build tools share\n   doesn't qualify (`Microsoft.Extensions.*`, `Umbraco.*`). For NuGet, cover the whole graph\n   of every product the package builds on, not only what the project references directly:\n   security PRs land on transitive packages too. Give no `update-types`, so every version\n   is ignored: a locked dependency moves with the floor, never on its own. `ignore` stops\n   security update PRs too, which is right here: the fix comes through the CMS.\n\n   Shipped dependencies get an ignore entry too, for majors only (`update-types:\n   [\"version-update:semver-major\"]`): a new major waits for the package's next major\n   release, so a weekly PR for it is noise. Patches and minors still come through.\n3. **Group by name.** One PR a week for all dev-only bumps in an ecosystem keeps the noise\n   down. List them under `patterns`, checking each against how it's used: a mocking library\n   is dev-only in tests but ships in a published testing package (`*.Testing`).\n   Dependabot's `dependency-type` grouping doesn't work for NuGet, and for npm it follows\n   `package.json`, not the bundle. Leave other shipped\n   dependencies ungrouped so each gets its own review, except a family from one vendor that\n   releases often (`AWSSDK.*`): one group for the family is still one review. Groups only\n   cover version updates unless they add `applies-to: security-updates`, and transitive\n   security bumps rarely match a name pattern, so expect those one per PR.\n4. **Match the repo's commit rules.** Dependabot's default messages (`build(deps-dev): bump\n   ...`) can break the repo's commit rules, whether those run in CI or only as a local git\n   hook, and with merge commits they land on trunk as written. Set `commit-message.prefix`\n   (and `prefix-development`) to what the repo allows. The rest of the subject (`bump x from\n   ...`) can't be configured, so check the first PR after the change against rules like\n   subject case.\n\nPrefer the config file over `@dependabot ignore` comments. Those are stored by GitHub, out of\nsight of anyone reading the repo.\n\nRe-check the ignore list when the floor moves: a new CMS release can lock a package it\ndidn't before.\n","# Umbraco package dependencies\n\nAn Umbraco package doesn't run on its own. It runs inside a site that already has the CMS and\neverything the CMS depends on. So a package's dependencies aren't all equal: some must match\nthe CMS, some reach every site that installs the package, and some never leave the repo.\n\nSort every dependency into one of three kinds, in this order. The first that fits wins.\n\n1. **Locked to the CMS.** A site gets it from the CMS too. The CMS decides its version.\n2. **Ships to sites.** It reaches a site when the package is installed: as a NuGet\n   dependency, or as code inside the backoffice bundle.\n3. **Dev-only.** Tests, build tools, analyzers, the demo site, and CI. No site ever sees it.\n\nLocked only matters where the dependency runs next to the CMS. A test dependency that runs\nagainst the CMS (a CMS test helper, NuGet or npm) is dev-only and locked, and locked wins:\nit still has to match the CMS. A test project that only uses the CMS's packages for types is\ndev-only, whatever its lockfile holds.\n\n## Which CMS version: the floor\n\nA locked dependency matches the CMS release the package's support **starts at**: its floor.\nNot the newest CMS release.\n\nRead the floor from the lowest `Umbraco.Cms.*` lower bound across the projects that ship.\nOther packages under the `Umbraco.Cms.` prefix, like `Umbraco.Cms.Search.*`, are separate\nproducts with their own versions. If the reference is a range, the floor is its lower\nbound: `[18.0.0, 18.999.999)` means 18.0.0. With branch-per-major (`git-workflow`'s\n\"Umbraco packages and version tracking\"), each line has its own floor.\n\n`@umbraco-cms\u002Fbackoffice` should resolve to the same floor: check both the range in each\nclient's `package.json` and the version the lockfile actually resolved, since a `^18.0.0`\nrange can sit at 18.0.0 for a long time. If it's lower, the client builds against APIs older\nthan the CMS it runs on; if higher, it uses APIs sites on the floor don't have. More than one\nresolved copy in one workspace is a finding too. Flag each one.\n\nSay a package's floor is CMS 17.0, and CMS 17.3 moved EF Core from 10.0.0 to 10.0.3. If the\npackage asks for 10.0.3, every site still on 17.0 to 17.2 gets forced onto an EF Core\nversion their CMS was never tested with. So the package stays on 10.0.0 until its own floor\nmoves.\n\nMoving the floor itself (bumping `Umbraco.Cms.*`) raises the lowest CMS version every user\nmust run. That's a release decision for the maintainer, never a routine bump. A new major is\n`major-upgrade`'s job.\n\n### More than one floor\n\nEverything here applies to any product the package builds on, not only the CMS. A package\nthat extends another Umbraco product has a floor for each:\n\n- **Each product's floor** is the lower bound of that product's package, read the same way.\n- **The CMS floor** may come only through another product. Read it from that product's\n  nuspec at its floor (the nuspec lookup under \"Locked to the CMS\"). If the package\n  references the CMS too, the higher of the two lower bounds is the real floor.\n- **Each product locks what it pins.** Run the locked check against every product's\n  dependency graph, not only the CMS's. A product's own npm package is locked like\n  `@umbraco-cms\u002Fbackoffice` if the package extends that product's backoffice.\n\n### A pre-release floor\n\nA new major's line usually starts against a CMS beta or RC, so its floor is a pre-release.\n\n- **Locked packages are pre-releases too.** The CMS pins its Microsoft packages at their RC\n  builds during its own pre-releases. Use the versions at the floor's tag, as always; don't\n  swap in a stable version.\n- **Other Umbraco products may not be on nuget.org.** A product that versions with the CMS\n  (Umbraco.Licenses, Forms, Deploy) often publishes its matching pre-release only on\n  Umbraco's pre-release feed, `https:\u002F\u002Fwww.myget.org\u002FF\u002Fumbracoprereleases\u002Fapi\u002Fv3\u002Findex.json`.\n  Check that feed as well as nuget.org. If a version is only there, add the feed to the\n  repo's `NuGet.config` (and to its package source mapping, if it has one).\n- **Consumers need the feed too.** A site restoring the package's pre-release also has to\n  restore that product's pre-release. Say so in the pre-release's install notes, with the\n  feed URL. Once the products ship to nuget.org, remove the feed and the note.\n\n### Exact versions and ranges\n\nWith an exact version (`10.0.0`), a NuGet reference is a minimum: sites resolve that version\nor higher. With a range (`[10.0.0, 10.999.999)`), the lower bound is the minimum. Either way\nthe rule is about the **lowest version the package asks for**: it must not be above the\nfloor's. A \"bump\" means raising that lowest version.\n\n## Locked to the CMS\n\n### NuGet\n\nA package is locked when a site gets it from the CMS. Most are in `Directory.Packages.props`\nat the root of the CMS repo, at the floor's tag (`umbraco-cms-source`). Three catches:\n\n- **That file also lists the CMS's own build tools** (versioning, code style, and schema\n  tools). Those don't reach sites, so they're not locked; sort them as dev-only.\n- **Some versions are set elsewhere.** A few are pinned inline in a `.csproj`.\n- **Test helper versions live in `tests\u002FDirectory.Packages.props`** in the CMS repo. A\n  locked test helper like `Umbraco.Cms.Tests.Integration` brings its own test framework\n  (NUnit, `Microsoft.NET.Test.Sdk`), and those must match it too, so they're locked as well,\n  in the test projects that use it. Only what the helper itself depends on (its nuspec)\n  counts, not everything else in that file.\n\nTo settle a package either way, look for it in the CMS's shipped projects at the floor's\ntag. A reference without `PrivateAssets=\"all\"` reaches sites, so it's locked. Leave out the\nCMS's own dev site (`src\u002FUmbraco.Web.UI`) and `templates\u002F`, whose versions are placeholders:\n\n```bash\ngit -C \"$CMS\" grep -n 'PackageReference Include=\"\u003Cname>\"' \u003Ctag> -- \\\n  'src\u002F**\u002F*.csproj' ':(exclude)src\u002FUmbraco.Web.UI\u002F**'\n```\n\nTwo more cases are locked even with no hit:\n\n- **A package that releases in step with a locked one,** or pins the same version of a\n  family the CMS pins: EF Core Design next to EF Core, for example.\n- **Part of the .NET shared frameworks.** The site's .NET runtime supplies everything in\n  `Microsoft.NETCore.App` and `Microsoft.AspNetCore.App`. Use the patch version the CMS uses\n  for its other `Microsoft.*` packages at the floor, never a newer one. An old package id\n  the framework now covers, with no current version to match, should go: suggest removing\n  the reference.\n\nTypical locked packages:\n\n- `Umbraco.Cms.*`, and other Umbraco products the package builds on (\"More than one\n  floor\").\n- EF Core and its providers (`Microsoft.EntityFrameworkCore.*`), and `Microsoft.Data.Sqlite`.\n- The `Microsoft.Extensions.*` and `Microsoft.AspNetCore.*` packages the CMS lists. Only\n  those: a shared name prefix doesn't make a package locked (`Microsoft.Extensions.AI`\n  isn't part of the CMS).\n- Other Umbraco packages that version with the CMS major, even outside `Umbraco.Cms.*`.\n- Anything else in the CMS's runtime graph.\n\nA shared package the CMS's file doesn't list comes in through one that it does. Find its\nversion from a project that references only the CMS at the floor\n(`dotnet list package --include-transitive`, after a restore), or without restoring, walk\nthe nuspecs: start from the CMS packages the project references and its other locked\ndependencies, and read each one's dependencies a level down:\n\n```bash\ncurl -s \"https:\u002F\u002Fapi.nuget.org\u002Fv3-flatcontainer\u002F\u003Cid>\u002F\u003Cversion>\u002F\u003Cid>.nuspec\" |\n  grep -o '\u003Cdependency id=\"[^\"]*\" version=\"[^\"]*\"'   # id and version lowercased in the URL\n```\n\nPackages the repo publishes itself (sibling products in one repo that depend on each other,\nNuGet or npm) aren't locked to the CMS, but they don't move on a bot's schedule either: the\nrepo's own release sets their versions. Treat them like locked ones for Dependabot.\n\n### Sibling packages: exact pin or range\n\nHow one of the repo's own packages references another depends on how they release:\n\n- **Released together** (one version, one commit, one release; a product split into\n  `Core`, `Web`, and a meta-package, say): pin exactly, `[X.Y.Z]` in NuGet, `X.Y.Z` with no\n  `^` or `~` in npm. They're one product, so there's never a reason for them to resolve to\n  different versions. With a floor instead, another dependency can pull one sibling up while\n  the rest stay put: new server code next to old backoffice files, and no restore warning,\n  because no single rule was broken.\n- **Released on their own schedule** (separate products that happen to share a repo): use a\n  range, like any other shipped dependency (\"Exact versions and ranges\").\n\nA `ProjectReference` between NuGet siblings packs as a floor (`X` means `X` or higher), and\nno MSBuild or NuGet setting makes it pack exactly. A `PackageReference` to the sibling\ndoesn't work either when both pack in one `dotnet pack`: the sibling's `.nupkg` doesn't\nexist yet at restore. Keep the `ProjectReference`, and add a build step after `dotnet pack`\nthat rewrites each sibling dependency in the packed `.nuspec` from `version=\"X\"` to\n`version=\"[X]\"`. The version itself is already right; only its form changes.\n\n### npm\n\nThis section is for a backoffice extension. A client with no `@umbraco-cms\u002Fbackoffice`\ndependency (a script for the public site, say) has nothing locked here.\n\n`@umbraco-cms\u002Fbackoffice` is locked to the floor. So is every library it provides at\nruntime: Lit, UUI, RxJS, and others. The published\npackage declares them all as `peerDependencies`, so the project's own lockfile has the\nlist, whether or not the client lists any of them. Leave out the build-time entries in it\n(`@hey-api\u002Fopenapi-ts`, `@types\u002F*`); those are dev-only:\n\n```bash\njq -r '.packages[\"node_modules\u002F@umbraco-cms\u002Fbackoffice\"].peerDependencies \u002F\u002F {} | keys[]' package-lock.json\n```\n\nWhen the floor moves, the lockfile still holds the old release's peers. Read the new\nrelease's instead, and raise any dependency they rule out, build-time ones included\n(a newer `@hey-api\u002Fopenapi-ts` floor, say), or the install fails with `ERESOLVE`:\n\n```bash\nnpm view @umbraco-cms\u002Fbackoffice@\u003Cnew floor> peerDependencies\n```\n\nFor the version a library is at in a given CMS release, read the CMS repo's lockfiles at\nthe floor's tag. Most are in `src\u002FUmbraco.Web.UI.Client\u002Fpackage-lock.json`, but some sit\nunder a nested package's `node_modules`, so take the entry nearest the package that uses it.\n\nWhat matters is how the client imports them. A bare import (`from \"lit\"`, `from \"rxjs\"`)\nbundles a second copy unless the Vite `external` list covers it, and two copies of Lit or\nUUI at runtime break custom elements in ways the build never shows. `npm ls` can show one\ncopy in `node_modules` while the bundle still carries its own. Check instead:\n\n1. Grep the client's `src\u002F` for bare imports of each library on the peer list, including\n   subpaths (`from \"lit\u002Fdirectives\u002Fkeyed.js\"`, `from \"rxjs\u002Foperators\"`).\n2. Compare against the Vite `external` list. An external must be a path the backoffice's\n   import map provides: a regex like `\u002F^@umbraco\u002F` also externalises anything else that\n   matches, and an import the map doesn't cover fails in the browser instead.\n3. Fix by importing from the backoffice path that exposes it. Most are\n   `@umbraco-cms\u002Fbackoffice\u002Fexternal\u002F\u003Clibrary>`, but not all; the `exports` map in the\n   backoffice's `package.json` lists every path (`umbraco-backoffice-conventions`' \"Build\n   output\").\n\n### A security fix in a locked dependency\n\nA vulnerable version of a locked dependency reaches sites through the CMS, not through the\npackage. Bumping it in the package alone forces the version on every site, as above. The fix\nbelongs in a CMS patch release. Tell the maintainer, with the advisory, so they can decide\nwhether to wait for the CMS or raise the package's floor once the CMS ships the fix.\n\n### Analyzers and source generators the package ships\n\nAn analyzer or source generator the package publishes runs in the consumer's compiler, not\non the site. Its compiler packages (`Microsoft.CodeAnalysis.*`) aren't locked to the CMS,\nbut they set the lowest SDK anyone referencing the package can build with. Keep them at or\nbelow what the floor's .NET SDK ships, and treat a bump as the maintainer's call.\n\n### When the package is already off the floor\n\nProjects drift: a locked dependency raised \"to pick up fixes\", or one left below the CMS\nafter the floor moved. Don't fix it silently in an unrelated change. Report each one with\nthe floor's version, so the maintainer can decide. Only report what reaches a site or a test\nrun: an npm peer that sits in the lockfile but isn't imported or bundled never runs, so its\nversion doesn't matter.\n\nNot every locked package carries the same risk above the floor. EF Core is the sharpest:\na provider or design-time package out of step with the CMS's EF Core fails at runtime\n(`TypeLoadException`, `MissingMethodException`). A patch-level `Microsoft.Extensions.*`\ndifference is usually harmless, but it's still a version the CMS wasn't tested with.\n\n## Ships to sites or dev-only\n\n### NuGet\n\nCheck where the package is **used**, not where it's declared. With central package management,\nevery version lives in `Directory.Packages.props`, whatever it's used for, and there may be\nmore than one such file (a nested one in `tests\u002F` applies to everything under it).\n\n- **Ships:** a `PackageReference` in a project that packs into a published NuGet package,\n  without `PrivateAssets=\"all\"`. Sites restore it. If other packages build on this one,\n  its shipped dependencies become theirs too, so raising one raises it for them.\n- **Dev-only:**\n  - References in test projects, the demo site, and anything with\n    `\u003CIsPackable>false\u003C\u002FIsPackable>` (set in the `.csproj` or a `Directory.Build.props`).\n  - References with `PrivateAssets=\"all\"`: analyzers, source generators, SourceLink,\n    versioning tools (MinVer, Nerdbank.GitVersioning).\n  - `GlobalPackageReference` entries (always private).\n  - Local tools in `.config\u002Fdotnet-tools.json`.\n\nA version in `Directory.Packages.props` that no project uses is noise that still gets bot\nPRs: report it for removal. A project that opts out of central package management, or uses\n`packages.config`, keeps its versions in its own files; sort them the same way, or exclude a\nproject nothing builds any more.\n\nA shipped package can still drag a locked one above the floor, through its own\ndependencies. Restore doesn't warn when a\ndependency pulls a version **up**; `NU1605` only fires when the project itself asks for less\nthan something else needs. Check the resolved versions instead: `packages.lock.json` if the\nproject has one, or `dotnet list package --include-transitive`, against the floor's versions.\n\n### npm\n\nSites never run `npm install` on a backoffice package. They get the built bundle. So\n`dependencies` and `devDependencies` in `package.json` don't decide what ships; the bundle\ndoes.\n\n- **Ships:** a library the client's source imports at runtime that isn't external in the\n  Vite config. It gets bundled, even if it's listed under `devDependencies`. Check with a\n  grep of `src\u002F` for imports of the package name.\n- **Dev-only:** build tools (Vite, TypeScript, ESLint), type packages (`@types\u002F*`), test\n  runners, code generators (`@hey-api\u002Fopenapi-ts`), and anything only a config file or script\n  uses. Also anything external, which the backoffice provides at runtime.\n\nIf the client also publishes to npm (often a types package, so other extensions can build on\nit), its `dependencies` reach those extension developers. Treat them as shipped too.\n\nA client that isn't a backoffice extension (a script the package adds to the public site)\nworks the same way: what's bundled ships, and here it reaches site visitors'\nbrowsers, not just editors'. Everything else is dev-only.\n\n### Transitive dependencies\n\nA bump to a package nobody lists directly (common in lockfile-only security fixes) takes the\nkind of whatever pulls it in. With more than one parent, the strictest kind among them wins.\nFind the parents in the lockfile, without installing anything:\n\n```bash\n# npm: each package that depends on it, and the range it asks for\njq -r --arg d \"\u003Cname>\" '.packages | to_entries[]\n  | .key as $k | ((.value.dependencies \u002F\u002F {}) + (.value.devDependencies \u002F\u002F {})\n  + (.value.peerDependencies \u002F\u002F {}))[$d] \u002F\u002F empty | \"\\(if $k == \"\" then \"(root)\" else $k end) \\(.)\"' \\\n  package-lock.json\n\n# NuGet, with packages.lock.json files: each package that depends on it, and the version it asks for\nfind . -name packages.lock.json -not -path \"*\u002Fnode_modules\u002F*\" -print0 |\n  xargs -0 jq -r --arg d \"\u003Cname>\" '.dependencies[] | to_entries[]\n    | select(.value.dependencies[$d]?) | \"\\(.key) \\(.value.dependencies[$d])\"' | sort -u\n```\n\nnpm keys are install paths (`node_modules\u002Fa\u002Fnode_modules\u002Fb`), and a workspace shows as its\nfolder. A parent that's itself transitive needs the same lookup again, until it reaches a\ndirect dependency. With a restore already in place, `npm explain \u003Cname>` and\n`dotnet nuget why \u003Cproject> \u003Cname>` walk the whole chain in one go.\n\nThese read the working tree. For a version line other than the one checked out, feed the\nline's committed lockfiles in instead (`jq ... \u003C(git show origin\u002F\u003Cline>:\u003Clockfile>)`). If\n`packages.lock.json` is turned on but ignored by git, the working tree's copy only shows\nthe last local restore; walk the nuspecs instead.\n\n### A fix no PR can deliver\n\nSometimes a vulnerable transitive version can't move by a normal bump: a parent pins it\nexactly, or no fixed version exists yet. For a dev-only or shipped chain:\n\n- **npm:** an `overrides` entry in the root `package.json` forces the fixed version. Check\n  the parent still works with it, and remove the override once the parent catches up.\n- **NuGet:** a direct reference to the fixed version raises the transitive one (with central\n  package management, `CentralPackageTransitivePinningEnabled` does the same from\n  `Directory.Packages.props`).\n- **No fixed version:** say so, with what uses it. Dev-only use usually means low real risk;\n  the maintainer decides whether to dismiss the alert.\n\nFor a locked chain, neither applies: the fix comes through the CMS.\n\n### GitHub Actions\n\nDev-only: workflows run in CI, not on sites. A compromised action can still reach the\nrepo's secrets, so pin third-party actions to a commit SHA and read the diff of an update\nbefore merging it.\n\n## What each kind needs before a bump\n\n| Kind | Before bumping |\n|---|---|\n| Locked | Don't. It moves when the floor moves. Close the update. |\n| Ships | A new major waits for the package's next major release, unless the maintainer asks for it. Read the release notes between the two versions. Check the resolved versions of locked packages stay at or below the floor's (see \"Ships to sites or dev-only\"), and the bundle has no second copy of a shared library. Build, test, and smoke. It's a change users get, so the package's release notes say so. |\n| Dev-only | Any version, any time. Build and test. A major version of a build tool can still break the build or change the output, so read its breaking changes. |\n\n## Dependabot\n\n`templates\u002Fdependabot.yml` is the starting point for a package's `.github\u002Fdependabot.yml`.\nFill it in from the project:\n\n1. **One entry per ecosystem per version line.** NuGet where the solution or root\n   `Directory.Packages.props` lives. npm where each `package-lock.json` lives: one entry at\n   the root for npm workspaces, one per client folder otherwise, and one for any other\n   project with its own lockfile (an acceptance-test project, say), whose dependencies are\n   all dev-only. GitHub Actions with `directories` covering `\u002F` and any composite actions\n   under `.github\u002Factions\u002F*`; skip it if every workflow calls a shared one by branch\n   (`@main`), since there's nothing to update.\n\n   Dependabot only opens version update PRs against the default branch unless an entry sets\n   `target-branch`, so with more than one line, copy the NuGet and npm entries once per\n   extra line. Leave `target-branch` off the default branch's entries: an entry that sets it\n   no longer applies to security updates, so its `ignore` list would stop working for them.\n   Security updates only ever target the default branch; other lines need the same fix\n   ported by hand. If the default branch isn't a supported line, every real line needs\n   `target-branch` and no ignore list reaches security PRs; say so to the maintainer.\n\n   If the repo holds scaffolding or template projects with their own\n   `Directory.Packages.props` or `package.json`, `exclude-paths` keeps version updates out\n   of them.\n2. **Ignore every locked dependency.** List each by name, from the \"Locked to the CMS\"\n   check above. For npm that's the backoffice's whole peer list, not only what the client\n   lists: security PRs land on transitive peers too. Use a wildcard only where every match\n   is locked, counting packages that release in step with a locked one (`Umbraco.Cms*`,\n   `Microsoft.EntityFrameworkCore*`). A prefix that shipped packages or build tools share\n   doesn't qualify (`Microsoft.Extensions.*`, `Umbraco.*`). For NuGet, cover the whole graph\n   of every product the package builds on, not only what the project references directly:\n   security PRs land on transitive packages too. Give no `update-types`, so every version\n   is ignored: a locked dependency moves with the floor, never on its own. `ignore` stops\n   security update PRs too, which is right here: the fix comes through the CMS.\n\n   Shipped dependencies get an ignore entry too, for majors only (`update-types:\n   [\"version-update:semver-major\"]`): a new major waits for the package's next major\n   release, so a weekly PR for it is noise. Patches and minors still come through.\n3. **Group by name.** One PR a week for all dev-only bumps in an ecosystem keeps the noise\n   down. List them under `patterns`, checking each against how it's used: a mocking library\n   is dev-only in tests but ships in a published testing package (`*.Testing`).\n   Dependabot's `dependency-type` grouping doesn't work for NuGet, and for npm it follows\n   `package.json`, not the bundle. Leave other shipped\n   dependencies ungrouped so each gets its own review, except a family from one vendor that\n   releases often (`AWSSDK.*`): one group for the family is still one review. Groups only\n   cover version updates unless they add `applies-to: security-updates`, and transitive\n   security bumps rarely match a name pattern, so expect those one per PR.\n4. **Match the repo's commit rules.** Dependabot's default messages (`build(deps-dev): bump\n   ...`) can break the repo's commit rules, whether those run in CI or only as a local git\n   hook, and with merge commits they land on trunk as written. Set `commit-message.prefix`\n   (and `prefix-development`) to what the repo allows. The rest of the subject (`bump x from\n   ...`) can't be configured, so check the first PR after the change against rules like\n   subject case.\n\nPrefer the config file over `@dependabot ignore` comments. Those are stored by GitHub, out of\nsight of anyone reading the repo.\n\nRe-check the ignore list when the floor moves: a new CMS release can lock a package it\ndidn't before.\n",{"name":5,"description":7},"main","a2f9c28bc56802b4e6db01e03972e497b30ad001","plugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-dependencies",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":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add mattbrailsford\u002Fumbraco-devkit --skill umbraco-dependencies",{"tool":39,"command":40},"bunx","bunx skills add mattbrailsford\u002Fumbraco-devkit --skill umbraco-dependencies",{"tool":42,"command":43},"pnpm","pnpm dlx skills add mattbrailsford\u002Fumbraco-devkit --skill umbraco-dependencies","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-dependencies\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"templates\u002Fdependabot.yml","REFERENCE","参考文档",4554,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-dependencies\u002Ftemplates\u002Fdependabot.yml",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"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":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"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":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"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",[],[]]