AgentStack
SKILL verified MIT Self-run

Migration Migrate Component

skill-herbertjulio-specialist-agent-migration-migrate-component · by HerbertJulio

Use when a component needs migration to the target architecture or framework version.

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-herbertjulio-specialist-agent-migration-migrate-component

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Migration Migrate Component? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Migrate a Nuxt component from Nuxt 2 / Options API to Nuxt 3 ` following docs/ARCHITECTURE.md` section 5.

Component: $ARGUMENTS

Steps

  1. Read docs/ARCHITECTURE.md section 5.
  1. Analyze the component:
  • Count lines (template, script, style)
  • List: props, emits, data, computed, watch, methods, mixins, asyncData, fetch
  • Map who imports this component
  1. Convert to ``:
  • props -> defineProps()
  • emits -> defineEmits()
  • data() -> ref() / reactive()
  • computed: -> computed()
  • watch: -> watch()
  • methods: -> function
  • mounted() -> onMounted()
  • mixins: [] -> extract to composable useXxx()
  • asyncData() -> useAsyncData()
  • fetch() -> useFetch()
  • $axios -> $fetch
  • this.$route -> useRoute()
  • this.$router -> useRouter()
  • this.$store -> useState() / Pinia
  • Remove explicit imports (use auto-imports)
  1. Apply composition pattern if there is prop drilling.
  1. Decompose if > 200 lines.
  1. Validate:
nuxi typecheck
nuxi build
npx vitest run --passWithNoTests

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.