ohos-dev-arkui-v1-v2-migration
Installation
SKILL.md
V1 → V2 State Management Migration Skill
Migrate OpenHarmony ArkUI @Component (V1) components to @ComponentV2 (V2).
When to Use
Activate this skill when the user expresses any of the following intents:
- 迁移 V1 组件到 V2 / V1V2 迁移 / 状态管理迁移 (migrate V1 components to V2 / state management migration)
- Change
@Componentto@ComponentV2 - Migrate decorators such as
@State/@Prop/@Linkto their V2 equivalents - Analyze whether a component can be migrated to V2 / assess migration risk
Overall Workflow
0. Confirm target → 1. Analyze → 2. Plan → 3. Execute → 4. Verify