1---2name: neverinfamous-memory-journal-mcp-next-upgrade3description: Upgrade Next.js4---56# Upgrade Next.js78Upgrade the current project to a targeted Next.js version following official migration guides.910## Instructions11121. **Detect current environment**:13 - Read `package.json` to identify the current Next.js version, React version, and package manager (`npm`, `pnpm`, `yarn`).14 - Read the lockfile to ensure you use the correct package manager.15162. **Determine target version**:17 - Do NOT blindly use `@latest`. Always determine the explicit target version (e.g., `15.0.0`) based on user request or current LTS.18 - For major version jumps, upgrade incrementally (e.g., 13 → 14 → 15).19203. **Consult Upgrade Decision Tree**:21 - Read [references/decision-tree.md](references/decision-tree.md) to find the correct codemods and checklists for your target version.22234. **Security Gate**:24 - You MUST request explicit user confirmation before running any codemod that modifies source files.25265. **Run codemods FIRST (before installing new versions)**:27 - Next.js codemods should often be run against the _old_ codebase before upgrading to automate breaking changes.28 - Example: `npx @next/codemod@<target-version> <transform> <path>`29306. **Pin dependencies**:31 - Upgrade Next.js and peer dependencies to the specific target version:32 - Example: `pnpm install next@15.0.0 react@19.0.0 react-dom@19.0.0`33347. **Review Diff**:35 - After running codemods and installing new dependencies, you MUST run `git diff` or review the changes.36 - Do NOT commit or ship without explicit user review of the codemod changes.37388. **Test the upgrade**:39 - Run `npm run build` (or equivalent) to check for build errors.40 - If there are errors in `next.config.js` or routing, resolve them manually.4142---43> Source: [neverinfamous/memory-journal-mcp](https://github.com/neverinfamous/memory-journal-mcp) — distributed by [TomeVault](https://tomevault.io).44<!-- tomevault:4.0:skill_md:2026-06-15 -->
Run npx skillmds@latest add tomevault-io/neverinfamous-memory-journal-mcp-next-upgrade in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Upgrade Next.js It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.