uniapp-crossplatform-audit-skill

uniapp-crossplatform-audit-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 86 tokens per session (3,386 once invoked), scanned A, original, Apache-2.0.

A report-only checker for uni-app projects, which are apps written once and built for several targets such as WeChat mini-programs, websites, and mobile apps. It looks for differences that can make one target work while another fails.

In plain words
What is it for?
Use it to audit template tags, CSS, APIs, conditional compilation, and platform configuration across two or more uni-app targets. It reports findings without changing the project.
Why use it?
It helps find unsupported HTML tags, browser APIs, styles, platform settings, or missing conditional code before users encounter platform-specific failures.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is node ../uniapp-code-audit-skill/scripts/check-miniprogram.js <项目根目录>.

Good fit Use it to audit template tags, CSS, APIs, conditional compilation, and platform configuration across two or more uni-app targets. It reports findings without changing the project.

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-crossplatform-audit-skill

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-crossplatform-audit-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,386 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.00086 $0.03386
Opus 5.5 $0.00034 $0.01354
Sonnet 5.5 $0.00017 $0.00677
Haiku 4.5 $0.00009 $0.00339

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

Security

Grade A, and why

uniapp-crossplatform-audit-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 22d 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.

frontend/uniapp/uniapp-crossplatform-audit-skill/SKILL.md · 212 lines

How it starts

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

UniApp Cross-Platform Audit Skill

定位

本 skill 专门审计 uniapp 项目在三端(小程序 / H5 / App)运行时的兼容性问题,识别 H5 标签、浏览器 API、样式兼容性、条件编译缺失、平台配置缺陷等导致"一端正常、另一端崩溃"的隐患,仅输出 uniapp-crossplatform-audit-report.md 报告,不修改、不修复、不重构项目代码。

与 uniapp-code-audit-skill 的区别:本 skill 是专项深度审计,按项目目标与证据覆盖跨平台差异;uniapp-code-audit-skill 是全维度体检(10 维度),跨平台只是其中一维。

When to Use

触发此 skill 时使用:

  • "跨平台审计"
  • "小程序 App 兼容"
  • "多端兼容检查"
  • "uniapp 三端表现差异"
  • "H5 标签能不能跑小程序"
  • "条件编译写得对不对"
  • "App 端和小程序端有哪些坑"

Workflow

Phase 1: 审计范围确认
   目标平台:微信小程序 / H5 / App / 其他小程序
   端数:2 端 / 3 端 / N 端
   重点维度:模板标签 / 样式兼容 / API 兼容 / 条件编译 / 平台配置

Phase 2: 多维度扫描
   按下列 6 个维度逐项扫描
   记录问题位置、风险等级、判定依据

Phase 3: 问题汇总
   按 P0/P1/P2/P3 风险等级归类
   列出"端间表现差异"专项问题

Phase 4: 输出报告
   生成 uniapp-crossplatform-audit-report.md

审计维度

语法与平台能力专项

  • 模板:动态组件、插槽、表达式与事件,对照 Vue 版本及目标编译器,区分编译错误与运行错误。
  • 脚本:分开核查语法降级和运行时对象,构建转换通过不代表 Promise、URL 等能力在目标环境存在。
  • 样式:H5、App-vue、App-nvue 分开核对布局、选择器和属性兼容性,禁止假设 App 支持全部 Web CSS。
  • 原生能力:plus.*、原生插件逐项核对系统、模块、权限及调用环境,追踪小程序/H5 分支是否误入。
  • DOM:区分 H5、App 逻辑层、WebView/renderjs;小程序普通逻辑层不具备浏览器 DOM 环境。
  • renderjs:对照官方支持范围,不把 App-vue 能力推广至 nvue 或小程序。
  • 微信能力:区分小程序 wx.* 与网页 JS-SDK,核查基础库、授权及开放条件。
  • 设备能力:摄像头、定位、蓝牙、文件逐 API 核对 Android/iOS、小程序、浏览器的版本、权限及安全上下文。
  • 输出能力矩阵,列各平台支持条件、项目已有分支、证据、入口可达性与状态;不设计替代实现。

证据判定(覆盖后文旧扫描示例的直接定级规则)

  1. 登记 uni-app/Vue 版本、微信基础库、H5 浏览器、App vue/nvue 模式及 Android/iOS 版本,缺项写待核实。
  2. 关键词命中只建立候选。追踪入口、封装、条件编译及执行路径,结合对应版本官方兼容表或运行证据才能确认问题。
  3. HTML 标签、background-image、calc()、CSS 变量、px/rpx 混用、缺少某条 env() 均不得单独作为不兼容结论。
  4. 对齐同一业务的输入字段、请求参数、登录身份、成功/失败/取消结果和资源访问结果,平台专属交互按项目契约验收。
  5. 键盘、安全区、滚动及原生层级需要运行证据。检查系统、页面、组件是否重复处理,不要求所有固定底栏上移,不从监听缺失推断遮挡。
  6. 状态为已确认、待验证、不适用、未执行。每项包含平台版本、文件行号、调用路径、依据、影响、验证操作及预期结果。只统计已确认项为问题。
  7. 只写审计报告。禁止修改业务源码、配置和依赖,禁止自动安装、构建、执行支付或上传。缺少运行前提记录未执行。
  8. 禁止输出修复方案、替代实现、修复代码、补丁及自动修复命令。脚本结果逐条复核。
维度 主要内容
模板标签 <div> <span> <p> <h1~h6> <img> <ul> 等标签的目标编译转换与组件映射,命中只建立候选
样式兼容 background-image、CSS 变量跨端差异、px/rpx 混用、vw/vh 适配问题
API 调用 fetch/window/document/localStorage/alert 在小程序端不可用
条件编译 #ifdef MP-WEIXIN #ifdef APP-PLUS #ifdef H5 使用是否完整
平台配置 manifest.json 中 mp-weixin/h5/app-plus 各端差异化字段
端间表现差异 同一逻辑在三端的表现不一致(如键盘、滚动、安全区、支付回调)

Read the full file on GitHub · 212 lines

Files

What ships with it

2 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. 22d ago Changed · +39 lines 8c3d7523d174
  2. 23d ago Changed · +24 lines 8a09dc2bc25e
  3. 1mo ago Changed · +31 lines 0d00f66e0af4
  4. 1mo ago Changed 4e8001dfb96d
  5. 2mo ago Changed fe0aed190411
  6. 3mo ago First seen · 118 lines · 86 tokens per session scan A 3ebcbfe098bc

Subscribe to this mod's changes

uniapp-crossplatform-audit-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 86 tokens to every session and 3,386 once invoked, about $0.0003 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

uniapp-crossplatform-audit-skill compared with skills from other repositories

uniapp-crossplatform-audit-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uniapp-crossplatform-audit-skilljiushiwon/wg-skillsSkill1546d agoApache-2.0A86Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill147ktodayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code
flutter-devMiniMax-AI/skillsSkill14k20d agoMITA83Claude Code