Use when a component needs migration to the target architecture or framework version.
67%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./packs/vue/skills/migration-migrate-component/SKILL.mdMigrate a Vue component from Options API to <script setup lang="ts"> following docs/ARCHITECTURE.md section 5.
Component: $ARGUMENTS
Read docs/ARCHITECTURE.md section 5.
Analyze the component:
Convert to <script setup lang="ts">:
props → defineProps<T>()emits → defineEmits<T>()data() → ref() / reactive()computed: → computed()watch: → watch()methods: → functionmounted() → onMounted()mixins: [] → extract to composable useXxx()Apply composition pattern if there is prop drilling.
Decompose if > 200 lines.
Validate:
npx tsc --noEmit
npx vite build
npx vitest run --passWithNoTestsfernandezbaptiste/specialist-agent
cd716d9
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.