Workflow Documentation

Write a Migration Guide

Workflow for writing a guide to migrate between versions

documentationmigrationupgrade
CLAUDE.md

When writing a migration guide:

  1. State what version you’re migrating from and to.
  2. List all breaking changes with before/after code examples.
  3. Order changes by impact: things that will cause build failures first, then runtime changes, then deprecation warnings.
  4. Provide find-and-replace patterns or codemods where possible.
  5. Note any new required configuration or environment variables.
  6. Note any database migrations that need to run.
  7. Include a testing checklist: what to verify after migrating.

Copy this workflow into your CLAUDE.md or agent config file so your agent follows this process automatically.

get crystl