·android-to-harmonyos-migration-workflow
>_

android-to-harmonyos-migration-workflow

多代理协作 Android 到 HarmonyOS 代码迁移工作流程(迭代)。当用户需要将Android项目迁移到HarmonyOS时触发,提供: 1)Analyzer Agent扫描代码结构 2)Planner Agent起草迁移计划 3)Translator Agent进行代码转换 4) 验证器代理通过 ohos-app-build-debug 技能编译、打包并在设备上验证第一个屏幕 5) Tester Agent验证功能(在每个模块迁移后执行) 6) 所有模块迁移后,功能比较器代理会检查缺失的功能 7) UI Comparator Agent验证UI一致性 8) 将未完成的部分反馈给 Planner Agent 以进行进一步的迭代。 包括代码分析脚本、API 映射表、组件转换模式和自动验证工具。 触发关键词:Android迁移到鸿蒙、Android迁移、鸿蒙迁移、Java/Kotlin到ArkTS、Activity到Page、功能对比、UI对比。

13安装·1热度·@openharmonyinsight

安装

$npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill android-to-harmonyos-migration-workflow

如何安装 android-to-harmonyos-migration-workflow

通过命令行快速安装 android-to-harmonyos-migration-workflow AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill android-to-harmonyos-migration-workflow
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:openharmonyinsight/openharmony-skills。

SKILL.md

查看原文

| 应用包名 | com.simplemobiletools.gallery.pro | com.example.myapplication | | 启动 Activity | com.simplemobiletools.gallery.pro.activities.SplashActivity.Orange | EntryAbility | | 截图 | PNG/JPG 文件 | PNG/JPG 文件 | | 布局文件 | XML (res/layout/) | ETS (@Component) | | 样式文件 | styles.xml | 主题配置 |

| APIMAPPING.md | Android/HarmonyOS API 对照表 | 执行转换时 | | COMPONENTMAPPING.md | 组件转换模式 | 转换 UI 组件时 | | COMMONPATTERNS.md | 常见代码模式转换 | 遇到特定模式时 | | TROUBLESHOOTING.md | 问题排查指南 | 出现错误时 | | FEATURECOMPARE.md | 功能比对方法和检查项 | 功能比对时 | | UICOMPARE.md | UI比对方法和检查项 | UI比对时 |

| 代码转换率 | 100% 文件已转换 | Translator Agent | | 语法验证 | 0 错误,< 10 警告 | Validator Agent | | 编译状态 | 编译通过 | Validator Agent | | 功能测试 | 核心功能 100% 通过 | Tester Agent | | 功能覆盖率 | ≥ 95% | Feature Comparator Agent | | UI 一致性 | 核心页面 100% 匹配 | UI Comparator Agent | | 性能对比 | 响应时间差异 < 20% | Tester Agent |

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill android-to-harmonyos-migration-workflow
分类
>_效率工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from openharmonyinsight/openharmony-skills

快速解答

什么是 android-to-harmonyos-migration-workflow?

多代理协作 Android 到 HarmonyOS 代码迁移工作流程(迭代)。当用户需要将Android项目迁移到HarmonyOS时触发,提供: 1)Analyzer Agent扫描代码结构 2)Planner Agent起草迁移计划 3)Translator Agent进行代码转换 4) 验证器代理通过 ohos-app-build-debug 技能编译、打包并在设备上验证第一个屏幕 5) Tester Agent验证功能(在每个模块迁移后执行) 6) 所有模块迁移后,功能比较器代理会检查缺失的功能 7) UI Comparator Agent验证UI一致性 8) 将未完成的部分反馈给 Planner Agent 以进行进一步的迭代。 包括代码分析脚本、API 映射表、组件转换模式和自动验证工具。 触发关键词:Android迁移到鸿蒙、Android迁移、鸿蒙迁移、Java/Kotlin到ArkTS、Activity到Page、功能对比、UI对比。 来源:openharmonyinsight/openharmony-skills。

如何安装 android-to-harmonyos-migration-workflow?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill android-to-harmonyos-migration-workflow 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/openharmonyinsight/openharmony-skills