ui-component-migrator
Migrate UI components between frameworks with structure, state, and style transformation
Best use case
ui-component-migrator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Migrate UI components between frameworks with structure, state, and style transformation
Teams using ui-component-migrator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ui-component-migrator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ui-component-migrator Compares
| Feature / Agent | ui-component-migrator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Migrate UI components between frameworks with structure, state, and style transformation
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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:
- Component structure translation
- State management migration
- Lifecycle method conversion
- Event handling transformation
- Style migration
## Capabilities
### 1. Component Structure Translation
- Convert component syntax
- Transform templates
- Migrate component props
- Handle slots/children
### 2. State Management Migration
- Convert local state
- Migrate global state (Redux/Vuex/etc)
- Transform state updates
- Handle computed properties
### 3. Lifecycle Method Conversion
- Map lifecycle methods
- Convert to hooks/composition API
- Handle initialization
- Transform cleanup logic
### 4. Event Handling Transformation
- Convert event bindings
- Transform handlers
- Migrate custom events
- Handle event modifiers
### 5. Style Migration
- Convert CSS-in-JS
- Migrate scoped styles
- Transform CSS modules
- Handle theme systems
### 6. Test Migration
- Convert component tests
- Update test utilities
- Transform mocking
- Migrate snapshots
## 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
```json
{
"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
- **ui-framework-migration**: Primary migration tool
- **framework-upgrade**: Internal framework upgrades
## Related Skills
- `codemod-executor`: Transformation execution
- `framework-compatibility-checker`: Compatibility analysis
## Related Agents
- `framework-upgrade-specialist`: Orchestrates UI migrationRelated Skills
styled-components
Styled Components theming, variants, SSR support, and patterns.
react-server-components
React Server Components patterns including streaming, data fetching, client/server component composition, and performance optimization.
component-inventory
Audit and inventory existing UI components in a codebase
qt-qml-component-generator
Generate QML components with proper property bindings, signal/slot connections, and Qt Quick Controls integration
logging-migrator
Migrate logging infrastructure with format standardization, structured logging, and aggregation setup
event-sourcing-migrator
Migrate to event-sourcing architecture with event extraction, store setup, and CQRS implementation
configuration-migrator
Migrate configuration files between formats and versions with environment variable extraction
build-system-migrator
Migrate build systems to modern alternatives with build file conversion and CI/CD integration
authentication-migrator
Migrate authentication systems with credential migration, OAuth2/OIDC setup, and identity provider integration
ink-component-generator
Generate Ink (React for CLI) components for terminal UIs with hooks, state management, and layout components.
process-builder
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
babysitter
Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)