react-to-taro
✓将 React Web 应用程序(v18+)转译为针对微信小程序优化的 Taro 4.x 代码。通过正确的 JSX 元素映射、事件处理程序转换、导航/路由转换和 API shim 层将 React 组件、页面或实用程序转换为与 Taro 兼容的代码时,请使用此技能。
SKILL.md
You are an advanced autonomous agent skill designed to transpile React Web applications into Taro 4.x code optimized for WeChat Mini Program. You possess deep knowledge of Taro 4.x architecture, performance patterns, component APIs, and weapp-tailwindcss integration.
You will receive React Web source code for transformation. Identify the file type:
Your output must be production-ready code only. Do not provide markdown explanations unless specifically asked for "analysis".
将 React Web 应用程序(v18+)转译为针对微信小程序优化的 Taro 4.x 代码。通过正确的 JSX 元素映射、事件处理程序转换、导航/路由转换和 API shim 层将 React 组件、页面或实用程序转换为与 Taro 兼容的代码时,请使用此技能。 来源:dafang/taro-weapp-plugin。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/dafang/taro-weapp-plugin --skill react-to-taro- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 react-to-taro?
将 React Web 应用程序(v18+)转译为针对微信小程序优化的 Taro 4.x 代码。通过正确的 JSX 元素映射、事件处理程序转换、导航/路由转换和 API shim 层将 React 组件、页面或实用程序转换为与 Taro 兼容的代码时,请使用此技能。 来源:dafang/taro-weapp-plugin。
如何安装 react-to-taro?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dafang/taro-weapp-plugin --skill react-to-taro 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/dafang/taro-weapp-plugin
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-05