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.01681 |
| Opus 5.5 | $0.00031 | $0.00672 |
| Sonnet 5.5 | $0.00015 | $0.00336 |
| Haiku 4.5 | $0.00008 | $0.00168 |
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 1mo 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 — 134 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
2 files 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.
- 1mo ago Changed 234bea4953ee
- 1mo ago Changed · +4 lines e193ca458eca
- 2mo ago Changed aa3c0b30dba7
- 2mo 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 (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,681 once invoked, about $0.0003 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-09-03.
uniapp-vue2-upgrade-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| uniapp-vue2-upgrade-skilljiushiwon/wg-skills | Skill | 154 | 6d ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |