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.
npx skills add jiushiwon/wg-skills --skill uniapp-ui-component-commands-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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.
[](https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-ui-component-commands-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-ui-component-commands-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-ui-component-commands-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.
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-ui-component-commands-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-ui-component-commands-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.03661 |
| Opus 5 | $0.00021 | $0.01831 |
| Sonnet 5 | $0.00008 | $0.00732 |
| Haiku 4.5 | $0.00004 | $0.00366 |
Grade A, and why
uniapp-ui-component-commands-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.
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.
How it starts
The opening of the file, as written. The whole thing — 435 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI Component Commands
可扩展的前端UI组件指令系统:把做过的复杂组件沉淀成指令,下次直接复用。
核心理念
用户:帮我做个顶部导航,要自定义标题,左边返回,右边分享
AI:生成 nav-bar 组件 → 沉淀到 components/nav-bar/ → 下次直接用
用户:加个tab切换
AI:检测 tab-bar 已沉淀 → 直接输出 <tab-bar :tabs="[...]" />
不是写死几个class,而是做一个可扩展的框架。
技术栈确认(首次使用必问)
⚠️ 重要:每次用户请求组件时,首次使用必须先确认技术栈
AI:请问您使用的是哪种技术栈?
- H5(原生 HTML/CSS/JS)
- Vue2 (uniapp Vue2)
- Vue3 (uniapp Vue3 / Vue3)
- React
- Taro
用户选择后,后续组件生成和代码输出都基于该技术栈。
触发场景
自动触发
当用户请求以下类型的UI时,自动启用:
| 类型 | 示例 |
|---|---|
| 导航类 | 顶部导航、底部tab、侧边栏、面包屑 |
| 列表类 | 商品卡片、文章列表、聊天记录、时间线 |
| 表单类 | 搜索框、输入框、选择器、开关 |
| 反馈类 | 弹窗、轻提示、加载态、空状态 |
| 业务类 | 头像、价格标签、倒计时、优惠券 |
固化指令触发
当用户使用以下句式时,识别为固化请求:
固化[标签名]
把这个[代码/模块]固化成一个指令
做一个[描述],固化下来
记录[标签名]=[代码]
示例:
固化"常规tab"
固化"商品卡片":<复制代码>
做一个带轮播的商品块,固化
记录 product-card=<代码>
两种内置组件方式
方式一:从页面拷贝(代码固化)
适用于用户已有现成组件代码的场景:
用户:把这代码固化成一个指令,标签叫"常规tab"
AI 解析代码 → 提取特征 → 生成组件 → 记录指令
方式二:直接内置常用组件(预置组件库)
内置覆盖 90% 常见场景的组件库,无需用户每次重新定义:
- 导航类:nav-bar、tab-bar、top-tab、side-menu、breadcrumb
- 列表类:list-item、product-card、article-card、chat-bubble、timeline
- 表单类:search-bar、input-field、picker、date-picker、switch、checkbox-group、radio-group
- 反馈类:toast、modal、action-sheet、loading、empty-state
- 业务类:user-avatar、price-tag、count-down、progress-bar、stepper、coupon
- 按钮类:btn-primary、btn-secondary、btn-ghost、btn-icon
- 线条类:solid-line、dashed-line、gradient-line、space-line、v-solid-line
- 图形类:semi-circle、circle、dot
- 组合类:icon-tag、badge
- 卡片类:card-basic、card-elevated、card-glass
组件体系
导航类 (navigation)
| 组件 | 说明 | 别名 |
|---|---|---|
nav-bar |
自定义导航栏(返回/标题/右侧操作/胶囊按钮) | 导航栏、header、头部 |
tab-bar |
底部Tab栏(图标+文字+选中态) | 底部导航、tab切换 |
top-tab |
顶部Tab切换 | 顶部tab、分类切换 |
side-menu |
侧边栏菜单 | 侧边导航、抽屉 |
breadcrumb |
面包屑导航 | 路径导航 |
列表类 (list)
| 组件 | 说明 | 别名 |
|---|---|---|
list-item |
列表项(图标/箭头/开关) | 列表项、单元格 |
product-card |
商品卡片(图片/标题/价格/按钮) | 商品、商品块 |
article-card |
文章卡片 | 文章、文章块 |
chat-bubble |
聊天气泡 | 消息气泡、对话气泡 |
timeline |
时间线 | 时间轴 |
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.
- commands/button.md 1.7 KB
- commands/card.md 1.4 KB
- commands/combo.md 2.6 KB
- commands/feedback.md 2.3 KB
- commands/form.md 3.3 KB
- commands/line.md 1.5 KB
- commands/list.md 2.8 KB
- commands/navigation.md 2.8 KB
- commands/shape.md 1.3 KB
- components/_registry.json 3.3 KB
- components/_template/index.vue 444 B
- components/_template/props.json 472 B
- components/_template/usage.md 287 B
- components/business/count-down/index.vue 3.0 KB
- components/business/count-down/props.json 668 B
- components/business/count-down/usage.md 321 B
- components/business/coupon/index.vue 3.5 KB
- components/business/coupon/props.json 976 B
- components/business/coupon/usage.md 372 B
- components/business/price-tag/index.vue 1.7 KB
- components/business/price-tag/props.json 673 B
- components/business/price-tag/usage.md 304 B
- components/business/progress-bar/index.vue 1.8 KB
- components/business/progress-bar/props.json 754 B
- components/business/progress-bar/usage.md 336 B
- components/business/stepper/index.vue 2.3 KB
- components/business/stepper/props.json 649 B
- components/business/stepper/usage.md 217 B
- components/business/user-avatar/index.vue 1.5 KB
- components/business/user-avatar/props.json 606 B
- components/business/user-avatar/usage.md 442 B
- components/button/btn.scss 1.5 KB
- components/button/props.json 516 B
- components/button/usage.md 607 B
- components/card/card.scss 589 B
- components/card/props.json 374 B
- components/card/usage.md 305 B
- components/combo/combo.scss 718 B
- components/combo/props.json 361 B
- components/combo/usage.md 385 B
- components/feedback/action-sheet/index.vue 2.1 KB
- components/feedback/action-sheet/props.json 709 B
- components/feedback/action-sheet/usage.md 335 B
- components/feedback/empty-state/index.vue 1.7 KB
- components/feedback/empty-state/props.json 719 B
- components/feedback/empty-state/usage.md 414 B
- components/feedback/loading/index.vue 2.4 KB
- components/feedback/loading/props.json 652 B
- components/feedback/loading/usage.md 324 B
- components/feedback/modal/index.vue 2.4 KB
- components/feedback/modal/props.json 978 B
- components/feedback/modal/usage.md 400 B
- components/feedback/toast/index.vue 1.9 KB
- components/feedback/toast/props.json 805 B
- components/feedback/toast/usage.md 340 B
- components/form/checkbox-group/index.vue 2.2 KB
- components/form/checkbox-group/props.json 583 B
- components/form/checkbox-group/usage.md 267 B
- components/form/date-picker/index.vue 1.5 KB
- components/form/date-picker/props.json 697 B
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.
- 9d ago First seen · 435 lines · 42 tokens per session scan A b141ec39a83f
uniapp-ui-component-commands-skill is a skill published in the GitHub repository jiushiwon/wg-skills (100 stars, last pushed 2d ago), licensed Apache-2.0. It adds 42 tokens to every session and 3,661 once invoked, about $0.0002 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.
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…
antigravity-design-expert
Core UI/UX engineering skill for building highly interactive, spatial, weightless, and glassmorphism-based web interfaces using GSAP and 3D CSS.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
liquid-metal-border
Add and tune animated liquid-metal WebGL borders with the React metal-fx package. Use when buttons, icon controls, chips, tabs, cards, or selected surfaces need a metallic active, selected, hover, focus, or premium border; when implementing the MetalFx component from metal.jakubantalik.com; or when troubleshooting its…
21st-ui
Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.