update-all
/update-all
Update all packages to latest across all projects defined in ~/.zshrc pupa(). Handles breaking changes, fixes build failures, and commits per project. Smarter version of the pupa() shell function. Use when you want to bulk-update dependencies.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Update all packages to latest across all projects defined in ~/.zshrc pupa(). Handles breaking changes, fixes build failures, and commits per project. Smarter version of the pupa() shell function. Use when you want to bulk-update dependencies.
Original author description
Update all packages to latest across all projects defined in ~/.zshrc pupa(). Handles breaking changes, fixes build failures, and commits per project. Smarter version of the pupa() shell function. Use when you want to bulk-update dependencies.
How it works
- Context
- Process
- Rules
SKILL.md preview
---
name: update-all
description: Update all packages to latest across all projects defined in ~/.zshrc pupa(). Handles breaking changes, fixes build failures, and commits per project. Smarter version of the pupa() shell function. Use when you want to bulk-update dependencies.
allowed-tools: Bash(*), Read, Edit, Write, Glob, Grep, Agent
---
# Update All
Update all dependencies to their latest versions across every project, fix breakages, and commit.
## Context
- Projects list: !grep -A20 'pupa()' ~/.zshrc | grep -oP '(?<= )[\w/\-]+'
- Projects root: ~/Documents/Projects
## Process
### Phase 1: Update
For each project (resolve as `~/Documents/Projects/{project}`), in parallel where possible:
1. Run `pnpm up --latest -r` to update all deps to latest major versions
2. Run `pnpm install`
### Phase 1b: Expo apps — undo what `--latest` should not have touched
Any package.json containing `"expo"` is **SDK-pinned**: Expo dictates the version of
`react`, `react-dom`, `react-native`, and every `react-native-*` native module. `pnpm up
--latest` does not know this and will happily push them past the SDK, which breaks the
app in ways that do not show up in `pnpm build`.
For each Expo app: `cd <expo-app> && npx expo install --check`, then pin every package it
lists back to the expected version. Re-run until it prints `Dependencies are up to date`.
Keep Expo's React out of the shared catalog — it legitimately diverges from web's. Put it
in a named `expo:` catalog (see `init`, `yours-sincerely`) so it is separately bumpable.
Expo repos guard the SDK-only names (`expo`, `expo-*`, `@expo/*`, `react-native`,
`react-native-*`, `@react-native/*`) with `update.ignoreDeps` in `pnpm-workspace.yaml`
(pnpm ≥ 11.16; `updateConfig.ignoreDependencies` is the deprecated alias). It matches by
name, globs and `!` negation work, and naming a package on the command line bypasses it.
If an Expo repo lacks the block, add it.
`--latest` still bumps the `expo:` catalog rows (`react`, `react-dom`, `typescript`,
`@types/react`): they share a name with web's, so `ignoreDeps` cannot guard them without
freezing web. Revert those rows by hand. When web's `@types/react`
moves ahead of Expo's, give the `expo:` catalog its own `@types/react` row and point the
Expo app at `catalog:expo`.
### Phase 1c: Pins `--latest` must not move
`--latest` follows the npm `latest` dist-tag, not the repo's intent. Before verifying,
`git diff -- '**/package.json' pnpm-workspace.yaml` and undo any of these:
- **Prerelease pins** (`drizzle-orm`/`drizzle-kit` `1.0.0-rc.x`, `@orpc/*` betas, nativewind
previews): when `latest` is older than the pin, `--latest` is a downgrade. Restore the
exact version — no caret, a caret on an rc resolves to hash-suffixed snapshot builds.
- **Exact or tilde pins with a WHY comment** in `pnpm-workspace.yaml` / `CLAUDE.md`: the
comment is the contract. Leave them.
- **`minimumReleaseAgeExclude`** that pnpm wrote on its own to get a too-fresh release
past `minimumReleaseAge`: remove it and resolve to the previous version instead.
- **Peer- and engine-capped majors**: don't take `@types/node` past the `engines` major,
or one half of a lockstep pair (`@babel/types` 8 with `@babel/parser` 7, `react` past a
peer's `<19.3` cap, `vitest` past `@cloudflare/vitest-pool-workers`' peer).
### Phase 2: Verify & Fix
For each project, spawn a parallel agent that:
1. Runs the repo's own gate: `pnpm verify` if it exists, else `pnpm typecheck && pnpm lint && pnpm build`.
**`pnpm build` alone is not enough** — it typically skips tests and does not typecheck
sibling packages (mobile, shared UI), so real breakage hides behind a green build.
2. If it fails, reads the error and fixes it:
- **TS errors**: Fix the actual issue (no `ignoreDeprecations`, no `as any`, no `!` assertions)
- **Missing exports**: Replace removed APIs with alternatives (e.g., brand icons removed from lucide-react v1)
- **Config changes**: Update configs for new major versions (e.g., vite 8 rolldown migration)
- **Auto-generated files**: Fix the source/generator, not the output
- **Fixture drift**: a seeded-random bump (faker et al.) shifts generated data. Update the
expected values and any docs quoting them — the test is still testing the right thing.
3. Re-runs the gate after each fix
4. Loops until the gate passes or gives up after 5 attempts
Report any project that couldn't be fixed.
### Phase 3: Commit
For each project that has changes:
```
git add -u && git commit -m "chore: update packages"
```
Use `git add -u` (tracked files only) — NOT `-A`. Updates only touch tracked files (package.json, lockfile, fixed source). `-A` would sweep in unrelated WIP (untracked drafts, scratch files, AGENTS.md, etc.) into the chore commit. If a bump genuinely creates a new tracked artifact, stage it explicitly by path.
Do NOT push unless the user explicitly asks.
### Phase 4: Summary
```
Update Complete
---------------
Projects updated: N/N
Fixes needed:
- project: description of fix
- ...
Pinned back (follow-up work, not done):
- project: package, why adapting is a rewrite
Failed (needs manual intervention):
- project: error summary
```
## Rules
- Use `pnpm up --latest -r` not `taze` — taze misses major version bumps
- Fix root causes, not symptoms. No `ignoreDeprecations`, no type assertions to silence errors.
- **A major that is really a rewrite is not a chore.** If adapting to it means reworking a
feature (e.g. `@tanstack/react-table` v8→v9 rewrites the table API), pin that package back
to the previous major, keep every other update, and report it as follow-up work. Do not
rewrite a feature inside a `chore: update packages` commit, and do not reach for a
compatibility shim (`/legacy` entrypoints) to dodge the decision.
- **A bump that needs a database change is not a chore either.** The auth schemas are
hand-maintained, so a `better-auth` release that adds or drops a required column fails
the `auth-tables` drift test — and would fail every insert in production. Pin
`better-auth` and every `@better-auth/*` to the last compatible version (add a
`@better-auth/core` override if a second core instance appears), and report the schema
migration as follow-up. Never fold an ORM/migration-tool upgrade (drizzle) into this sweep.
- Never run a remote `db:push` as part of an update. drizzle-kit 1.0 `push` applies table
recreates without prompting, and on D1 a recreate cascade-deletes child rows.
- For auto-generated files (content-data.ts, etc.), fix the generator input, then regenerate.
- If a build was already broken BEFORE the update (check with `git stash && pnpm build && git stash pop`), skip that failure — it's not our problem.
- Commit per project, not one big commit.
- Do NOT push unless asked.
Versions
The database has no other skills named update-all.
Database snapshot: 13.11.2026 · package version af83a286d9d9 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100sync-conventions
Audit and fix convention drift across all projects defined in ~/.zshrc pupa(). Checks tooling choice (oxlint/oxfmt vs eslint/prettier), oxlint type-safety rules, script consistency, tsconfig, stale config references, database tooling (drizzle push scripts + .env.production.local… - 100deps-update
Update Python dependencies to latest versions using uv, regenerate lock and requirements.txt, then verify linting and tests pass. Fix breakage from API changes in bumped packages. Use when the user says "deps update", "bump dependencies", or "update deps". - 100update-harness-dependencies
Update the primary SDK dependencies of harness packages. Use when asked to update the harness SDKs or harness adapter dependencies. - 100dependency-updater
Audit project dependencies for outdated packages, security vulnerabilities, and breaking changes. Use when someone asks to "check for outdated packages", "audit dependencies", "find vulnerable dependencies", "plan dependency upgrades", "detect breaking changes", or "update npm… - 100deps-upgrade
Upgrade dependencies with breaking change detection and migration planning. Use when asked to "upgrade dependencies", "update packages", "bump dependencies", "bump <package> to <version>", "update <package> to version <version>", "handle dependabot PR", "handle renovate PR",… - 100update-harness-dependencies
Update the primary SDK dependencies of harness packages. Use when asked to update the harness SDKs or harness adapter dependencies.