协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
nextjs-upgrade【开发与工程】Next.js version migrations using official guides and codemods. Use when migrating a Next.js project to a new major version using codemods.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Automated and manual migration steps for Next.js version upgrades (e.g., v14 to v15).
next, react, react-dom in package.jsonnpx @next/codemod@latest <transform> <path>cookies(), headers(), params awaited (v15+)fetch caching: v15 defaults to no-store; add force-cache where needednext build and fix hydration or Turbopack errorspackage.json for versions of next, react, and react-dom.npx @next/codemod@latest <transform> <path> to automate syntax migration.next-async-request-api transform by ensuring params, searchParams, cookies(), and headers() awaited.react and react-dom to match Next.js peer dependencies (e.g., React 19 for Next.js 15).next dev and next build after each incremental step. Check console errors for hydration warnings.npx @next/codemod@latest transforms first.no-store; audit all fetch calls.export default async function Page() fatal.When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant: