uniapp-app-generate-skill

uniapp-app-generate-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 106 tokens per session (1,301 once invoked), scanned A, original, Apache-2.0.

A guided project generator for uni-app, a framework for building WeChat mini-programs, websites, and mobile apps from one codebase. It sets up a Vue 3, TypeScript, and Pinia project with a planned structure and design system.

In plain words
What is it for?
Use it to start a new uni-app project for a WeChat mini-program, H5 website, or mobile app. It helps plan the project, create its files, build core pages, set up themes and assets, and check the result.
Why use it?
It turns an idea into an organized starting project and guides decisions about scope, pages, layout, and assets. This reduces the need to assemble the project structure and development workflow manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to start a new uni-app project for a WeChat mini-program, H5 website, or mobile app. It helps plan the project, create its files, build core pages, set up themes and assets, and check the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/uniapp-app-generate-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jiushiwon/wg-skills --skill uniapp-app-generate-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uniapp-app-generate-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-app-generate-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-app-generate-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-app-generate-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-app-generate-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uniapp-app-generate-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-app-generate-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-app-generate-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,301 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 39
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 239
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 250
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 503
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Excessive Agency · line 140
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium MCP Rug Pull · line 147
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.01301
Opus 5.5 $0.00042 $0.00520
Sonnet 5.5 $0.00021 $0.00260
Haiku 4.5 $0.00011 $0.00130

Measured 7d ago against content hash 5dcf49b9a808, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uniapp-app-generate-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 23 executable files (assets/boilerplate/.eslintrc.cjs, assets/boilerplate/scripts/check-colors.js, assets/boilerplate/scripts/sync-theme.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vibeCoding/frontend/uniapp/uniapp-app-generate-skill/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UniApp 三端项目初始化技能

将模糊的小程序想法转化为生产级的 uni-app 项目,统一架构、设计令牌、静态资源、编码标准。

核心能力

能力 说明
四阶段工作流 需求 → 初始化 → 开发 → 交付
动态主题系统 单色系生成 50~900 调色板
静态资源 TabBar 图标 + 占位图
三端兼容 小程序 / H5 / App 一套代码
平台抽象层 登录/分享/图片统一封装

三端差异处理

1.1 小程序 vs H5 vs App 核心差异

维度 小程序 H5 App
渲染方式 微信WebView 浏览器 原生渲染
API wx.xxx browser APIs plus.xxx
路由 wx.navigateTo history API native navigation
登录 wx.login OAuth OAuth / 第三方 SDK
支付 wx.requestPayment 微信 JSAPI 第三方 SDK
推送 订阅消息 Web Push 推送 SDK
发布 微信后台 CDN 应用商店

1.2 条件编译

<template>
<!-- #ifdef MP-WEIXIN -->
<text>微信小程序特有</text>
<!-- #endif -->

<!-- #ifdef H5 -->
<text>H5 特有</text>
<!-- #endif -->

<!-- #ifdef APP-PLUS -->
<text>App 特有</text>
<!-- #endif -->
</template>


1.3 平台判断

// src/utils/platform.ts
export const isMpWeixin = () => {
  // #ifdef MP-WEIXIN
  return true;
  // #endif
  return false;
};

export const isH5 = () => {
  // #ifdef H5
  return true;
  // #endif
  return false;
};

export const isApp = () => {
  // #ifdef APP-PLUS
  return true;
  // #endif
  return false;
};

1.4 打包命令差异

平台 开发命令 打包命令
微信小程序 npm run dev:mp-weixin npm run build:mp-weixin
H5 npm run dev:h5 npm run build:h5
App (Android) npm run dev:app-plus npm run build:app-plus
App (iOS) - HBuilderX 打包

工作流程

Phase 1: 需求确认

问用户 3-5 个关键问题:

  1. 小程序解决什么问题?目标用户是谁?
  2. 核心功能有哪些?列出 3-5 个核心页面
  3. 倾向哪种视觉风格?清新健康 / 极简工具 / 活泼社区 / 商务数据
  4. 底部 TabBar 需要几个入口?
  5. 是否需要用户登录?

Phase 2: 项目初始化

  1. 复制 boilerplate 模板
  2. 替换占位符(项目名、描述)
  3. 创建标准目录结构
  4. 生成 CLAUDE.md / AGENTS.md

Phase 3: 主题系统

  1. 询问主题配置(主色/成功/警告/错误色)
  2. 生成 theme.json
  3. 运行 npm run theme:sync
  4. 验证 npm run theme:check

Phase 4: 开发

  1. 布局设计(TabBar + 页面)
  2. 核心页面(首页/列表/详情/我的)
  3. 公共组件(AppButton/AppCard/AppInput 等)
  4. 状态管理(Pinia)

Read the full file on GitHub · 161 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +4 lines 5dcf49b9a808
  2. 18d ago Changed · -376 lines · -14 tokens per session d1e6413a4604
  3. 1mo ago Changed da1360afef73
  4. 2mo ago First seen · 533 lines · 120 tokens per session scan A 54e395caaa2d

Subscribe to this mod's changes

uniapp-app-generate-skill is a skill published in the GitHub repository jiushiwon/wg-skills (122 stars, last pushed 4d ago), licensed Apache-2.0. It adds 106 tokens to every session and 1,301 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

konsta-ui

Builds Capacitor app UI with Konsta UI v5 (Tailwind CSS v4-based iOS and Material components for React 19, Vue 3, Svelte 5) - CSS-first setup (@import 'tailwindcss'; @import 'konsta/react/theme.css';), --color-brand- colors in @theme, , KonstaProvider when mixing with Ionic, ios:/material: variants…

Cap-go/capgo-skills · 229 tokens

capacitor-vue

Guides the agent through Vue-specific patterns for Capacitor app development. Covers Vue 3 Composition API with Capacitor plugins, custom composables for native features, reactive plugin state, lifecycle hook patterns, Vue Router deep link integration, platform detection, PWA Elements setup, Quasar Framework…

capawesome-team/skills · 103 tokens

ionic-vue

Guides the agent through Ionic Vue development patterns — project structure, Vue-specific Ionic components (IonPage, IonRouterOutlet, IonTabs), navigation with Vue Router and useIonRouter, Ionic lifecycle hooks (onIonViewWillEnter, onIonViewDidEnter, onIonViewWillLeave, onIonViewDidLeave), composable utilities…

capawesome-team/skills · 167 tokens

ionic-framework-mcp

Guides the agent through connecting an MCP client to the hosted, unofficial Ionic Framework MCP server by Capawesome, which serves the official Ionic Framework documentation for v9 and v8, the component API reference, the official usage examples for Angular, React, Vue and vanilla JavaScript, and the Ionic blog.…

capawesome-team/skills · 141 tokens

uview-pro

A component guide for uView Pro, a UI library for uni-app applications. uni-app is a Vue-based framework for building apps for mobile, web, and several mini-program platforms.

uview-pro/skills · 271 tokens

uniappx-project-creator

Provides one-command project creation for uni-app-x including Vue 3 + TypeScript + Vite setup, configuration, and template generation. Use when the user asks to create a uni-app-x project with a single command, needs to initialize a new uni-app-x project, or generate uni-app-x project structure.

full-stack-skills/uniapp-skills · 69 tokens