migrate-framework
Skill2 starsChanged 9 months agoMITView on GitHub
Use when switching a project or component between frameworks - React to Vue, Vue to Svelte, or any supported framework pair.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- viknesh20-20/claude-code-tool-kittheir own version, first seen May 2, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- viknesh20-20/claude-code-tool-kit★ 7same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- auditSkill
- brainstormSkill
- checkpointSkill
- codereviewSkill
- commitSkill
- debugSkill
- estimateSkill
- finishSkill
- healthSkill
- learnSkill
- lintSkill
- migrate-architectureSkill
- onboardSkill
- planSkill
- recallSkill
- rememberSkill
- tddSkill
- tutorialSkill
- verifySkill
- worktreeSkill
- write-skillSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 122
Create target file structure
- Distinctive: line 163
Idiomatic code: - Use target framework patterns
- Distinctive: line 165
Keep original: - Don't delete source files
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/migrate-framework - Cross-Framework Migration
Migrate code from one framework to another while preserving functionality.
Arguments: $ARGUMENTS (e.g., "react to vue src/components/Button.tsx")
Supported Migrations
| From | To | Status |
| React | Vue 3 | Full |
| React | Svelte | Full |
| Vue 2 | Vue 3 | Full |
| Vue 3 | React | Full |
| Vue 3 | Svelte | Full |
| Angular | React | Partial |
| Angular | Vue 3 | Partial |
Workflow
Phase 1: Analysis
- Parse source framework code
- Identify:
- Component structure
- Props and state
- Lifecycle hooks
- Event handlers
- Computed values
- Side effects
Phase 2: Mapping
React → Vue 3
| React | Vue 3 |
useState | ref() / reactive() |
useEffect | onMounted, watch |
useMemo | computed() |
useCallback | Regular function |
useContext | provide/inject |
props | defineProps() |
children | <slot /> |
className | class |
onClick | @click |
// React
function Button({ label, onClick }) {
const [count, setCount] = useState(0)
useEffect(() => {
console.log('mounted')
}, [])
return (
<button className="btn" onClick={() => setCount(c => c + 1)}>
{label}: {count}
</button>
)
}
// Vue 3
<script setup lang="ts">
import { ref, onMounted } from 'vue'
const props = defineProps<{ label: string }>()
const emit = defineEmits<{ click: [] }>()
const count = ref(0)
onMounted(() => {
console.log('mounted')
})
</script>
<template>
<button class="btn" @click="count++">
{{ label }}: {{ count }}
</button>
</template>Vue 3 → React
| Vue 3 | React |
ref() | useState |
reactive() | useState with object |
computed() | useMemo |
watch | useEffect |
onMounted | useEffect(fn, []) |
provide/inject | useContext |
<slot /> | children |
v-if | {condition && ...} |
v-for | .map() |
@click | onClick |
React → Svelte
| React | Svelte |
useState | let variable |
useEffect | onMount, $: |
useMemo | $: derived |
props | export let |
children | <slot /> |
className | class |
onClick | on:click |
Phase 3: Migration
- Create target file structure
- Convert component syntax
- Migrate state management
- Update imports
- Convert templates/JSX
- Adapt styling approach
Phase 4: Validation
- Check TypeScript types
- Verify props match
- Test component renders
- Compare behavior
Output
──── Migration Complete ────
Source: React (src/components/Button.tsx)
Target: Vue 3 (src/components/Button.vue)
Conversions:
✓ useState → ref (2 instances)
✓ useEffect → onMounted (1 instance)
✓ Props interface → defineProps
✓ JSX → Vue template
✓ className → class
Manual review needed:
- Line 15: Complex useEffect dependency array
- Line 23: Custom hook needs separate migration
Files created:
- src/components/Button.vueRules
- Preserve behavior - Functionality must match
- Type safety - Maintain TypeScript types
- Idiomatic code - Use target framework patterns
- Flag manual work - Mark complex conversions
- Keep original - Don't delete source files
Limitations
- Custom hooks require separate migration
- Third-party component libraries may not have equivalents
- Some patterns don't translate directly
- CSS-in-JS needs manual adaptation
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

