Skip to content
AI & Agents
Skill

/deps-update

Upgrade every dependency of a Bun repo to latest with `bun update --recursive --latest` in an isolated git worktree, research what each upgrade breaks, adapt the code until the checks pass, and open a PR in a fixed format. Use when asked to update or bump all deps to latest in a

From plugin
skills
65590 skills1 command

Claude Code

$ npx -y skills add pedronauck/skills --skill deps-update --agent claude-code

SKILL.md

deps-update.SKILL.md
name: deps-update
description: Upgrade every dependency of a Bun repo to latest with `bun update --recursive --latest` in an isolated git worktree, research what each upgrade breaks, adapt the code until the checks pass, and open a PR in a fixed format. Use when asked to update or bump all deps to latest in a Bun project; not for a single-package upgrade or other package managers.

Deps update

The upgrade runs in its own worktree and branch, never in the user's checkout. Stop and say so if the repo has no `bun.lock`/`bun.lockb`.

1. Worktree

Fetch, then create a branch `chore/deps-latest-<YYYY-MM-DD>` from the up-to-date default branch in a new worktree. Use the harness worktree tool when there is one (CompozyOS `compozy__worktree_create`, Claude Code `EnterWorktree`); otherwise `git worktree add ../<repo>-deps-<date> -b <branch> origin/<default>`. Every later step runs inside it.

2. Baseline

Find the project's real checks (typecheck, lint, test, build) from `package.json` scripts and the CI workflow. Run `bun install` and those checks once before upgrading and record failures: they are pre-existing, not caused by the upgrade.

3. Upgrade

bun update --recursive --latest

Build the change list from `git diff -- '**/package.json'`: package, workspace, old → new, and bump type. Treat a major bump, and a minor bump of a `0.x` package, as breaking.

4. Research what breaks

For every breaking bump, read the release notes or migration guide for the exact range crossed (not only the newest version):

  • `npx ctx7@latest library <name> "migration <old> to <new>"` then `npx ctx7@latest docs <id> "<topic>"` (the `context7`/`find-docs` skill);
  • fallback: `gh release list/view -R <owner>/<repo>` or the repo's CHANGELOG; Exa/Firecrawl only when those miss.

Then grep the codebase for each removed or changed API, config key, peer dependency, or runtime/Node requirement. Classify each package as **needs adaptation** (our usage is affected) or **no change needed** (with the reason). Patch/minor bumps get researched only when a check fails because of them.

5. Adapt and verify

Fix the code at the call sites, following the migration guide and existing repo patterns. Run the checks again and repeat until they match or beat the baseline. Never silence the failure (`@ts-ignore`, skipped or weakened tests, loosened lint rules). If one upgrade can't be done in this PR, pin only that package to its previous version and record why under **Held back**.

When the repo has an app, start it and exercise what the breaking upgrades touch; checks alone don't cover runtime behavior.

6. Commit and PR

Commit with the repo's commit convention: first `chore(deps): update all dependencies to latest` (package.json files + lockfile only), then one commit per adaptation (`fix(deps): adapt to <pkg> v<N>`). Push the branch and open the PR against the default branch with `gh pr create --body-file`. Write the PR in the language of the repo's recent PRs (English by default). Omit sections that would be empty.

Title: `chore(deps): update all dependencies to latest (<YYYY-MM-DD>)`

## Summary
<N> packages updated across <M> workspaces (<X> breaking). <One sentence on adaptations and check status.>

## Updated packages
| Package | Workspace | From | To | Bump |
|---|---|---|---|---|
<breaking bumps first, then minor, then patch>

## Breaking changes and adaptations
### <pkg> <old> → <new>
- **What changed:** <the change that hit us> ([release notes / migration guide](<url>))
- **Impact here:** <files or features affected>
- **Done:** <what was changed>

## Reviewed, no change needed
- **<pkg> <old> → <new>:** <breaking change and why our usage isn't affected>

## Held back
- **<pkg>** kept at <version>: <reason and what unblocks it>

## Validation
| Check | Before | After |
|---|---|---|
| `<command>` | <pass / N failures> | <pass / N failures> |

<Pre-existing failures, and what was exercised in the running app.>

## Risks and follow-ups
- <runtime behavior the checks don't cover, deprecations to address later>

Report to the user the PR URL, the worktree path, and any held-back package.

Read more
@pedronauck
Ships withskills

A curated collection of 89 agent skills for Claude Code and compatible AI coding assistants — 43 original (⭐️), 33 hand-picked (💎), and 13 marketing & business (📣).

Stars on GitHub

Momentum

stars in total
655
Star history of pedronauck/skills on GitHub, a chart by star-history.com

Other skills on skills.

agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@pedronauck@pedronauckInstall Skill
ai-sdk

ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like…

@pedronauck@pedronauckInstall Skill
autoresearch

autoresearch

Autonomously optimize any Claude Code skill by running it repeatedly, scoring outputs against binary evals, mutating the prompt,…

@pedronauck@pedronauckInstall Skill
centrifugo

centrifugo

Centrifugo real-time messaging server expert for WebSocket PUB/SUB, channel management, JWT authentication, event proxying, and…

@pedronauck@pedronauckInstall Skill
context7

context7

Retrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the…

@pedronauck@pedronauckInstall Skill
documentation-writer

documentation-writer

Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by…

@pedronauck@pedronauckInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about deps-update.

Which coding agents can use deps-update?
deps-update installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.