← 返回 Skills 市场
1095
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install react-modernization
功能描述
Upgrade React apps by migrating class components to hooks, adopting React 18/19 concurrent features, running codemods, and adding TypeScript types.
安全使用建议
This skill is documentation-only and does not bundle code or request credentials, so its immediate footprint is small. Two practical cautions: (1) The guide mentions automated codemods but does not include them — if you or the agent fetches codemods from third-party URLs, review those scripts before running them (run on a branch/backup, inspect the code, and prefer official repo releases). (2) README contains example npx commands (one referencing a raw GitHub tree URL) that look nonstandard — treat any npx/add/download commands as potentially executing external code and verify the source before running. Otherwise, the skill appears coherent with its stated purpose.
功能分析
Type: OpenClaw Skill
Name: react-modernization
Version: 1.0.0
The `SKILL.md` file, which contains instructions for the AI agent, is benign and focuses solely on React modernization tasks, using standard development tools like `npx codemod` and `rg`. However, the `README.md` file includes an installation instruction `npx add https://github.com/wpank/ai/tree/main/skills/frontend/react-modernization`. This `npx add` command is non-standard and, if interpreted as a mechanism for executing arbitrary code from a remote URL, represents a supply chain vulnerability during installation. While not directly malicious in its intent to steal data or create backdoors, it introduces a risky capability in the installation process, classifying the bundle as suspicious.
能力评估
Purpose & Capability
The skill claims to provide guidance for migrating React apps and the SKILL.md contains migration patterns, examples, and upgrade notes. It does mention 'automated codemods' but does not include any codemod scripts or request unrelated credentials — the scope of required resources is consistent with a documentation/instruction skill.
Instruction Scope
The instructions are focused on code migration patterns and migration checklists. They do not instruct the agent to read system files, access environment variables, or exfiltrate data. Note: the skill references automated codemods but provides no codemod artifacts in the package — if the agent or user later fetches or runs codemods from external sources, that introduces additional risk not covered by this skill alone.
Install Mechanism
There is no install spec and no code files — the skill is instruction-only. README shows example install commands (npx clawhub install, and an npx add line pointing to a GitHub tree) but these are documentation snippets rather than an install script embedded in the skill. No downloads or extracted archives are included.
Credentials
The skill declares no required environment variables, credentials, or config paths. Nothing in the SKILL.md accesses secrets or unrelated environment variables.
Persistence & Privilege
The skill is not set to always:true and does not request persistent or cross-skill configuration. Model invocation is not disabled (the platform default) — this is expected for skills and is not itself a red flag here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install react-modernization - 安装完成后,直接呼叫该 Skill 的名称或使用
/react-modernization触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Modernize React apps with automated migration patterns, codemods, and key upgrade support.
- Guides migration from class components to hooks with lifecycle mappings
- Covers React 18/19 concurrent features and upgrade breaking changes
- Provides codemods and search patterns for large-scale refactoring
- Includes patterns for HOC/render-prop to hook migration
- Supports TypeScript adoption for React codebases
元数据
常见问题
React Modernization 是什么?
Upgrade React apps by migrating class components to hooks, adopting React 18/19 concurrent features, running codemods, and adding TypeScript types. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1095 次。
如何安装 React Modernization?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install react-modernization」即可一键安装,无需额外配置。
React Modernization 是免费的吗?
是的,React Modernization 完全免费(开源免费),可自由下载、安装和使用。
React Modernization 支持哪些平台?
React Modernization 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 React Modernization?
由 wpank(@wpank)开发并维护,当前版本 v1.0.0。
推荐 Skills