← 返回 Skills 市场
608
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install next-upgrade
功能描述
Upgrade Next.js to the latest version following official migration guides and codemods
安全使用建议
This skill is coherent for upgrading Next.js. Before running it: (1) run it in a clean git branch and fully commit or stash changes so you can review/undo edits; (2) review or pin the specific codemod transforms and versions instead of blindly running @latest; (3) inspect codemod output and run your test/build steps locally or in CI; (4) backup or ensure CI/tests are green before merging; (5) if you want stricter control, run the listed WebFetch URLs and codemods manually rather than letting an automated agent execute npx. If the SKILL.md later adds unknown network endpoints or requests credentials, stop and reassess.
功能分析
Type: OpenClaw Skill
Name: next-upgrade
Version: 0.1.0
The skill's instructions in SKILL.md outline a standard process for upgrading a Next.js project, including reading `package.json`, fetching official documentation from nextjs.org, running official `@next/codemod` commands, and using `npm install` for dependency updates. While these actions involve powerful capabilities like shell command execution and network requests, they are all directly aligned with the stated purpose of upgrading a project. There is no evidence of malicious intent such as data exfiltration, unauthorized remote control, persistence, or deceptive prompt injection against the agent. The URLs accessed are legitimate Next.js documentation sites.
能力评估
Purpose & Capability
Name/description match the actions in SKILL.md: reading package.json, consulting official Next.js upgrade docs, running codemods, updating dependencies, and testing are all expected for a Next.js upgrade helper.
Instruction Scope
Instructions stay within the upgrade task (reading package.json, next.config.js, applying codemods, updating deps, running build/dev). Notable: it instructs fetching docs from nextjs.org (expected) and running npx to execute codemods, which will read and modify project files — expected for the task but grants filesystem write capability to the codemod code.
Install Mechanism
There is no static install spec (instruction-only). However, the runtime instructions call npx @next/codemod@latest which downloads and executes code from the npm registry at runtime. This is a common pattern for codemods but carries the usual risk of executing third-party package code; pinning transforms/versions or reviewing the codemod before running reduces risk.
Credentials
The skill declares no required env vars, credentials, or config paths. The files it reads/writes (package.json, next.config.js, project files) are proportional to its purpose and are explicitly mentioned in the instructions.
Persistence & Privilege
The skill is not always-on and requests no elevated platform privileges. It does instruct commands that modify the project (npx codemods, npm install), which is appropriate for an upgrade tool but means it will change local repository state when invoked.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install next-upgrade - 安装完成后,直接呼叫该 Skill 的名称或使用
/next-upgrade触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of next-upgrade skill.
- Automates upgrading Next.js projects to the latest version following official migration guides.
- Detects current Next.js and related dependency versions.
- Fetches relevant migration documentation and codemods from nextjs.org.
- Guides through codemod usage, dependency updates, and required manual changes.
- Includes steps for updating TypeScript types and verifying the upgrade.
元数据
常见问题
Next Upgrade 是什么?
Upgrade Next.js to the latest version following official migration guides and codemods. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 608 次。
如何安装 Next Upgrade?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install next-upgrade」即可一键安装,无需额外配置。
Next Upgrade 是免费的吗?
是的,Next Upgrade 完全免费(开源免费),可自由下载、安装和使用。
Next Upgrade 支持哪些平台?
Next Upgrade 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Next Upgrade?
由 vi.dev(@tuanvidev)开发并维护,当前版本 v0.1.0。
推荐 Skills