version-migration-guide

Writes and audits migration guides for breaking changes across libraries, SDKs, APIs, and schemas.

2|Updated Sep 6, 2026
One-click install
npx skills add https://github.com/samber/developer-relations-skills --skill version-migration-guide-samber
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: version-migration-guide
Source: https://github.com/samber/developer-relations-skills/tree/main/skills/version-migration-guide
Command: npx skills add https://github.com/samber/developer-relations-skills --skill version-migration-guide-samber

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Major version upgrades fail when the migration guide is a renamed changelog: readers cannot tell whether a change affects them, cannot see what to type, and flood support with tickets. This Skill produces a migration guide that carries a working project from version N to N+1 with detection signals, before/after code, and a verified upgrade path. ## Core Features & Use Cases - Breaking-change inventory and ordering: Builds the change inventory from the tag-to-tag API diff, deprecation warnings, and support tickets, then orders entries by blast radius rather than alphabetically. - Six-part entry format: Every breaking change gets a verb-prefixed heading with stable anchor, an affected-if detection signal, a three-sentence rationale, before/after code, a fix, and an explicit escape hatch. - Path shape and automation decisions: Chooses between staged, single-hop, compat-build, and sequential-bridge paths, and ranks automation rungs from search patterns up to codemods and compat builds by reader hours saved per engineering hour. - Use Case: Your team is shipping v3 of an SDK with 14 breaking changes and no codemod. The Skill interviews you on the version pair, audience, and telemetry, then produces the inventory table, the recommended staged path via a warnings-only interim release, and the full guide draft verified by a cold upgrade run. ## Quick Start Ask the assistant to write the migration guide for your upcoming major version release, naming the version pair, the breaking changes, and your audience.

Frequently Asked Questions about version-migration-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a migration guide for a major version release?

Inventory every breaking change from the tag-to-tag API diff rather than the changelog, order entries by blast radius, and give each change a detection signal, before/after code, a fix, and an escape hatch. Verify the guide by running a cold upgrade of a real project using only the document.

What is the difference between a changelog and a migration guide?

A changelog records what shipped in a release; a migration guide tells the reader what they must now do, in the order they must do it. Any sentence that does not change what the reader types is overhead and belongs in the changelog or a blog post.

When should I build a codemod instead of writing manual migration steps?

Build a codemod when the blast radius crosses hundreds of call sites per consumer or consumers cannot hold a long-lived migration branch. Otherwise ship search patterns and literal error messages first, since they cost near-zero and serve both humans and coding agents.

Should I write a migration guide for internal services in a monorepo?

No. Under the Churn Rule from Software Engineering at Google, when you control all consumers you should perform the migration yourself with a codemod plus a short note. A guide is the right deliverable only when consumers are genuinely other people's codebases.

How do I handle a hosted API version cutover differently from a library upgrade?

A hosted API guide must add per-request version pinning with a full example request, a surface matrix across SDKs and webhooks, a data-layer impact section, and an ordered cutover-and-rollback procedure. Webhooks need their own section because consumers cannot pin inbound requests.

How do I verify a migration guide is correct before publishing?

Run a cold upgrade: have someone who did not write the guide upgrade a real project using only the document. Publish the measured elapsed time as the effort estimate, check completeness against the API diff, and confirm the codemod's residue is named.