Skip to content
Back to skills

Upgrade Guide

ASecurity

Use when a change breaks an externally perceptible surface (CLI commands or flags, configuration or settings keys, persisted user data, SDK, HTTP, or wire APIs, published package names or entry points), or when changing a surface that an unreleased upgrade guide already covers, to write or update docs/upgrade-guide/v<version>/<item>/guide.md.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 13, 2026
ai-agentsgoapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 13, 2026

npx -y skills add zehuichan/vibe-harness --skill upgrade-guide --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Upgrade Guide?

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

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

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: upgrade-guide
description: Use when a change breaks an externally perceptible surface (CLI commands or flags, configuration or settings keys, persisted user data, SDK, HTTP, or wire APIs, published package names or entry points), or when changing a surface that an unreleased upgrade guide already covers, to write or update docs/upgrade-guide/v<version>/<item>/guide.md.
---

# Upgrade guides

An upgrade guide tells a reader who runs release vT what to change to run the next release. Write it in the change that introduces the break, as soon as the break is recognized; do not defer it to release preparation. This applies when the profile enables `surfaces.public-api`.

## Scope

Write a guide only for breaks that someone outside the repository can observe after upgrading:

- commands, flags, and profile or mode names;
- configuration, settings, and environment keys or their accepted values;
- persisted user data: databases, logs, caches, and user data directories;
- SDK exports, HTTP, RPC, and other wire messages;
- published package names and entry points.

Internal APIs whose consumers are all updated in the same change need no guide. When the project keeps a separate record for a persisted-format change (a format-change acknowledgement or a migration record), the guide states only the reader's actions and links that record; when it keeps none, the guide itself is the reader-visible migration.

## Location

`docs/upgrade-guide/v<version>/<item>/guide.md`

- `<version>` is the exact version string in the project's package manifest or version file at the time you write the guide, even if that version was bumped before its release or carries a pre-release suffix. The guide describes the upgrade from that version to the next one.
- `<item>` is a kebab-case name for the changed surface, for example `config-key-rename`.
- Each item directory holds exactly `guide.md`, plus its translated counterpart when the profile enables `surfaces.bilingual-docs`; no index and no attachments.

## Maintenance

While the version is unchanged, the current version directory describes the delta from vT to the current default branch. When a later change touches a surface a guide there covers, update that guide in the same change; delete the guide when the break is reverted. After the version bump, guides in older version directories are frozen, and a new break goes into the new version directory. When a release lands while your pull request is open, move its guides to the new version directory: a guide added under a released version's directory is misplaced unless that version's release branch or tag already contains it. Never write a guide spanning more than one release.

## Format

Start from [the template](references/template.md):

- frontmatter with exactly `kind: upgrade-guide` and a one-sentence `description` naming what breaks; add a key only together with a check that rejects a guide missing it, then backfill every existing guide;
- one `#` title, then exactly `## Change` and `## Migration`, in that order, with the translated counterpart using the same two sections in its language;
- at most 500 words in `guide.md`, frontmatter included.

`Change` states the old and new behavior of the surface and who is affected. `Migration` lists ordered steps that name exact files, keys, commands, or symbols, and states how to confirm the migration worked.

When a guide needs more than 500 words, the extra text belongs elsewhere: link source files instead of restating code, move rationale into an Agent Note (see [agent-notes](../agent-notes/SKILL.md)), and turn repeated mechanical steps into a script or command the guide invokes. Follow [prose-standard](../prose-standard/SKILL.md). When the profile enables `surfaces.bilingual-docs`, write the counterpart in the same change under the project's translation rules and re-record the pair when the project tracks it.

## Verify

- Run every command in the Migration section against a checkout of release vT upgraded to the change, or state which step could not be exercised and why.
- Count words (`wc -w docs/upgrade-guide/v<version>/<item>/guide.md`) and confirm the section order.
- Run the profile's `commands.docs-check` and confirm relative links resolve.

Files in this skill

  • SKILL.md4.2 KB
  • references/template.md636 B

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 ai-agents →

Comments

Loading comments…

Newsletter

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