uni-helper by uni-helper/skills
npx skills add https://github.com/uni-helper/skills --skill uni-helper该技能基于 uni-helper 文档,生成于 2026-01-30。
uni-helper 是一个面向 uni-app 的 AI 驱动开发工具生态系统,提供 Vite 插件、工具库、TypeScript 支持和开发工具,以提升 uni-app 的开发体验。
| 主题 | 描述 | 参考链接 |
|---|---|---|
| vite-plugin-uni-pages | 基于文件的路由系统,支持 uni-app 自动页面发现 | plugin-pages |
| vite-plugin-uni-layouts | 类 Nuxt 的 uni-app 布局系统 | plugin-layouts |
| vite-plugin-uni-components | 按需自动导入组件 | plugin-components |
| vite-plugin-uni-manifest | 使用 TypeScript 编写 manifest.json | plugin-manifest |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| vite-plugin-uni-platform |
| 基于文件的平台编译 (*.h5 |
| mp-weixin |
| vite-plugin-uni-platform-modifier | 用于属性/指令的平台修饰符 | plugin-platform-modifier |
| vite-plugin-uni-middleware | uni-app 路由的中间件支持 | plugin-middleware |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| uni-use | 为 uni-app 提供的 VueUse 风格组合式工具函数 | lib-uni-use |
| uni-network | 为 uni-app 提供的基于 Promise 的 HTTP 客户端 | lib-uni-network |
| uni-promises | uni-app API 的 Promise 包装器 | lib-uni-promises |
| uni-typed | uni-app 模板的 TypeScript 类型定义 | lib-uni-typed |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| uni-env | uni-app 环境检测工具 | util-uni-env |
| unocss-preset-uni | 适用于 uni-app 的 UnoCSS 预设 | util-unocss-preset |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| create-uni | uni-app 项目的 CLI 脚手架工具 | starter-create-uni |
| vitesse-uni-app | 基于 Vite 的 uni-app 启动模板 | starter-vitesse |
当使用多个 uni-helper Vite 插件时,推荐顺序如下:
// vite.config.ts
export default defineConfig({
plugins: [
UniComponents(), // 1. 组件自动导入
UniPages(), // 2. 基于文件的路由
UniLayouts(), // 3. 布局系统
UniManifest(), // 4. 清单文件生成
UniPlatform(), // 5. 平台特定文件
UniPlatformModifier(), // 6. 平台修饰符
UniMiddleware(), // 7. 路由中间件
Uni(), // 8. 官方 uni-app 插件(始终在最后)
],
})
使用 create-uni 创建一个新的 uni-app 项目:
# npm 7+,需要额外的双破折号
npm create uni@latest
# pnpm
pnpm create uni
# yarn
yarn create uni
每周安装量
210
代码仓库
GitHub 星标数
38
首次出现
2026年1月30日
安全审计
安装于
codex198
opencode195
gemini-cli193
github-copilot190
kimi-cli190
amp189
The skill is based on uni-helper documentation, generated at 2026-01-30.
uni-helper is an ecosystem of AI-powered development tools for uni-app, providing Vite plugins, utility libraries, TypeScript support, and development tools to enhance the uni-app development experience.
| Topic | Description | Reference |
|---|---|---|
| vite-plugin-uni-pages | File-based routing system for uni-app with auto page discovery | plugin-pages |
| vite-plugin-uni-layouts | Nuxt-like layouts system for uni-app | plugin-layouts |
| vite-plugin-uni-components | On-demand automatic component imports | plugin-components |
| vite-plugin-uni-manifest | Write manifest.json in TypeScript | plugin-manifest |
| vite-plugin-uni-platform | File-based platform compilation (*.h5 | mp-weixin |
| vite-plugin-uni-platform-modifier | Platform modifiers for attributes/directives | plugin-platform-modifier |
| vite-plugin-uni-middleware | Middleware support for uni-app routing | plugin-middleware |
| Topic | Description | Reference |
|---|---|---|
| uni-use | VueUse-style composable utilities for uni-app | lib-uni-use |
| uni-network | Promise-based HTTP client for uni-app | lib-uni-network |
| uni-promises | Promise wrappers for uni-app APIs | lib-uni-promises |
| uni-typed | TypeScript type definitions for uni-app templates | lib-uni-typed |
| Topic | Description | Reference |
|---|---|---|
| uni-env | Environment detection utilities for uni-app | util-uni-env |
| unocss-preset-uni | UnoCSS preset for uni-app | util-unocss-preset |
| Topic | Description | Reference |
|---|---|---|
| create-uni | CLI scaffolding tool for uni-app projects | starter-create-uni |
| vitesse-uni-app | Vite-powered uni-app starter template | starter-vitesse |
When using multiple uni-helper Vite plugins, the recommended order is:
// vite.config.ts
export default defineConfig({
plugins: [
UniComponents(), // 1. Component auto-import
UniPages(), // 2. File-based routing
UniLayouts(), // 3. Layout system
UniManifest(), // 4. Manifest generation
UniPlatform(), // 5. Platform-specific files
UniPlatformModifier(), // 6. Platform modifiers
UniMiddleware(), // 7. Route middleware
Uni(), // 8. Official uni-app plugin (always last)
],
})
Create a new uni-app project with create-uni:
# npm 7+, extra double-dash is needed
npm create uni@latest
# pnpm
pnpm create uni
# yarn
yarn create uni
Weekly Installs
210
Repository
GitHub Stars
38
First Seen
Jan 30, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex198
opencode195
gemini-cli193
github-copilot190
kimi-cli190
amp189
Bun 技能指南:一体化 JavaScript/TypeScript 运行时与工具包,替代 Node.js
554 周安装