Agent skill

Uniapp App Generate Skill

by jiushiwon in jiushiwon/wg-skills

This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch.

Apache-2.0Auto-check: notesAgent Workflows

Install Uniapp App Generate Skill

skills CLI
$ npx skills add jiushiwon/wg-skills --skill uniapp-app-generate-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jiushiwon/wg-skills uniapp-app-generate-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jiushiwon/wg-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vibeCoding/frontend/uniapp/uniapp-app-generate-skill .claude/skills/uniapp-app-generate-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
uniapp-app-generate-skill
GitHub stars
114
Token cost
~5k tokens
SKILL.md length
1,835 words
Files
116 (incl. references, assets)
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch.

  • Works in 4 steps: Pre-development → Project Initialization → Development → …
  • Wants to create a standardized uni-app project for WeChat mini-program
  • SKILL.md covers Overview, When to Use, Workflow Summary and Phase 1: Pre-development, plus 3 more sections
  • Runs JavaScript and TypeScript scripts from its folder; calls npm and npx; needs PEXELS_API_KEY and VITE_PEXELS_API_KEY

What it does

Uniapp App Generate Skill is an agent skill from jiushiwon/wg-skills. This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch. It guides through pre-development brainstorming, project initialization with uni-app + Vue3 + TypeScript + Pinia, dynamic theme system setup, static asset generation, layout design, cross-platform compatibility, and post-development verification. Invoke when the user says "帮我做一个 uniapp 小程序/三端应用"、"初始化 uniapp 项目"、"uniapp 构建" or similar requests.

Its SKILL.md is about 5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 120 other files, including reference files and assets (for example `README.md`, `assets/boilerplate/README.md` and `assets/boilerplate/package.json`).

It sits in Agent Workflows, covering Brainstorming and Game assets and audio. It works with Vue.js, WeChat and TypeScript. The licence is Apache-2.0.

When your agent uses it

  • Wants to create a standardized uni-app project for WeChat mini-program
  • App from scratch
  • Says 帮我做一个 uniapp 小程序/三端应用、初始化 uniapp 项目、uniapp 构建
  • Similar requests

Example prompts

  • “帮我做一个 uniapp 小程序/三端应用”
  • “初始化 uniapp 项目”
  • “uniapp 构建”
  • “/uniapp-app-generate-skill”

Requirements

  • Node.js
  • A credential in VITE_PEXELS_API_KEY

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Pre-development
  2. Project Initialization
  3. Development
  4. Post-development

What it can do on your machine

