Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Phaedra-Solutions/cursor-rules --skill migrate-vue2git clone --depth 1 https://github.com/Phaedra-Solutions/cursor-rulesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/phaedra-solutions/cursor-rules/migrate-vue2)<a href="https://agentmods.dev/skills/phaedra-solutions/cursor-rules/migrate-vue2"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/migrate-vue2/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/phaedra-solutions/cursor-rules/migrate-vue2"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/migrate-vue2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00149 | $0.01447 |
| Opus 5.5 | $0.00060 | $0.00579 |
| Sonnet 5.5 | $0.00030 | $0.00289 |
| Haiku 4.5 | $0.00015 | $0.00145 |
Grade A, and why
migrate-vue2 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate Vue 2 → Vue 3
When to use
- The app runs Vue 2 (EOL 31 Dec 2023) and the user wants to move to Vue 3.
- For Nuxt 2 apps, use the Nuxt path in
legacy/vue2-nuxt2instead (Nuxt Bridge or a rebuild); this skill covers Vue apps built with Vite, Vue CLI or webpack.
Before you start
- Read
vue,vue-template-compiler,vue-router,vuex,@vue/test-utils, the build tool (Vue CLI, webpack, Vite) and every Vue plugin and UI library from the lockfile. - For each library, find a Vue 3 version or a replacement (for example Vuetify 2 → 3, BootstrapVue → a Vue 3 alternative,
vue-i18n8 → 9+). Libraries without a Vue 3 path are the main blockers; list them for the user. - Working tree clean; new branch (
chore/vue-3); a test suite and E2E smoke tests for main flows (add them first if missing). - Ask the user:
- whether to migrate the build tool (Vue CLI → Vite) in the same project, as a separate step before or after;
- Vuex → Pinia now, or Vuex 4 first;
- whether network installs are approved (
core/supply-chaincooldown applies).
Steps
- Baseline: install, lint, unit tests, E2E and a production build. Record failures.
- Move to Vue 2.7 (
[email protected]), remove@vue/composition-apiif present, and fix deprecation warnings. 2.7 lets you start writing<script setup>and Composition API code that also works in Vue 3. - Remove patterns the compat build can't cover well while still on Vue 2: filters → methods or computed; event bus (
$on/$off/$once) → a tiny emitter (mitt) or Pinia;$children→ refs;.nativemodifiers → explicitemits; functional components with templates → plain components. - Switch to Vue 3 + compat build:
- install
vue@^3.5and@vue/compat@^3.5(same version) and@vue/compiler-sfc(removevue-template-compiler); - alias
vueto@vue/compatin the bundler and set the compiler'scompatConfig: { MODE: 2 }(Vite:resolve.aliasplus@vitejs/plugin-vuetemplate.compilerOptions.compatConfig; Vue CLI:chainWebpackalias andvue-loaderoptions); - update
vue-routerto v4+ API (createRouter,createWebHistory) and Vuex to 4 (createStore) or Pinia; - replace
new Vue({...})withcreateApp(App).use(router).use(store).mount('#app').
- install
- Run the app and fix compat warnings feature by feature. Each warning names a compat flag (for example
COMPONENT_V_MODEL,INSTANCE_LISTENERS,RENDER_FUNCTION,ATTR_FALSE_VALUE,TRANSITION_CLASSES). Fix the code, then disable that flag per component (compatConfig: { COMPONENT_V_MODEL: false }) or globally (configureCompat). Typical fixes:v-modelon components:value/input→modelValue/update:modelValue(ordefineModel);$listenersmerged into$attrs;inheritAttrsbehavior withclass/style;v-if/v-forprecedence changed;keyon<template v-for>;- async components →
defineAsyncComponent; - transition class renames (
v-enter→v-enter-from); - global API (
Vue.use,Vue.component,Vue.prototype) → app instance (app.use,app.component,app.config.globalProperties).
- Update tests:
@vue/test-utilsv2 (mountoptions changed:props,global.plugins,global.stubs). - Remove the compat build when no warnings remain: drop the alias and
@vue/compat, setMODE: 3or removecompatConfig, and run everything again. Then switch tofrontend/vue. - Show the diff and results at each step and wait for approval; commit only when asked (
git-commitskill).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 69 lines · 149 tokens per session scan A ce5e5d6be4bc
migrate-vue2 is a skill published in the GitHub repository Phaedra-Solutions/cursor-rules (4 stars, last pushed 2d ago), licensed MIT. It adds 149 tokens to every session and 1,447 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-01.
Other skills, from other repositories
frontend-ux-engineer
Use for frontend features, Next.js/React/Vue/Svelte UI, accessibility, responsive layout, design polish, state handling, forms, visual QA, or product workflow improvements.
nuxt4-patterns
Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
grok-cli
Delegate bounded tasks to Grok Build from a supervising agent such as Codex. Use when the user asks Grok to investigate, review, implement, or provide another perspective, or when a distinct coding agent would materially help. Includes a background ACP client for progress, follow-up prompts, permissions, and…
agent-svelte-expert
Specialist subagent: Svelte 5 runes, SvelteKit routing, form actions, and compile-time reactivity specialist. Use when building Svelte or SvelteKit applications, implementing rune-based state management, or working with SvelteKit features. Trigger phrases: Svelte, SvelteKit, runes, $state, $derived, $effect, $props…
vue-idioms
Vue 3 Composition API patterns: syntax, reactive state with Pinia stores, reusable composables, and Vitest component testing. Use when developing or refactoring Vue 3 frontend applications.
talk-like-scarletkc
A writing guide that makes text sound like the developer scarletkc, including posts, comments, technical opinions, project documents, and translations.