📱
FrontendPython

UniApp Expert

by val1813

UniApp Expert is a Frontend skill for Claude Code, published by val1813 in kwcode.

688 stars92 forkson val1813/kwcodeAdded 2026/08/12Repository updated 2026/05/14
Install in seconds
Install UniApp Expert
Copy UniApp Expert into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/val1813/kwcode/tree/master/kaiwu/builtin_experts/uniapp ~/.claude/skills/uniapp

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/val1813/kwcode.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
kaiwu/builtin_experts/uniapp/SKILL.md in val1813/kwcode
Installs to
~/.claude/skills/uniapp
Collection
One of 19 skills cataloged from this repository
Category
Frontend567 skills

What UniApp Expert does

UniApp Expert covers UniApp development with Vue 3 composition API, routing, storage, requests, and platform conditionals. Use it when building H5, mini-program, or app features with uni-app APIs.

UniApp Expert is cataloged under Frontend on DirSkills.

Documentation

README

领域知识

  • 基于Vue3组合式API(setup语法糖),ref/reactive管理状态,computed派生数据
  • 条件编译:#ifdef MP-WEIXIN 微信专属代码 #endif,支持H5/MP-WEIXIN/MP-ALIPAY/APP
  • 生命周期:页面用onLoad(接收参数)/onShow/onHide,组件用onMounted/onUnmounted
  • 路由:uni.navigateTo跳转保留当前页,uni.redirectTo关闭当前页,uni.switchTab切Tab
  • 网络请求:封装uni.request为Promise,统一拦截添加token、处理401跳登录
  • 存储:uni.setStorageSync/getStorageSync同步操作,大数据用异步版本
  • 样式:rpx自适应单位(750rpx=屏幕宽),不用px;scoped样式避免污染
  • 组件通信:props向下传、emit向上传、provide/inject跨层级、Pinia全局状态
  • 分包:subPackages配置分包加载,主包控制在2MB内
  • 兼容性:避免直接操作DOM,不用window/document,用uni API替代Web API

经验规则(自动生成)

Frequently asked about UniApp Expert

  • What else does val1813 publish alongside UniApp Expert?

    UniApp Expert is one of 19 skills that DirSkills catalogs from val1813/kwcode, the repository it ships in. Its siblings there include API Expert, Bug Fix Expert and DeepSeek API Expert. Each one is a separate skill with its own page in this directory, installs the same way UniApp Expert does, and is maintained by val1813 in that same repository. The rest of the collection is listed on the val1813/kwcode page.

  • How does UniApp Expert compare to other Frontend skills?

    UniApp Expert ranks #411 by stars among the 567 Frontend skills in this catalog. The most-starred ones next to it are Angular Developer, Android Clean Architecture and Accessibility. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of UniApp Expert against them. Open each page to compare what they document and how they install.

More from val1813/kwcode

UniApp Expert is one of 19 skills cataloged on DirSkills from val1813/kwcode.

See all 19 skills