Skip to content
Skills Library
Programming · Writing

pg-create-upgrade-guide

/pg-create-upgrade-guide

Use when a change breaks an externally perceptible CLI, data format, configuration or stored data, or published package entry point, or changes a surface already covered by an unreleased upgrade guide.

Licence
MIT
Last repository change
09.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when a change breaks an externally perceptible CLI, data format, configuration or stored data, or published package entry point, or changes a surface already covered by an unreleased upgrade guide.

Original author description

Use when a change breaks an externally perceptible CLI, data format, configuration or stored data, or published package entry point, or changes a surface already covered by an unreleased upgrade guide.

How it works

  1. Scope
  2. Location
  3. Maintenance
  4. Format
  5. Verify
Original SKILL.md headings · 49 lines, 485 words
SKILL.md preview
---
name: pg-create-upgrade-guide
description: Use when a change breaks an externally perceptible CLI, data format, configuration or stored data, or published package entry point, or changes a surface already covered by an unreleased upgrade guide.
---

# Create an upgrade guide

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.

## Scope

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

- application commands, flags, accepted values, or output paths;
- configuration or stored data that requires reader action to remain usable;
- published package names, entry points, exported functions, types, or accepted data fields.

Pre-stable internal APIs whose consumers are all updated in the same change need no guide. Keep the owning contract and any active decision record current; a guide states the reader's migration actions and links those owners rather than replacing them. Do not create a guide merely to populate this directory or describe the initial template import.

## Location

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

- `<version>` is the `version` field of the root `package.json` when you write the guide, for example `v0.2.1-rc.2`. The guide describes the upgrade from that release to the next one.
- `<item>` is a kebab-case name of the changed surface, for example `output-flag-rename`.
- Each item directory holds exactly `guide.md`, its Chinese counterpart `guide.zh.md`, and the pairing record `guide.i18n.yaml`: no index, no attachments.

## Maintenance

While the root version is unchanged, the current version directory describes the delta from vT to the current development 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; a new break goes into the new version directory. Never write a guide spanning more than one release.

## Format

Start from the [upgrade-guide template](../pg-doc/templates/upgrade-guide.md). Write a one-sentence description naming what breaks. `verify-upgrade-guides` checks:

- frontmatter with exactly `kind: upgrade-guide` and a non-empty `description`; add a key only together with its check, then backfill every guide;
- one `#` title, then exactly the `## Change` and `## Migration` sections in `guide.md`, and `## 变更` and `## 迁移` in `guide.zh.md`, in that order;
- 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 or symbols instead of restating code, move rationale into an [Agent Note](../../notes/README.md), and turn repeated mechanical steps into a script or generator command that the guide invokes.

Follow [pg-prose-standard](../pg-prose-standard/SKILL.md). Write the Chinese counterpart in the same change under the [bilingual pairing rules](../../../docs/AGENTS.md), then record the pair with `pnpm run verify-translation-pairing --write docs/upgrade-guide/v<version>/<item>/guide.md`.

## Verify

```sh
pnpm run verify-upgrade-guides
pnpm run verify-translation-pairing docs/upgrade-guide/v<version>/<item>/guide.md
pnpm run verify-md-links
```

Versions

The database has no other skills named pg-create-upgrade-guide.

Database snapshot: 13.11.2026 · package version b02654f78065 (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

  • 100dsh-create-upgrade-guide
    Use when a deepseek-harness change breaks an externally perceptible surface (CLI, profiles, cordis.yml or settings keys, persisted user data, SDK or wire APIs, published package entry points), or when changing a surface that an unreleased upgrade guide already covers, to write…
  • 100dsh-create-upgrade-guide
    Use when a deepseek-harness change breaks an externally perceptible surface (CLI, profiles, cordis.yml or settings keys, persisted user data, SDK or wire APIs, published package entry points), or when changing a surface that an unreleased upgrade guide already covers, to write…
  • 90rspress-v2-upgrade
    Migrate Rspress projects from v1 to v2. Use when a user asks to upgrade Rspress, follow the v1-to-v2 guide, update configs/themes, or validate the upgrade.
  • 100package-upgrade
    [Code Quality] Use when analyzing npm package upgrades, outdated dependencies or breaking changes and preparing a phased upgrade plan.
  • 100package-upgrade
    [Code Quality] Use when analyzing npm package upgrades, outdated dependencies or breaking changes and preparing a phased upgrade plan.
  • 100ss-upgrade
    Upgrade deps/frameworks with breaking change analysis. Triggers on upgrade/update/migrate/modernize intent.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.