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 jiushiwon/wg-skills --skill uniapp-vue2-upgrade-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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/jiushiwon/wg-skills/uniapp-vue2-upgrade-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-vue2-upgrade-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-vue2-upgrade-skill/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/jiushiwon/wg-skills/uniapp-vue2-upgrade-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-vue2-upgrade-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00077 | $0.01672 |
| Opus 5 | $0.00039 | $0.00836 |
| Sonnet 5 | $0.00015 | $0.00334 |
| Haiku 4.5 | $0.00008 | $0.00167 |
Grade A, and why
uniapp-vue2-upgrade-skill 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 9d 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UniApp Vue2 → Vue3 Upgrade Skill
定位
本 skill 专门协助把 Vue2 + Options API 的 uniapp 项目平滑升级到 Vue3 + Composition API + TypeScript + Pinia,识别升级阻塞点、给出迁移方案、生成差异清单,仅在用户明确同意后才执行升级。
Vue2 项目可以继续被
uniapp-code-audit-skill审计(Vue3 专属检查项标注为"不适用"),无需先升级。本 skill 是"主动升级"场景的方案输出工具,不是"强制迁移"。
When to Use
触发此 skill 时使用:
- "vue2 升级 vue3"
- "uniapp 迁移"
- "小程序升级"
- "Options API 转 Composition API"
- "Vuex 迁移到 Pinia"
- "把 vue2 项目升级到 vue3"
不触发场景
- "审计这个 vue2 项目" — 应用
uniapp-code-audit-skill,本 skill 不参与 - "生成新项目" — 应用
uniapp-app-generate-skill,默认生成 Vue3 项目 - "在 vue2 中加新功能" — 继续在 Vue2 中开发
Workflow
Phase 1: 现状评估
→ 扫描项目结构、技术栈、Options API 使用情况
→ 评估升级阻塞点(依赖兼容性、第三方库、自研组件库)
→ 输出"升级就绪度报告"
Phase 2: 方案设计
→ 选择升级策略:
A. 全量升级(一键全替换)
B. 渐进式升级(先 Vue2.7 过渡,再升级 Vue3)
C. 双轨并行(新功能 Vue3,老代码逐步迁移)
→ 输出"升级方案 + 风险清单 + 工时估算"
Phase 3: 用户确认
→ 用户 review 方案
→ 确认后才执行迁移
Phase 4: 迁移执行
→ 按方案逐步替换
→ Options API → Composition API
→ Vuex → Pinia
→ mixins → composables
→ JS → TS(可选)
Phase 5: 验证交付
→ npm run lint
→ npm run type-check
→ npm run build:mp-weixin
→ 三端真机/模拟器回归测试
升级范围(典型 Vue2 → Vue3 差异)
| 维度 | Vue2 写法 | Vue3 写法 | 难度 |
|---|---|---|---|
| API 风格 | Options API(data/methods/computed/watch) |
Composition API(ref/reactive/computed/watch) |
中 |
| 组件定义 | export default { name, props, data, ... } |
<script setup> + defineProps/defineEmits/defineExpose |
中 |
| 生命周期 | created/mounted/beforeDestroy |
onMounted/onUnmounted(无 beforeDestroy) |
低 |
| 状态管理 | Vuex(state/mutations/actions/getters) |
Pinia(defineStore setup 风格) |
中 |
| 类型系统 | 可选 TypeScript | 默认 TypeScript 严格模式 | 中 |
| 混入 | mixins: [...] |
自定义 composables + useXxx() |
中 |
| 过滤器 | {{ value | filter }} |
计算属性或方法 | 低 |
| 插槽语法 | slot="foo" slot-scope="scope" |
#foo v-slot:foo="scope" |
低 |
| 路由 | uni-app 自带路由 | 不变 | — |
| 构建 | HBuilderX / vue-cli | Vite + @dcloudio/vite-plugin-uni |
中 |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 130 lines · 77 tokens per session scan A afb5bbeeee1e
uniapp-vue2-upgrade-skill is a skill published in the GitHub repository jiushiwon/wg-skills (100 stars, last pushed 2d ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,672 once invoked, about $0.0004 per session on Opus 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-09-03.
Other skills, from other repositories
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
menu-transitions-rtl
Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…