astro-v6-upgrade
Installation
SKILL.md
Astro v6 Upgrade Guide
This skill is based on the final Astro v6 upgrade guide and the Cloudflare adapter v13 migration.
Quick Start
- Check Node version: Astro v6 requires Node
22.12.0or higher. Check withnode -v, and update.nvmrc/ deployment config if needed. Ensure that you include CI workflows in this update if applicable. - Upgrade Astro and official integrations together:
npx @astrojs/upgrade # npm pnpm dlx @astrojs/upgrade # pnpm yarn dlx @astrojs/upgrade # yarn - Check for legacy content collections (see below). v5 supported legacy collections via backwards-compat even without the flag. v6 removes that entirely.
- If deploying to Cloudflare: the
@astrojs/cloudflarev13 upgrade has significant changes. Load cloudflare.md. - Fix any errors using this guide.