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-standard-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-standard-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-standard-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-standard-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-standard-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-standard-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 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 384 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 Tool Misuse · line 178 Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
- medium Tool Misuse · line 252 Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
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.00046 | $0.03777 |
| Opus 5 | $0.00023 | $0.01888 |
| Sonnet 5 | $0.00009 | $0.00755 |
| Haiku 4.5 | $0.00005 | $0.00378 |
Grade A, and why
uniapp-standard-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 — 410 lines — stays where its author put it; the contents beside it link to each section on GitHub.
uniapp 开发通用规范 Skill
Overview
本 skill 提供 uniapp 微信小程序项目的通用开发规范,不包含业务逻辑,只涵盖技术框架层面的最佳实践。
技术栈:uni-app + Vue3 + TypeScript + Pinia + SCSS
配套技能:
- uniapp-components-skill — 登录鉴权与安全规范
- uniapp-style-skill — 设计系统与组件规范
When to Use
- "uniapp 开发规范"
- "小程序规范"
- "接口怎么写"
- "uniapp 项目结构怎么组织"
- "状态管理"
- "路由规范"
- "性能优化"
快速索引
| 规范主题 | 位置 | 说明 |
|---|---|---|
| 红线规则 | #一-核心红线规则 | 20 条强制规范 |
| 目录结构 | #二-目录结构规范 | 通用项目结构 |
| 接口规范 | #三-接口规范 | 通用请求封装架构 |
| 性能规范 | #四-性能优化规范 | 渲染、加载、内存 |
| 常用命令 | #五-常用命令 | 开发、构建命令 |
| 项目模板 | #六-项目模板 | 配置模板文件 |
一、核心红线规则
违反以下任意规则即视为不符合规范
| 编号 | 规则 | 说明 |
|---|---|---|
| R01 | 禁止嵌套 v-for | 单个页面 v-for 层数 ≤ 1 |
| R02 | data 只存视图数据 | 过滤接口原始数据 |
| R03 | 优先使用 uni.xxx | 禁止私有 API |
| R04 | DOM 节点数限制 | 详见性能规范 |
| R05 | 长列表必须分页 | 懒加载 + 分页 |
| R06 | setData 数据量限制 | 详见性能规范 |
| R07 | 禁止 eval/new Function | 危险方法 |
| R08 | 禁止硬编码 | 配置项放 config 目录 |
| R09 | 请求防抖节流 | 同一接口 1 秒内禁止重复 |
| R10 | 失败必须弹提示 | 所有失败场景必须向用户暴露错误 |
| R11 | AI 生成后必须 lint | npm run lint |
| R12 | 提交前必须 lint | 通过后才能提交 |
| R13 | commit 必须用中文 | 禁止纯英文 |
| R14 | commit 长度限制 | subject ≤ 50 字 |
| R15 | SCSS 必须用 Token | 详见 uniapp-style-skill |
| R16 | Mock 放 mocks/ | 禁止写在 API 文件或页面中 |
| R17 | 请求只传业务路径 | 传 /user/info 不传 /api/v1/user/info,prefix 从 @/config 导入 |
| R18 | 屏幕适配走规范 | 详见 uniapp-style-skill |
| R19 | 鸿蒙降级规范 | 详见 uniapp-style-skill |
| R20 | 认证服务收口 | 详见 uniapp-components-skill |
二、目录结构规范
2.1 通用项目结构
uniapp-project/
├── src/
│ ├── api/ # 接口封装(不含具体业务模块)
│ │ ├── _mocks_/ # Mock 数据字典
│ │ ├── request.ts # 统一请求封装
│ │ └── index.ts # 导出入口
│ ├── components/ # 公共组件
│ │ ├── common/ # 通用组件
│ │ │ ├── Button/ # 按钮组件
│ │ │ ├── Card/ # 卡片组件
│ │ │ └── Loading/ # 加载组件
│ │ └── index.ts # 组件导出(easycom 模式下可选)
│ ├── pages/ # 业务页面
│ ├── stores/ # Pinia 状态管理
│ │ ├── index.ts # store 入口
│ │ └── user.ts # 示例用户状态(需替换)
│ ├── services/ # 业务服务层
│ │ ├── auth.service.ts # 认证服务(详见 uniapp-components-skill)
│ │ └── index.ts # 服务导出
│ ├── utils/ # 工具函数
│ │ ├── auth.ts # 鉴权工具(详见 uniapp-components-skill)
│ │ ├── toast.ts # 提示工具
│ │ ├── storage.ts # 存储工具
│ │ ├── platform.ts # 平台判断
│ │ └── index.ts # 工具导出
│ ├── config/ # 应用配置
│ │ ├── env.config.ts # 环境配置
│ │ ├── api.config.ts # API 配置
│ │ └── index.ts # 配置导出
│ ├── constants/ # 常量
│ │ ├── storage.ts # 存储 Key
│ │ ├── enums.ts # 枚举
│ │ └── index.ts # 常量导出
│ ├── types/ # TypeScript 类型
│ │ └── index.d.ts # 全局类型
│ ├── styles/ # SCSS 样式系统(详见 uniapp-style-skill)
│ │ ├── config/ # 主题配置
│ │ │ └── _theme-config.scss # 唯一人工配置
│ │ ├── tokens/ # Token 定义
│ │ │ ├── _primitive.scss # 基础色板
│ │ │ └── _semantic.scss # 语义变量
│ │ ├── _functions.scss # SCSS 函数
│ │ ├── _mixins.scss # 混入
│ │ └── variables.scss # 统一出口
│ ├── composables/ # 组合式函数
│ ├── App.vue # 根组件
│ ├── main.ts # 入口
│ └── pages.json # 页面路由
├── static/ # 静态资源
├── package.json
├── vite.config.ts
└── tsconfig.json
What ships with it
16 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.
- README.md 6.7 KB
- references/analytics.md 8.9 KB
- references/api-architecture.md 5.7 KB
- references/component-communication.md 8.0 KB
- references/performance.md 4.9 KB
- references/router-guide.md 7.5 KB
- references/storage-guide.md 2.6 KB
- references/store-guide.md 7.8 KB
- templates/.env.example 171 B
- templates/env.d.ts 467 B runs code
- templates/main.ts 389 B runs code
- templates/package.json 822 B
- templates/pages-sub.json 974 B
- templates/pages.json 1.1 KB
- templates/tsconfig.json 541 B
- templates/vite.config.ts 573 B runs code
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 · 410 lines · 46 tokens per session scan A 35be00f0f211
uniapp-standard-skill is a skill published in the GitHub repository jiushiwon/wg-skills (100 stars, last pushed 2d ago), licensed Apache-2.0. It adds 46 tokens to every session and 3,777 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
animate-expo
Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and…
leanback-to-compose-tv-migration
Provides instructions and architectural patterns for migrating Android TV applications from legacy Leanback UI Toolkit, Android Views, or Support Fragments to Jetpack Compose for TV (androidx.tv). Use this skill for Leanback to Compose migrations, including browse screen, settings screen, authentication screen, login…
maui-data-binding
Guidance for .NET MAUI XAML and C# data bindings — compiled bindings, INotifyPropertyChanged / ObservableObject, value converters, binding modes, multi-binding, relative bindings, fallbacks, and MVVM best practices. USE FOR: setting up compiled bindings with x:DataType, implementing INotifyPropertyChanged or…
expo-brownfield
Framework (OSS). Integrate Expo and React Native into an existing native iOS or Android app. Use for brownfield, embedding a React Native screen in SwiftUI/UIKit or Kotlin, or AAR/XCFramework packaging. Covers isolated and integrated approaches. For building or distributing a purely native app with EAS, use…
migrate-xml-views-to-jetpack-compose
Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android…
web-haptics
Add haptic feedback to web apps using the web-haptics library. Use when building mobile-facing UIs that need tactile feedback on buttons, toggles, forms, pickers, and other interactive elements.