uniapp-ui-template-builder-skill

uniapp-ui-template-builder-skill is a skill for Claude Code from jiushiwon/wg-skills. It costs 56 tokens per session (5,074 once invoked), scanned A, original, Apache-2.0.

A page-building workflow based on reusable templates for common screens such as profiles, product pages, login pages, dashboards, and settings. It can generate matching sample data when requested.

In plain words
What is it for?
Use it to create consistent uni-app, Taro, Vue, React, or mobile and desktop web pages from predefined templates.
Why use it?
It reduces the repeated decisions involved in choosing a page type, visual style, and starter content.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node references/theme-generator.js modern.

Good fit Use it to create consistent uni-app, Taro, Vue, React, or mobile and desktop web pages from predefined templates.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills
agentmods
npx agentmods add skills/jiushiwon/wg-skills/uniapp-ui-template-builder-skill

Made for: Claude Code.

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-ui-template-builder-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-ui-template-builder-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-ui-template-builder-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-ui-template-builder-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-ui-template-builder-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-ui-template-builder-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-ui-template-builder-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-ui-template-builder-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,074 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 pass 7 Sept 2026
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.00056 $0.05074
Opus 5 $0.00028 $0.02537
Sonnet 5 $0.00011 $0.01015
Haiku 4.5 $0.00006 $0.00507

Measured 9d ago against content hash 799daf857615, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

uniapp-ui-template-builder-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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (components/common/validators.ts), 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-ui-template-builder-skill/SKILL.md · 657 lines

How it starts

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

UI Template Builder

页面模板固化技能:把常见页面固化下来,每次生成基于模板,确保效果稳定。

核心设计

用户:帮我做个个人中心页面
AI:
  1. 确认技术栈(uniapp Vue3)
  2. 确认页面类型(个人中心)
  3. 确认风格(简约现代)
  4. 确认是否mock(是)
  5. 基于模板生成代码

三个必须确认的配置(有默认值):

  1. 做什么页面 → 从模板库选择
  2. 什么风格 → 风格库选择,每种页面3-5套风格
  3. 是否mock数据 → 开启则生成配套mock数据

交互流程

步骤1:确认技术栈

AI:请问您使用的技术栈是?
- uniapp (Vue2)
- uniapp (Vue3)
- React + Vite
- Vue3 + Vite
- Taro (React)
- Taro (Vue3)
- 移动端 H5
- PC 端 H5

默认值:uniapp (Vue3)

步骤2:确认页面类型

AI:请选择要生成的页面类型:

【移动端 - uniapp/Taro】
┌─────────────────────────────────────┐
│ 📱 个人中心      │ 商品详情页        │
│ 🛒 商品列表页    │ 分类页面          │
│ 🏠 首页          │ 购物车页面        │
│ 💬 聊天列表页    │ 订单列表页        │
│ 📋 表单页面      │ 设置页面          │
│ 🎁 活动页面      │ 搜索结果页        │
└─────────────────────────────────────┘

【PC 端】
┌─────────────────────────────────────┐
│ 🔐 登录页        │ 注册页            │
│ 📊 数据大屏      │ 管理后台首页      │
│ 📋 表格列表页    │ 表单填写页        │
│ 📰 文章详情页    │ 门户网站首页      │
│ 💼 企业官网      │ 文档页面          │
└─────────────────────────────────────┘

输入页面名称或序号,或直接描述(如"做一个个人中心")

步骤3:确认风格(核心!)

每种页面都提供 3-5 套风格 供选择:

AI:请选择风格(共 X 套可选):

┌─────────────────────────────────────────────────────────────┐
│ 风格1: 简约现代      │ 白色为主,文字为主,少装饰            │
│ 风格2: 活力炫彩      │ 渐变色,圆形图标,活跃氛围            │
│ 风格3: 高端商务      │ 深色系,金色点缀,精致感              │
│ 风格4: 清新自然      │ 绿色/蓝色系,圆角卡片,亲和力         │
│ 风格5: 暗黑科技      │ 深色背景,霓虹点缀,赛博朋克          │
└─────────────────────────────────────────────────────────────┘

默认值:简约现代

步骤4:确认Mock数据

AI:是否需要生成Mock数据?
- ✅ 是,生成配套的mock数据文件(推荐)
- ❌ 否,只需要页面模板

默认值:是

Mock数据说明

  • 使用 JSON Server / Mock.js 兼容格式
  • 字段命名符合业务语义
  • 数据量适中(5-20条典型数据)
  • 包含边界状态(空数据、加载中、错误态)

页面模板库

移动端模板(uniapp/Taro)

1. 个人中心页面
风格 特点 适用场景
简约现代 白色背景,头像+昵称+统计,列表式入口 工具类App
活力炫彩 渐变头部,卡片式布局,图标丰富 电商/社交
高端商务 深色头部,金色/品牌色点缀,会员感 金融/高端
清新自然 浅绿/浅蓝背景,卡片圆润,亲和力 健康/母婴

模板结构

个人中心/
├── header.vue          # 头部区域(头像/昵称/背景)
├── stats.vue           # 统计数据(订单/积分/优惠券)
├── menu-grid.vue       # 功能菜单(网格布局)
├── menu-list.vue       # 功能菜单(列表布局)
├── footer.vue          # 底部(退出/设置)
└── mock.json           # Mock数据

Read the full file on GitHub · 657 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. 9d ago First seen · 657 lines · 56 tokens per session scan A 799daf857615

Subscribe to this mod's changes

uniapp-ui-template-builder-skill is a skill published in the GitHub repository jiushiwon/wg-skills (100 stars, last pushed 2d ago), licensed Apache-2.0. It adds 56 tokens to every session and 5,074 once invoked, about $0.0003 per session on Opus 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-09-03.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens