a5c-ai/babysitter / library/specializations/code-migration-modernization/skills/ui-component-migrator
ui-component-migrator
VerifiedMigrate UI components between frameworks with structure, state, and style transformation
README.md
View on GitHub# UI Component Migrator Skill
## Overview
The UI Component Migrator skill handles migration of UI components between frameworks. It transforms component structure, state management, and styles while preserving functionality.
## Quick Start
### Prerequisites
- Source components
- Target framework setup
- Transformation rules
### Basic Usage
1. **Analyze components**
- Inventory components
- Identify patterns
- Map state management
2. **Configure migration**
- Define transformation rules
- Set up target structure
- Configure style handling
3. **Execute migration**
- Transform components
- Verify functionality
- Fix manual items
## Features
### Migration Paths
| From | To | Complexity |
|------|-----|------------|
| React Class | React Hooks | Low |
| Vue Options | Vue Composition | Medium |
| Angular | React | High |
| jQuery | React/Vue | High |
### Transformation Types
- Template/JSX conversion
- State management translation
- Lifecycle to hooks
- Event binding updates
- Style system migration
## Configuration
```json
{
"source": {
"framework": "vue",
"version": "2.x"
},
"target": {
"framework": "vue",
"version": "3.x"
},
"options": {
"useCompositionApi": true,
"migrateStyles": true,
"migrateTests": true
}
}
```
## Related Documentation
- [SKILL.md](./SKILL.md) - Full skill specification
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |