agentleFS
erumkatzwanerumkatzwan/agentic-product-starter/.agents/skills/update-dependencies/SKILL.md

update-dependencies

Skill5 starsChanged 19 days agoMITView on GitHub

Use when dependencies, SDKs or toolchains need updating in any app (npm, NuGet, Gradle, Swift, GitHub Actions, Xcode, JDK, .NET, Node), when a Dependabot pull request fails or is a major version, or on request ("update dependencies"). Moves everything to the latest stable version safely, one ecosystem at a time.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-pr.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • DockerSkill

    review-pr

    Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a grouped Dependabot pull request fails, or you update outside the bot:

    line 43
  2. Very specific:

    Update: npm update (npm), edit versions (NuGet .csproj, Gradle libs.versions.toml).

    line 46
  3. Very specific:

    Run the app's checks (make ci, npm run lint && npm test, dotnet test).

    line 47
  4. Distinctive:

    If a check fails, find the one package that caused it, pin it to its previous version with a comment, and open an issue for it.

    line 48
  5. Distinctive:

    Read the release notes and migration guide end to end.

    line 54
  6. Very specific:

    Check the platform skill first: Android has agp-9-upgrade for the Android Gradle Plugin.

    line 55
  7. Distinctive:

    Run the full checks for every app that uses it.

    line 57
  8. Very specific:

    If the upgrade changes how the system is built (a new framework, minimum OS version, a new build tool), write an ADR …

    line 58
  9. Distinctive:

    Update versions mentioned in READMEs and tutorials.

    line 59
  10. Distinctive:

    All required checks green, including Dependency review.

    line 64
  11. Distinctive:

    Never pin to an old version without a comment and an issue explaining why.

    line 69
  12. Distinctive:

    Never mix a dependency update with feature work in one pull request.

    line 70
  13. Distinctive:

    Keep the iOS and Android apps on comparable minimum OS versions, and the web apps on the same React and Vite majors.

    line 71

“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Update dependencies

Goal: every app on the latest stable versions, without breaking anything. Stable means a final release: no alpha, beta, RC, preview, snapshot or nightly.

What is automatic

.github/dependabot.yml opens pull requests every week (monthly for the website and GitHub Actions):

  • Patch and minor updates are grouped per app, wait 5 days after release (7 for Android), and merge on their own once every required check is green (dependabot-auto-merge.yml).
  • Security updates are grouped per app and opened as soon as an advisory appears.
  • Major updates come one per pull request and wait for a person: follow section 3.

So most of the time there is nothing to do. This skill is for what the bot cannot do.

1. See what is out of date

AppCommand (from the app's folder)
Web app, back office, websitenpm outdated
Backenddotnet list package --outdated
AndroidOpen the Dependabot pull requests, or check each version in gradle/libs.versions.toml on Google Maven and Maven Central
iOSNo third-party packages yet. Check Xcode, SwiftLint, XcodeGen and Maestro versions
WorkflowsAction tags in .github/workflows/*.yml

Toolchains are not covered by Dependabot. Check them each quarter:

ToolchainWhere it is set
Nodenode-version in workflows, README
.NET SDKdotnet-version in workflows, TargetFramework in .csproj
JDKjava-version in workflows
Gradle wrapperapps/android/gradle/wrapper/gradle-wrapper.properties
Android Gradle Plugin, compile and target SDKlibs.versions.toml, app/build.gradle.kts (Google raises the required target SDK every year)
Xcode and iOS deployment targetruns-on: macos-* in workflows, apps/ios/project.yml

2. Patch and minor updates by hand

When a grouped Dependabot pull request fails, or you update outside the bot:

  1. One app per branch: chore/deps-<app>.
  2. Update: npm update (npm), edit versions (NuGet .csproj, Gradle libs.versions.toml).
  3. Run the app's checks (make ci, npm run lint && npm test, dotnet test).
  4. If a check fails, find the one package that caused it, pin it to its previous version with a comment, and open an issue for it. Do not hold back the rest.

3. Major updates

One major update per pull request:

  1. Read the release notes and migration guide end to end. Note breaking changes that touch this repo.
  2. Check the platform skill first: Android has agp-9-upgrade for the Android Gradle Plugin; the web skills cover React and Vite.
  3. Make the change, then fix every compiler warning (warnings are errors in this repo).
  4. Run the full checks for every app that uses it; for shared things (design tokens, backend API) run the apps that depend on them too.
  5. If the upgrade changes how the system is built (a new framework, minimum OS version, a new build tool), write an ADR (architecture-decisions).
  6. Update versions mentioned in READMEs and tutorials.

4. After every update

  • node scripts/security-audit.mjs: no new findings.
  • All required checks green, including Dependency review.
  • Commit messages: chore(deps): <app> <package> <old> → <new>.

Rules

  • Never pin to an old version without a comment and an issue explaining why.
  • Never mix a dependency update with feature work in one pull request.
  • Keep the iOS and Android apps on comparable minimum OS versions, and the web apps on the same React and Vite majors.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.