react-to-taro
React to Taro WeChat Mini Program Compiler
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.
Scripts (辅助脚本)
此 Skill 提供三个辅助脚本用于分析和验证转换工作:
1. analyze.js - 代码分析器
扫描 React 源代码,生成转换报告,标记需要处理的位置。
node scripts/analyze.js <file-or-directory>
# 输出: taro-migration-report.json
检测内容:
- JSX 元素 (div, span, img, input 等)
- 事件处理器 (onChange, onKeyDown 等)
More from dafang/taro-weapp-plugin
wechat-chat-tool
微信小程序聊天工具开发指南。当开发聊天工具分包、配置 chatTools、发送消息到群聊、动态消息、获取群成员信息、wx.openChatTool、wx.getChatToolInfo 时使用。
10weapp-share-timeline
微信小程序分享到朋友圈开发指南。当开发朋友圈分享功能、配置 onShareTimeline、适配单页模式、处理场景值 1154、navigationBarFit 布局调整时使用。
10planning-with-files
Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.
6