Preface¶
When using uni-app to release a single codebase across multiple platforms, common issues often lie beyond the syntax itself: the writing differences between Vue2 and Vue3, the boundaries of conditional compilation and platform APIs, compatibility strategies during legacy project migration, and the setup of automated testing for WeChat Mini Programs all require item-by-item troubleshooting against documentation and project experience. While general large language models can answer conceptual questions, their stability regarding specific conventions and “pitfalls” within the uni-app ecosystem is not always guaranteed.
The following introduces the community Skill “Uni-app Development Expert” (coordinates @user_1cf5565c/uniapp-expert) on SkillHub. It consolidates guidance on Vue2/Vue3 development, migration, and Mini Program testing into a single SKILL.md file, designed for Agents like Cursor, Claude Code, and Codex that support Skills to load on-demand during conversations.
What is this¶
“Uni-app Development Expert” is a community-sourced (community) Skill targeting the dev-programming category. The current version is 1.0.0, maintained by the publisher user_1cf5565c.
The official introduction summarizes it as: An expert skill for uni-app cross-platform development, covering Vue2/Vue3 development, practical Vue2→Vue3 migration, and WeChat Mini Program automated testing. It also states that it integrates real project experience and “pitfalls” to provide complete solutions from development to testing. The page labels it requires_api_key=false, meaning installation and usage do not rely on an additional API Key.
According to SkillHub statistics, this Skill has a rating of 100000, 16548 downloads, and 464 installations (data is subject to the SkillHub page display).
Core Features¶
The following capabilities are derived from the official introduction and SkillHub metadata; no details beyond those appearing in the materials are inferred:
- uni-app Development under Vue2 / Vue3: Aligns framework usage and project structure recommendations for cross-platform scenarios.
- Practical Vue2→Vue3 Migration: Focuses on upgrade paths and practical considerations for existing uni-app projects (subject to the guidelines within the Skill).
- WeChat Mini Program Automated Testing: Covers testing workflows and solution directions for the Mini Program side.
- Closed-loop from Development to Testing: The Skill’s positioning emphasizes coherent support from coding to testing, rather than isolated Q&A.
The Skill本体 follows the general SKILL.md format. Once read by an Agent, it influences the priority and terminology scope of subsequent answers and operational steps.
Installation and Activation¶
The installation method provided by the official SkillHub page is: instruct the AI to install the coordinate @user_1cf5565c/uniapp-expert based on the installation documentation. The installation documentation address is:
https://skillhub.cn/install/skillhub.md
1. Install SkillHub CLI (if not already installed)¶
First, check if skillhub is already on your machine:
command -v skillhub && skillhub --version
If not installed, you can execute the full installation (CLI + default Skills) according to the SkillHub documentation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill to the current Agent’s skills directory¶
When installing the skill, you must use --dir to point to the skills directory recognized by the current Agent. The documentation states that installing to the default ./skills/ might prevent the Agent from loading it, and a client restart is usually required for the changes to take effect.
skillhub install user_1cf5565c/uniapp-expert --dir <Your Agent skills directory>
Common paths (excerpted from SkillHub installation documentation):
| Agent / Client | skills Directory |
|---|---|
| Claude Code | ~/.claude/skills/ |
| Cursor | ~/.cursor/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Gemini CLI | ~/.gemini/skills/ |
In Cursor, you can also send the prompt from the official page to the Agent, for example:
Please install @user_1cf5565c/uniapp-expert according to https://skillhub.cn/install/skillhub.md.
The Agent will complete the CLI check, skillhub install, and directory verification based on the documentation. The differences between Codex CLI and Claude Code mainly lie in the skills directory path, but the installation command format is the same; --dir must be specified for all.
Typical Usage¶
The materials do not provide a separate long-form example repository; the reproducible entry point is to propose tasks consistent with the introduction in a conversation where the Skill has been loaded after installation. For example:
- When creating or maintaining a uni-app page, specify the target platform (H5, App, WeChat Mini Program, etc.) and Vue version, and ask the Agent to provide component, lifecycle, and conditional compilation writing styles constrained by the Skill.
- When an existing Vue2 uni-app project plans to upgrade to Vue3, list the current
manifest.json, dependency versions, and key plugins, and ask the Agent to break down steps and risk points based on the “Practical Vue2→Vue3 Migration” guidelines. - When WeChat Mini Program automated testing is needed, describe the existing test stack and CI environment, and ask the Agent to provide actionable directory and script structure suggestions based on the testing chapter in the Skill.
Specific commands, configuration file names, and test framework selection are subject to the SKILL.md inside the Skill package and its referenced documentation; this article does not list configuration items that do not appear on the public page.
Applicable Scenarios and Notes¶
Who it is for
- Developers who deliver multi-platform applications daily using uni-app and hope the Agent defaults to answering within the uni-app + Vue2/Vue3 context.
- Teams currently migrating from Vue2 to Vue3, or needing to supplement WeChat Mini Program automated testing solutions.
Limitations and Notes
- The source is community-based, and content and update rhythm depend on the publisher’s maintenance. Before major version upgrades, it is recommended to confirm on the SkillHub page that the version number is still 1.0.0 or check for update notes.
- Ratings and download counts are platform statistics and do not represent the degree of fit for your technical stack; migration and testing solutions still need to be verified in the target project.
- Incorrect installation paths will result in the Skill not being loaded; ensure you use the
--dirmentioned above and the corresponding client directory. - The public materials do not require an API Key; if the label changes in future versions, the SkillHub page shall prevail.
Conclusion¶
“Uni-app Development Expert” consolidates uni-app cross-platform development, Vue version migration, and WeChat Mini Program automated testing into a single Agent Skill. It is suitable to serve as the default context for uni-app related conversations after installation from SkillHub. Official Skill page and API entry:
- SkillHub Page: https://www.skillhub.cn/skills/user_1cf5565c/uniapp-expert
- API Address: https://api.skillhub.cn/user_1cf5565c/uniapp-expert