react-to-taro

Installation
SKILL.md

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 等)
Related skills
Installs
42
GitHub Stars
2
First Seen
Feb 3, 2026