Read from SKILL.md and the folder at commit 3569fb8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (JavaScript and TypeScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • pexels.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PEXELS_API_KEY
    • VITE_PEXELS_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Uniapp App Generate Skill loads about 5k tokens when it runs, and up to ~25k if it reads all its reference files. Until then it costs about 127 tokens; SKILL.md has 1,835 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~127
When it runs · the whole SKILL.md, loaded when a task matches
~5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~25k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:39
    → Create .claudeignore and .env
  • NoteMentions a .env fileSKILL.md:239
    ### 2.6 Create .env for Pexels API Key
  • NoteMentions a .env fileSKILL.md:241
    Create `.env` at project root for the Pexels API key:
  • NoteMentions a .env fileSKILL.md:247
    (committed to version control) and add `.env` to `.gitignore`:
  • NoteMentions a .env fileSKILL.md:250
    .env
  • NoteMentions a .env fileSKILL.md:362
    - Create `.env` with `PEXELS_API_KEY=...`
  • NoteMentions a .env fileSKILL.md:503
    xels-integration.md` — Pexels API setup, .env template, and fetch utility
  • NoteMentions a .env fileSKILL.md:523
    tch photos via Pexels API with key from `.env` when available; otherwise use default placeholders.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jiushiwon/wg-skills at commit 3569fb8, republished under its Apache-2.0 licence (© jiushiwon). 1,835 words, ~4,968 tokens.

Download SKILL.mdSave it as .claude/skills/uniapp-app-generate-skill/SKILL.md (or your agent's skills folder). This skill also uses 115 other files; get the full folder from GitHub.
name
uniapp-app-generate-skill
description
This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch. It guides through pre-development brainstorming, project initialization with uni-app + Vue3 + TypeScript + Pinia, dynamic theme system setup, static asset generation, layout design, cross-platform compatibility, and post-development verification. Invoke when the user says "帮我做一个 uniapp 小程序/三端应用"、"初始化 uniapp 项目"、"uniapp 构建" or similar requests.

UniApp App Generate Skill

Overview

This skill transforms a vague mini-program idea into a production-ready uni-app project with consistent architecture, design tokens, static assets, and coding standards. It follows a four-phase workflow, and leverages ponytail, ui-ux-pro-max, frontend-design, and frontend-icon-skill skills for high-quality output with minimal code.

  1. Pre-development: brainstorm, scope, and produce a detailed specification.
  2. Project initialization: scaffold the project, directory structure, CLAUDE.md, AGENTS.md, and .claudeignore.
  3. Development: implement the theme system, generate icons/images, design the layout, and build core pages.
  4. Post-development: lint, verify the build, and hand the project back to the user.

When to Use

Invoke this skill when the user asks for:

  • "帮我做一个 uniapp 小程序"
  • "初始化一个微信小程序项目"
  • "用 uniapp 搭建一个 xxx 小程序"
  • "帮我生成一个小程序的标准项目结构"
  • Any request that involves creating a new uni-app mini-program from scratch

Workflow Summary

Phase 1: Pre-development
  → Ask clarifying questions about purpose, users, features, and style
  → Write spec.md with scope, pages, data model, and API outline

Phase 2: Project Initialization
  → Copy boilerplate from assets/boilerplate/
  → Replace placeholders
  → Create standard directory structure
  → Generate CLAUDE.md and AGENTS.md from templates
  → Create .claudeignore and .env

Phase 3: Development
  → Ask for theme configuration and set up dynamic theme system
  → Optionally design with frontend-design / ui-ux-pro-max
  → Implement with ponytail principles and cross-platform rules
  → Generate icons via frontend-icon-skill (or placeholders)
  → Optionally fetch real photos via Pexels API
  → Choose layout pattern and implement tabBar + pages
  → Build core pages: home, list/detail, profile
  → Ensure WeChat / H5 / App compatibility

Phase 4: Post-development
  → Run npm run lint
  → Run npm run dev:mp-weixin or build verification
  → Check mini-program-checklist.md
  → Summarize deliverables

Phase 1: Pre-development

1.1 Brainstorming Questions

Ask the user 3~5 focused questions. Do not ask all at once; start with the most important ones and follow up.

Required questions:

  1. "这个小程序解决什么问题?核心目标用户是谁?"
  2. "主要功能有哪些?请列出 3~5 个核心页面或核心流程。"
  3. "你倾向哪种视觉风格?清新健康 / 极简工具 / 活泼社区 / 商务数据?"
  4. "底部 TabBar 需要几个入口?分别是什么?"
  5. "是否需要用户登录、我的页面、头像等社交属性?"

Optional follow-ups:

  • "有没有参考的小程序或设计稿?"
  • "主色有偏好吗?没有的话我会根据风格推荐。"
  • "是否需要深色模式?(默认先实现浅色)"
1.2 Write spec.md

After gathering answers, create spec.md in the project root with the following sections:

markdown
# {{PROJECT_NAME}} 小程序规格说明

## 1. 项目定位
- 产品名称:
- 目标用户:
- 核心价值:
- 对标产品:

## 2. 核心功能
1. ...
2. ...
3. ...

## 3. 页面清单
| 页面 | 路径 | 说明 |
|------|------|------|
| 首页 | pages/index/index.vue | ... |
| ... | ... | ... |

## 4. 数据模型(初版)
- User: { id, nickname, avatar }
- ...

## 5. API 轮廓(初版)
- GET /api/user/profile
- ...

## 6. 设计风格
- 风格:清新健康 / 极简工具 / 活泼社区 / 商务数据
- 主色:#10b981
- TabBar 入口:首页、数据、发现、我的

Show the spec to the user and confirm before proceeding. Iterate if needed.

Phase 2: Project Initialization

2.1 Create the UniApp Project

Use the boilerplate included in assets/boilerplate/ as the starting point:

bash
# Copy the entire boilerplate into the target project directory
cp -r assets/boilerplate/* {{project-name}}/
cd {{project-name}}
npm install

Then replace placeholders in the following files. Match both {{PROJECT_NAME}} and {{ PROJECT_NAME }} forms:

  • package.json → {{PROJECT_NAME}}, {{PROJECT_DESC}}
  • src/manifest.json → {{PROJECT_NAME}}, {{WECHAT_APPID}}
  • src/pages.json → {{PROJECT_NAME}}
  • src/pages/index/index.vue → {{PROJECT_NAME}} / {{ PROJECT_NAME }}
  • index.html → {{PROJECT_NAME}}
  • README.md → {{PROJECT_NAME}}, {{PROJECT_DESC}}

If the user already has a project directory, merge the boilerplate carefully. Do not overwrite existing files without asking.

2.1a Alternative: Fresh CLI Scaffold

If the boilerplate is not suitable, use the official uni-app CLI:

bash
npx degit dcloudio/uni-preset-vue#vite-ts {{project-name}}
cd {{project-name}}
npm install
npm install pinia sass

Then apply the directory structure and files from assets/boilerplate/ manually.

2.2 Standard Directory Structure

The boilerplate in assets/boilerplate/ already contains the standard directory structure. If not using the boilerplate, create the directories defined in references/project-structure.md. At minimum:

src/
├── api/
│   ├── modules/
│   └── types/
├── components/
├── constants/
├── pages/
│   ├── index/
│   ├── profile/
│   └── ...
├── static/
│   ├── icons/
│   ├── tab-bar/
│   └── images/
├── stores/
│   └── modules/
├── styles/
│   ├── config/
│   ├── tokens/
│   ├── _functions.scss
│   ├── _mixins.scss
│   ├── global.scss
│   └── variables.scss
├── types/
└── utils/

The boilerplate also includes ready-to-use utilities:

  • src/utils/platform.ts — platform detection and safe area
  • src/utils/platform-auth.ts — abstract login for WeChat / H5 / App
  • src/utils/platform-share.ts — abstract share for WeChat / H5 / App
  • src/utils/platform-image.ts — image picker and URL resolution
  • src/utils/pexels.ts — Pexels API search and download
  • src/utils/request.ts — uni.request wrapper with platform-specific baseURL
  • src/utils/storage.ts — unified local storage
  • src/utils/date.ts — date formatting helpers

And default static assets:

  • static/tab-bar/ — default icons for home, profile, shop, cart, data, discover, message, settings (active + inactive)
  • static/images/empty-data.png — empty state placeholder
  • static/avatar-placeholder.png — avatar placeholder

These default icons are generated by frontend-icon-skill and can be replaced later.

2.3 Generate CLAUDE.md

Use the template in references/claude-md-template.md. Replace placeholders and adapt to the chosen style.

Key contents:

  • Project overview and tech stack
  • Core red-line rules
  • Theme system summary
  • Directory conventions
  • Reference conventions
  • Static asset rules
  • AI behavior constraints
  • Commit rules
2.4 Generate AGENTS.md

Use the template in references/agents-md-template.md. This is the full specification entry. Keep CLAUDE.md as the concise redirect.

2.5 Create .claudeignore

Create .claudeignore at project root with:

node_modules/
dist/
unpackage/
*.log
.DS_Store
.vscode/
.idea/
2.6 Create .env for Pexels API Key

Create .env at project root for the Pexels API key:

bash
VITE_PEXELS_API_KEY=your_pexels_api_key_here

Also create .env.example (committed to version control) and add .env to .gitignore:

gitignore
.env

If the user does not yet have a Pexels API key, leave the placeholder and remind them to get one from https://www.pexels.com/api/.

Phase 3: Development

3.1 Set Up the Theme System

Follow references/theme-system.md to configure the theme.

3.1.1 Ask for Theme Configuration

Before generating theme files, ask the user for the following values. Use defaults if not specified.

ConfigDefaultDescription
Primary color#10b981Brand color, generates full palette
Success color#4caf50Success state
Warning color#ff9800Warning state
Error color#f44336Error state
Info color#2196f3Info state
Gray base#6b7280Generates gray scale 50~950
Spacing base4rpxGenerates 4/8/12/16/24/32/40/48rpx
Font base12rpxGenerates 12/14/16/18/24/30rpx
Radius base4rpxGenerates 4/8/12/16rpx
3.1.2 Generate Theme Files

Required files:

  • theme.json — single human-edited source (colors/spacing/font/radius only; no semantic block)
  • src/styles/config/_theme-config.scss — generated base $theme-* vars (do not edit by hand)
  • src/styles/tokens/_primitive.scss — primitive tokens (palette 50~900 computed by SCSS)
  • src/styles/tokens/_semantic.scss — semantic tokens
  • src/styles/tokens/_components.scss — component-level size tokens
  • src/styles/_functions.scss / _mixins.scss — SCSS utilities
  • src/styles/variables.scss — auto-injected entry
  • src/constants/colors.ts — generated JS constants: full PRIMARY_50..900 / GRAY_50..900 plus semantic colors derived from the scale
  • scripts/sync-theme.js — generates the files above and scripts/.theme-scale.json (allowlist)
  • scripts/check-colors.js — hard gate that fails on any off-scale color

Principles:

  • One primary color generates a full palette (50~900); JS and SCSS share one mix formula.
  • Semantic colors are derived from the scale — never hand-picked (no drifting #d1fae5/#111827).
  • Business code uses only $primary-*/$gray-*/$color-* (SCSS) or PRIMARY_*/GRAY_*/COLOR_* (TS).
  • Off-scale colors are forbidden and enforced.

After the user changes theme.json, always run:

bash
npm run theme:sync   # regenerate config + colors.ts + allowlist
npm run theme:check  # must pass: no off-scale colors in business code

Before implementing key pages, optionally invoke a design skill for a polished result:

  • For general UI/UX decisions, multi-style comparison, and accessibility review: use ui-ux-pro-max.
  • For distinctive, production-grade interface design with concrete Vue/uni-app code: use frontend-design.

If these skills are unavailable or the user declines, proceed with the chosen layout pattern from references/layout-patterns.md.

Prompt example:

text
/ ui-ux-pro-max
Design a home page for a water-tracking mini-program. Style: clean and healthy, primary color #10b981. Required elements: today's progress ring, quick-add buttons, recent records. Output component structure and SCSS token usage for uni-app.

After receiving the design, confirm it maps to the project's theme tokens before writing code.

When writing components and pages, optionally invoke ponytail to keep the implementation minimal:

text
/ponytail full
Implement the home page for a water-tracking mini-program using the design above. Use uni-app Vue3 + TypeScript + SCSS. Keep components small and avoid unnecessary abstractions.

Guidelines from ponytail to enforce:

  • Prefer uni.xxx APIs and native platform features over custom code.
  • Do not create interfaces or configs with only one implementation.
  • Delete unused code rather than keeping it "for later".
  • One-line solutions are acceptable when correct.

If ponytail is unavailable, apply the same principles manually.

3.4 Generate Static Assets

Follow references/static-assets-guide.md.

For every project:

  1. Icons: Generate tabBar icons via frontend-icon-skill skill. If frontend-icon-skill is unavailable, use placeholder PNGs and document that they need replacement.
  2. Avatar placeholder: Generate or fetch a placeholder avatar.
  3. Real photos: Fetch banners, empty states, and decorative images via Pexels API. If the user has no Pexels API key, use default placeholder images and document the limitation.
  4. Record the asset list in CLAUDE.md / AGENTS.md.

Example prompts:

text
/ frontend-icon-skill
Generate a set of clean health-style tabBar icons: home, data, discover, profile. Each icon needs active (primary color fill) and inactive (gray outline) states. Size 81x81px, PNG, output to static/tab-bar/.

For Pexels images, follow references/pexels-integration.md:

  • Create .env with PEXELS_API_KEY=...
  • Create src/utils/pexels.ts
  • Search and download images, compress them, and place in static/images/

Important: Never use CSS gradients or solid color blocks as image resources. Always use real photos or user-provided images.

3.5 Choose Layout Pattern

Use references/layout-patterns.md to select a layout style based on the user's answers.

Then implement:

  1. pages.json with tabBar, navigation bar, and page routes.
  2. App.vue with global styles and safe-area handling.
  3. Common layout components: AppHeader, AppTabBar if custom tabBar is needed.
  4. Core pages:
    • pages/index/index.vue — home
    • pages/profile/index.vue — profile (avatar, nickname, settings)
    • Additional pages from spec.md
Show full SKILL.md (756 more words)Show less
3.6 Build Core Components and Pages

Use the theme tokens and generated assets. Follow the rules in CLAUDE.md / AGENTS.md.

Common components to create:

  • AppButton — primary/secondary/ghost variants
  • AppTab — segmented/top tab, v-model + items
  • AppPopup — bottom/center popup with mask
  • AppCard — content card with shadow and radius
  • AppEmpty — empty state with real image and text
  • AppInput — input with border/focus tokens
  • AppAvatar — user avatar with placeholder

Reuse rule (strict): pages must import these shared components and must not hand-roll <button>, tab bars, or popups. Identical UI across pages A/B/C must come from the same component so theme color, size, and radius stay consistent. See references/component-standards.md for the canonical component table and grep checks.

3.7 Implement State Management

Set up Pinia:

  • src/stores/index.ts — store export
  • src/stores/modules/user.ts — user state
  • src/stores/modules/app.ts — app-level state
3.8 Use Platform Abstraction Layer

Use the utilities provided in the boilerplate to handle platform differences without scattering #ifdef throughout business code:

  • src/utils/platform.ts — getPlatform(), isH5(), isMpWeixin(), isApp(), getSafeAreaBottom()
  • src/utils/platform-auth.ts — platformLogin(), getUserProfile()
  • src/utils/platform-share.ts — platformShare()
  • src/utils/platform-image.ts — chooseImage(), resolveImageUrl(), downloadImage()
  • src/utils/request.ts — automatically uses VITE_BASE_URL / VITE_H5_BASE_URL / VITE_APP_BASE_URL

Example:

typescript
import { platformLogin } from '@/utils/platform-auth';
import { platformShare } from '@/utils/platform-share';

const auth = await platformLogin();
platformShare({ title: '分享标题', path: '/pages/index/index' });
3.9 Ensure Cross-Platform Compatibility

Follow references/cross-platform-compatibility.md to ensure the generated code works on WeChat mini-program, H5, and App.

Key rules:

  • Use uni-app components: view, text, image, scroll-view, swiper, button, etc.
  • Do not use H5 tags: div, span, p, h1~h6, section, article.
  • Do not use background-image: url(...) for important images; use the image component.
  • Do not use CSS custom properties var(--xxx); use SCSS variables.
  • Prefer uni.xxx APIs over browser APIs (fetch, window, document, localStorage).
  • Use rpx for responsive sizing.
  • Handle safe-area for notched screens.

When platform-specific behavior is required, use uni-app conditional compilation:

vue
<!-- #ifdef MP-WEIXIN -->
<text>WeChat only</text>
<!-- #endif -->

Phase 4: Post-development

4.1 Run Lint

Always run:

bash
npm run lint

Fix any errors introduced by the generated code. Pre-existing errors should be reported to the user but not silently fixed.

4.2 Build Verification

Run the development server or production build:

bash
npm run dev:mp-weixin
# or
npm run build:mp-weixin

Confirm the build starts without module-resolution errors.

4.3 Check Against mini-program-checklist.md

Use references/mini-program-checklist.md to verify the project is ready:

  • Theme system configured
  • Static assets generated
  • Core pages implemented
  • Lint and build pass
  • WeChat-specific features considered (login, share, update, subpackages if needed)
4.4 Summarize Deliverables

Provide the user with:

  1. Project structure overview
  2. Generated files list
  3. Theme color and layout style chosen
  4. Lint/build status
  5. Pexels API key status (configured or placeholder)
  6. Suggested next steps

Resources

This skill includes the following reference documents and bundled assets. Load them as needed during execution:

  • assets/boilerplate/ — minimal runnable uni-app project template with theme system, stores, request util, and sample pages
  • references/project-structure.md — standard directory structure and naming conventions
  • references/theme-system.md — dynamic theme system specification, scale generation, and the off-scale color gate
  • references/component-standards.md — canonical shared components and the strict reuse rule
  • references/cross-platform-compatibility.md — rules for WeChat / H5 / App compatibility
  • references/design-skills-guide.md — when and how to use ponytail, ui-ux-pro-max, frontend-design
  • references/pexels-integration.md — Pexels API setup, .env template, and fetch utility
  • references/wechat-common-patterns.md — login, share, subpackages, payment, update, image upload
  • references/mini-program-checklist.md — launch → dev → test → release checklist
  • references/claude-md-template.md — template for generating CLAUDE.md
  • references/agents-md-template.md — template for generating AGENTS.md
  • references/layout-patterns.md — layout style options and tabBar configuration
  • references/static-assets-guide.md — icon/image generation rules and asset list

Best Practices

  • Always confirm the spec with the user before writing code.
  • Do not commit code on behalf of the user.
  • Keep CLAUDE.md concise; put detailed rules in AGENTS.md.
  • Prioritize WeChat mini-program syntax; ensure H5 and App compatibility.
  • Never use H5 tags (div, span, p, h1~h6) in templates.
  • Never use background-image: url(...) for important images; use the image component.
  • Never use CSS custom properties var(--xxx); use SCSS variables.
  • Never use emoji in the generated UI.
  • Never use gradients or solid color blocks as image resources; use Pexels for real photos.
  • Generate icons via frontend-icon-skill when available; otherwise use placeholder PNGs.
  • Fetch photos via Pexels API with key from .env when available; otherwise use default placeholders.
  • Invoke frontend-design or ui-ux-pro-max before key pages when available.
  • Invoke ponytail during implementation when available, or apply its principles manually.
  • Ask the user for theme configuration (colors, spacing, font, radius) and regenerate tokens accordingly.
  • After editing theme.json, always run npm run theme:sync then npm run theme:check; never hand-edit colors.ts or .theme-scale.json.
  • Never use off-scale colors: business code may only use $primary-*/$gray-*/$color-* or PRIMARY_*/GRAY_*/COLOR_*; no raw #hex/rgb()/hsl().
  • Reuse shared components strictly: pages import AppButton/AppTab/AppPopup/AppCard/AppEmpty/AppInput/AppNavbar and never hand-roll the same UI; see references/component-standards.md.
  • For custom navigation bars ("navigationStyle": "custom"), the capsule button must occupy its own row — only the back icon may share that row; title and content sit below it, and page content must never overlap the capsule. Default (non-custom) navigation bars need no handling.
  • Use the references/mini-program-checklist.md before claiming the project is done.
  • After every code generation pass, run npm run lint.

© jiushiwon, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 115 other files (references, assets) in vibeCoding/frontend/uniapp/uniapp-app-generate-skill of jiushiwon/wg-skills.

  • SKILL.md
  • README.md
  • assets/boilerplate/.claudeignore
  • assets/boilerplate/.env.example
  • assets/boilerplate/.eslintrc.cjs
  • assets/boilerplate/.gitignore
  • assets/boilerplate/README.md
  • assets/boilerplate/index.html
  • assets/boilerplate/package.json
  • assets/boilerplate/scripts/.theme-scale.json
  • assets/boilerplate/scripts/check-colors.js
  • assets/boilerplate/scripts/sync-theme.js
  • assets/boilerplate/scripts/verify.js
  • assets/boilerplate/src/App.vue
  • assets/boilerplate/src/api/index.ts
  • assets/boilerplate/src/api/modules
  • … and 100 more

Open the folder on GitHubat commit 3569fb8

Compare with similar skills

Uniapp App Generate Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Uniapp App Generate Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Uniapp App Generate Skill this skilljiushiwon/wg-skills114—~5kAutomated safety check: NotesApache-2.0
Trellis StartROYIANS/foliq-print-template-designer1366 repos~646Automated safety check: PassMIT
Chatgpt App Builderalpic-ai/skybridge2.2k—~1kAutomated safety check: PassMIT
MCP App Builderalpic-ai/skybridge2.2k—~906Automated safety check: PassMIT
Skybridgealpic-ai/skybridge2.2k—~923Automated safety check: PassMIT
Init Ruleslifedever/claude-rules191—~652Automated safety check: PassMIT

Similar skills

  • Trellis Start

    ROYIANS/foliq-print-template-designer

    Initializes an AI development session by reading workflow guides, developer identity, git status, active tasks, and project guidelines from .trellis/.

    136 GitHub starsUsed in 6 repos~646 tokens
    Agent WorkflowsAuto-check passed
  • Chatgpt App Builder

    alpic-ai/skybridge

    Guide developers through creating and updating ChatGPT plugins.

    2.2k GitHub stars~1k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • MCP App Builder

    alpic-ai/skybridge

    Guide developers through creating and updating MCP Apps. An agent skill from alpic-ai/skybridge.

    2.2k GitHub stars~906 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Skybridge

    alpic-ai/skybridge

    Guide developers through creating and updating ChatGPT plugins and MCP Apps.

    2.2k GitHub stars~923 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Init Rules

    lifedever/claude-rules

    Initialize or update CLAUDE.md coding standards for any project by auto-detecting tech stack and assembling rules from the claude-rules template library.

    191 GitHub stars~652 tokensUpdated 6 mo ago
    Agent WorkflowsAuto-check passed
  • Architecture

    pikax/verter

    Verter codebase architecture: high-level module map, TypeScript packages, plugin system, CSS analysis, MCP server, static analysis types

    113 GitHub stars~5.6k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from jiushiwon/wg-skills

All 12 skills in this repo
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    114 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Workflow Diagram Skill

    jiushiwon/wg-skills

    A skill your agent uses when 用户想用一句话生成流程图、工作流图解、开发流程图、AI 流程图或任何步骤型图解,支持多风格输出(flat icon / 暖白手账风 / dark / cute),并提供现成模板一键出图。

    114 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Fastapi Init Skill

    jiushiwon/wg-skills

    FastAPI 项目一键初始化技能。面向零基础小白,提供环境探测、自动安装、完整 Web 骨架生成、SSE 流式框架、JWT 鉴权、统一响应封装、文件上传接口、一键启动/重启脚本、Swagger 文档,内置 MySQL(默认)/ PostgreSQL / MongoDB 数据库选择。用户只需说"帮我搭一个 FastAPI 项目"即可一条命令完成从零到跑的完整链路。触发词:"FastAPI…

    114 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check: notes
  • Ffmpeg Skill

    jiushiwon/wg-skills

    FFmpeg 多媒体处理技能 — 将自然语言描述转为正确的 ffmpeg 命令,覆盖视频剪辑、转码、水印、合成、提取、生成等操作。内置一键安装脚本(Windows/Mac/Linux)。触发词:ffmpeg、视频剪辑、视频裁剪、视频转码、视频压缩、去水印、加水印、视频拼接、视频合成、提取音频、视频转…

    114 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Frontend Request Skill

    jiushiwon/wg-skills

    A skill your agent uses when designing or reviewing the request layer of a frontend project (web / uni-app / mini-program), including request.ts wrappers, interceptors, deduplication, mocks, error…

    114 GitHub stars~3.6k tokensUpdated 3 days ago
    Auto-check passed
  • React Generate Skill

    jiushiwon/wg-skills

    This skill should be used when the user wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch.

    114 GitHub stars~2.8k tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Uniapp App Generate Skill

What does Uniapp App Generate Skill do?

This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch. Uniapp App Generate Skill is an agent skill from jiushiwon/wg-skills. This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch.

When should I use Uniapp App Generate Skill?

Uniapp App Generate Skill fits situations like: wants to create a standardized uni-app project for WeChat mini-program; app from scratch; says 帮我做一个 uniapp 小程序/三端应用、初始化 uniapp 项目、uniapp 构建; similar requests.

How do I install Uniapp App Generate Skill in Claude Code?

Run `npx skills add jiushiwon/wg-skills --skill uniapp-app-generate-skill -a claude-code`. Or copy the skill folder (vibeCoding/frontend/uniapp/uniapp-app-generate-skill in jiushiwon/wg-skills) into .claude/skills/uniapp-app-generate-skill in your project. Claude Code loads it when a task matches its description.

How do I install Uniapp App Generate Skill in Codex?

Run `npx skills add jiushiwon/wg-skills --skill uniapp-app-generate-skill -a codex`. Or copy the skill folder (vibeCoding/frontend/uniapp/uniapp-app-generate-skill in jiushiwon/wg-skills) into .agents/skills/uniapp-app-generate-skill in your project. Codex loads it when a task matches its description.

Can I use Uniapp App Generate Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jiushiwon/wg-skills --skill uniapp-app-generate-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/uniapp-app-generate-skill, .gemini/skills/uniapp-app-generate-skill, .github/skills/uniapp-app-generate-skill and .opencode/skills/uniapp-app-generate-skill in your project.

What does Uniapp App Generate Skill need to run?

Going by SKILL.md and its folder, Uniapp App Generate Skill needs JavaScript and TypeScript for the scripts in its folder, the command-line tools its instructions call (npm and npx) and credentials named PEXELS_API_KEY and VITE_PEXELS_API_KEY. Our summary lists: Node.js; A credential in VITE_PEXELS_API_KEY.

Does Uniapp App Generate Skill access the network?

SKILL.md names 1 domain. As links in the text: pexels.com. This is read from the text; nothing was executed.

Is Uniapp App Generate Skill safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Uniapp App Generate Skill use?

Uniapp App Generate Skill is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Uniapp App Generate Skill use?

About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 20k tokens, read only when the agent opens those files.

What are the alternatives to Uniapp App Generate Skill?

Skills that share tags, products or a category with Uniapp App Generate Skill: Trellis Start (ROYIANS/foliq-print-template-designer, 136 stars), Chatgpt App Builder (alpic-ai/skybridge, 2.2k stars), MCP App Builder (alpic-ai/skybridge, 2.2k stars) and Skybridge (alpic-ai/skybridge, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Uniapp App Generate Skill?

jiushiwon (a GitHub user) maintains it in jiushiwon/wg-skills, which has 114 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: jiushiwon/wg-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.