Agent Skillsuni-helper/skills › uni-helper

uni-helper

GitHub

提供 uni-helper 生态系统的全面参考,涵盖 Vite 插件、工具库、实用程序及项目模板,旨在通过 AI 辅助开发工具增强 uni-app 的开发体验与效率。

skills/uni-helper/SKILL.md uni-helper/skills

Trigger Scenarios

询问 uni-app 开发配置或最佳实践 需要查找 uni-helper 相关插件和库的使用说明 查询 vite.config.ts 中 uni-helper 插件的正确加载顺序

Install

npx skills add uni-helper/skills --skill uni-helper -g -y
More Options

Use without installing

npx skills use uni-helper/skills@uni-helper

指定 Agent (Claude Code)

npx skills add uni-helper/skills --skill uni-helper -a claude-code -g -y

安装 repo 全部 skill

npx skills add uni-helper/skills --all -g -y

预览 repo 内 skill

npx skills add uni-helper/skills --list

SKILL.md

Frontmatter
{
    "name": "uni-helper",
    "metadata": {
        "author": "FlippeDround",
        "source": "Generated from https:\/\/github.com\/uni-helper\/website, skills located at https:\/\/github.com\/uni-helper\/ai-tools",
        "version": "2026.1.30"
    },
    "description": "Comprehensive skill reference for uni-helper ecosystem - AI-powered development tools for uni-app"
}

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.

Vite Plugins

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

Libraries

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

Utilities

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

Project Starters

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

Plugin Order Best Practices

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)
  ],
})

Quick Start

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

Official Resources

Version History

  • 15909ff Current 2026-07-24 12:22

Same Skill Collection

skills/pinia/SKILL.md
skills/uniapp/SKILL.md
skills/unocss/SKILL.md
skills/vite/SKILL.md
skills/vue-best-practices/SKILL.md
skills/vue/SKILL.md
skills/vueuse-functions/SKILL.md
skills/web-design-guidelines/SKILL.md

Metadata

Files
0
Version
15909ff
Hash
ac589ffd
Indexed
2026-07-24 12:22

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 21:26
浙ICP备14020137号-1 $bản đồ khách truy cập$