uniapp-code-audit-skill

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

A reporting-only audit skill for uni-app projects, including Vue 3 and TypeScript projects as well as Vue 2 projects. It checks code quality, security, performance, architecture, interface agreements, UI consistency, and platform compatibility.

In plain words
What is it for?
Use it for a full or targeted review of a uni-app project aimed at WeChat mini-programs, web, or mobile apps, including checks for redundant code and unused pages.
Why use it?
It helps identify risks and rule violations before release without changing the project. An audit is a structured review that records findings and their severity.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for a full or targeted review of a uni-app project aimed at WeChat mini-programs, web, or mobile apps, including checks for redundant code and unused pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/uniapp-code-audit-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-code-audit-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-code-audit-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-code-audit-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-code-audit-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,232 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.00066 $0.03232
Opus 5 $0.00033 $0.01616
Sonnet 5 $0.00013 $0.00646
Haiku 4.5 $0.00007 $0.00323

Measured 10d ago against content hash 9746e77efa0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

uniapp-code-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 10d 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.

vibeCoding/frontend/uniapp/uniapp-code-audit-skill/SKILL.md · 228 lines

How it starts

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

UniApp Code Audit Skill

定位

本 skill 用于审计 uniapp 项目(Vue3 + TypeScript + Pinia 技术栈优先),识别代码中不符合规范、存在风险或可能影响上线的问题,仅输出 uniapp-audit-report.md 报告,不修改、不修复、不重构项目代码

Vue2 项目适配:Vue2 + Options API 项目也可直接审计。其中 script setup、Pinia、defineProps 类型等 Vue3 专属检查项将标注为“不适用”,其余检查项照常执行;如需先升级到 Vue3,可配合 uniapp-vue2-upgrade-skill(本地保留 skill,按需取用)。

When to Use

触发此 skill 时使用:

  • "uniapp 审计"
  • "小程序代码审计"
  • "uniapp 安全审计"
  • "uniapp 性能审计"
  • "检查 uniapp 规范符合性"
  • "uniapp UI/主题审计"
  • "uniapp 代码质量审计"
  • "uniapp 架构审计"
  • "uniapp API 契约审计"
  • "uniapp 小程序合规审计"
  • "uniapp App 端审计"
  • "安卓/苹果端兼容性审计"
  • "帮我看看这个 uniapp 项目有什么问题"
  • "审计这个项目有没有冗余代码或没用的页面组件"

Workflow

Phase 1: 审计范围确认
  → 全量审计 or 指定模块/页面
  → 目标平台:微信小程序 / H5 / App(小程序专属检查项仅在目标平台包含小程序时执行;App 端专项检查项仅在目标平台包含 App 时执行)
  → 重点维度:安全 / 性能 / 代码质量 / 架构 / UI/主题 / 跨平台 / 小程序专项 / App 端专项 / 冗余与死代码 / API 契约
  → 增量审计(可选):仅扫描 git 未提交改动,输出差异问题
  → 抽样审计(可选):大项目可指定模块/文件范围,避免全量噪音

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

Phase 3: 问题汇总
  → 按 P0/P1/P2/P3 风险等级归类
  → 统计各维度问题数量
  → 评估维度健康度(可选)

Phase 4: 输出报告
  → 生成 uniapp-audit-report.md
  → 不包含任何修复代码或修复指令

Phase 1 引导问题

根据上下文选择性询问(不必全问):

  1. "审计范围:全量项目,还是指定模块/页面?"
  2. "目标平台:微信小程序 / H5 / App?小程序专属检查(包体积、合法域名、审核合规、分包)仅在目标包含小程序时执行;App 端专项检查(Android/iOS 差异、原生能力、热更新、App 包体积)仅在目标包含 App 时执行。"
  3. "重点维度:安全 / 性能 / 代码质量 / 架构 / UI/主题 / 跨平台 / 小程序专项 / App 端专项 / 冗余与死代码 / API 契约?"
  4. "是否需要增量审计(只查未提交改动)或抽样审计(大项目指定范围)?"

审计维度与参考清单

维度 参考文件 主要规范来源
安全合规 references/security-checklist.md uniapp-components-skill 红线规则、通用安全规范
性能 references/performance-checklist.md uniapp-standard-skill 性能规范、uniapp-app-generate-skill
代码质量 references/code-quality-checklist.md uniapp-standard-skill 红线规则、TS/Vue3 通用规范
架构与规范 references/architecture-checklist.md uniapp-app-generate-skill/references/project-structure.mduniapp-standard-skill R01-R20
UI/主题一致性 references/ui-consistency-checklist.md uniapp-app-generate-skill/references/theme-system.mdcomponent-standards.md
跨平台兼容 references/cross-platform-checklist.md uniapp-app-generate-skill/references/cross-platform-compatibility.md
小程序专项 references/mini-program-checklist.md 微信小程序官方限制、uniapp-standard-skill 性能规范
App 端专项 references/app-platform-checklist.md uni-app 官方文档、Android/iOS 平台规范、manifest.json app-plus 配置
冗余与死代码 references/dead-code-checklist.md 通用工程规范、uniapp-app-generate-skill 静态资源规范
API 契约 references/api-contract-checklist.md frontend-request-skilluniapp-standard-skill 接口规范

Read the full file on GitHub · 228 lines

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. 10d ago First seen · 228 lines · 66 tokens per session scan A 9746e77efa0b

Subscribe to this mod's changes

uniapp-code-audit-skill is a skill published in the GitHub repository jiushiwon/wg-skills (97 stars, last pushed 2d ago), licensed Apache-2.0. It adds 66 tokens to every session and 3,232 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-08-30.