Ui component migrator

From a5c-ai/babysitter · View interactive version

Ui component migrator is an AI agent skill from the GitHub repository a5c-ai/babysitter. Migrate UI components between frameworks with structure, state, and style transformation

How to use this skill

Skill file

UI Component Migrator Skill

Migrates UI components between different frameworks, handling structure translation, state management conversion, and style migration.

Purpose

Enable UI framework migration for:

Capabilities

1. Component Structure Translation

2. State Management Migration

3. Lifecycle Method Conversion

4. Event Handling Transformation

5. Style Migration

6. Test Migration

Tool Integrations

| Migration Path | Tools | Integration Method |

|---------------|-------|-------------------|

| React -> Vue | Custom transformers | AST |

| Vue -> React | Custom transformers | AST |

| Angular -> React | Custom transformers | AST |

| Class -> Hooks | React codemods | CLI |

| Options -> Composition | Vue codemods | CLI |

Output Schema

{
  "migrationId": "string",
  "timestamp": "ISO8601",
  "source": {
    "framework": "string",
    "version": "string"
  },
  "target": {
    "framework": "string",
    "version": "string"
  },
  "components": [
    {
      "sourcePath": "string",
      "targetPath": "string",
      "status": "migrated|partial|failed",
      "transformations": [],
      "manualSteps": []
    }
  ],
  "summary": {
    "total": "number",
    "migrated": "number",
    "partial": "number",
    "failed": "number"
  }
}

Integration with Migration Processes

Related Skills

Related Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.