Skip to content
Back to skills

Ape Upgrade

ASecurity

Upgrade a product to a new BuffCore release and handle its upgrade notes.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
developmentgit

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 3, 2026

npx -y skills add BuffApe/BuffApe --skill ape-upgrade --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ape Upgrade?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ape Upgrade
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/buffape-ape-upgrade/badge)](https://www.skillsdirectory.com/skills/buffape-ape-upgrade)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ape-upgrade
description: "Upgrade a product to a new BuffCore release and handle its upgrade notes."
---

# Upgrade BuffCore in a product

1. Stop `ape dev` first (`pnpm stop`): the upgrade refuses while it runs. Then run `pnpm ape upgrade --to <version>` (development only; for example `0.6.0` or `v0.6.0`). It sets the version in every `@buffcore/*` range and in the `buffcore` pin, installs, replaces BuffCore's skills (`.claude/skills/ape-*`) with the release's, refreshes their list in `AGENTS.md` and names those that changed, prints the upgrade notes for every release crossed (read by the release it installed), runs `pnpm ape migrate` (BuffCore's migrations first) and `pnpm test`. Before migrating, it runs `pnpm services:up` when the product has that script. It refuses a downgrade, puts your files and lockfile back and reinstalls them (`pnpm install --frozen-lockfile`) if the install fails (usually because the release isn't published yet), and keeps the links from `pnpm ape link`. The next `pnpm ape dev` starts the app with Expo's cache cleared once, so it runs the new release.
2. Skills named `ape-*` are BuffCore's: never edit them in the product, since the next upgrade replaces them (ask BuffCore for a change with the ape-request skill). Put the product's own steps in a skill with another name; the upgrade leaves those alone. Read the skills it says changed before you build on them.
3. Work through the notes it printed, oldest release first. Each group names its feature, and it already left out the features the product hasn't turned on (it lists them at the end: read those when you turn the feature on later). A failing test usually points at a note. If the migration or the tests fail, the upgrade stands: fix the cause, then rerun `pnpm ape migrate` and `pnpm test`.
4. Run `pnpm verify`, and summarize what changed in the pull request.
5. A product made from a published release isn't linked: nothing to do. One linked to the source (`pnpm ape link`) commits a change to `package.json` as `APE_ALLOW_LINKED=1 git commit …` only until a release is published; once one is, run `pnpm ape unlink` before committing: linked state is never committed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.