mica-admin: Skill for Claude Code

.claude/skills/mica-admin-uniapp/SKILL.md

mica-admin-uniapp is a skill for Claude Code from lets-mica/mica-admin. It costs 88 tokens per session (1,623 once invoked), scanned A, original, Apache-2.0.

Project-specific instructions for building pages and modules in a uni-app mobile application using Vue, Vite, Pinia, and TypeScript. uni-app lets one codebase target web, mobile apps, and WeChat mini-programs.

In plain words
What is it for?
Adding screens, API clients, stores, and workbench modules while following the project's routing, network, styling, authentication, and platform conventions.
Why use it?
They prevent common integration errors, such as putting files in the wrong directories or forgetting to register a page.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is lets-mica/mica-admin's own configuration. It tells Claude Code how to work on mica-admin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mica-admin configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lets-mica/mica-admin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lets-mica/mica-admin/main/.claude/skills/mica-admin-uniapp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lets-mica/mica-admin

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 mica-admin-uniapp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lets-mica/mica-admin/mica-admin-uniapp"><img src="https://agentmods.dev/badge/skills/lets-mica/mica-admin/mica-admin-uniapp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,623 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.
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.00088 $0.01623
Opus 5 $0.00044 $0.00812
Sonnet 5 $0.00018 $0.00325
Haiku 4.5 $0.00009 $0.00162

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

Security

Grade A, and why

mica-admin-uniapp 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.

.claude/skills/mica-admin-uniapp/SKILL.md · 110 lines

How it starts

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

mica-admin-uniapp 移动端开发

uniapp(@dcloudio 3.0)+ Vue 3.5 + Vite 6 + Pinia + TS。后端同 mica-admin-server,认证同为 RSA 加密密码 + 算术验证码 + JWT。

目录约定

src/
├── pages/                  # tabBar 页面,只有 3 个:index / message / profile
├── modules/<name>/         # 业务模块,按功能拆
│   ├── pages/*.vue
│   ├── stores/
│   └── api.ts
├── modules/extension/      # 二次开发专区(只新增不修改)
│   └── workbench/registry.ts   # 工作台卡片注册中心
├── api/                    # 通用接口层(auth / user / notice / message)
├── stores/auth.ts          # 认证 store
├── utils/                  # request / rsa / storage / format / uuid
├── config/env.ts           # 类型化环境变量 + isH5 / isMp / isApp
├── locales/langs/
└── pages.json              # 所有页面必须在此注册
static/                     # 静态资源放这里,不要放 src/assets/
  • 别名 @/src/(与 web 端的 #/ 不同)。
  • tabBar 页面放 pages/,其余页面一律放 modules/<name>/pages/
  • 新增页面必须同时在 src/pages.jsonpages 数组注册,否则跳转直接失败(小程序尤其)。

完整模板见 references/module-page.md

网络层

统一用 @/utils/requesthttp不要直接调 uni.request

import { http } from '@/utils/request'
import type { PageResult } from '@/utils/request'

export function getBanners(params: { current?: number; size?: number; title?: string }) {
  return http.get<PageResult<BannerVo>>('/api/system/banner', params)
}

http.get(url, params, options) / post|put|delete(url, data, options)。约定:

  • 成功返回裸数据体:分页是 MyBatis-Plus IPage 结构 { records, total, current, size, pages }(注意:移动端直接消费 records,不像 web 端有 parsePagelist)。
  • 失败是 R 包装 { code: 非0, msg };拦截层已自动 uni.showToast 并 reject,业务侧 catch 不要重复 toast。
  • 401 已自动清 token 并 uni.reLaunch('/modules/auth/pages/login')
  • 需要静默失败传 { hideError: true };免鉴权接口传 { hideAuth: true }
  • token 存储 key 为 mica-admin-token,走 @/utils/storage;用 getToken/setToken/clearToken,不要自己读缓存。

页面写法

  • 一律 <script setup lang="ts"> + Composition API,TS 严格模式,避免 any,props/emits 显式声明。
  • 小颗粒状态 ref,复杂对象 reactive,派生值 computed。跨页面共享才进 Pinia store。
  • 数据加载写成 async function load() + loading 标志 + try/finallyonMounted 调用。
  • 下拉刷新:pages.json 里该页 style.enablePullDownRefresh: true,页面用 onPullDownRefresh()@dcloudio/uni-app 导出)配 uni.stopPullDownRefresh()
  • 跳转 uni.navigateTo({ url: '/modules/xxx/pages/detail?id=1' }),参数在 onLoad(query) 里取;登录态切换用 uni.reLaunch;tabBar 用 uni.switchTab
  • 提示用 uni.showToast({ icon: 'none' }),确认用 uni.showModal

Read the full file on GitHub · 110 lines

Files

What ships with it

1 file 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 · 110 lines · 88 tokens per session scan A 0c51c55b4bcd

Subscribe to this mod's changes

mica-admin-uniapp is a skill published in the GitHub repository lets-mica/mica-admin (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 88 tokens to every session and 1,623 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

uniapp-app-generate-skill

This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch. It guides through pre-development brainstorming, project initialization with uni-app + Vue3 + TypeScript + Pinia, dynamic theme system setup, static asset generation, layout design…

jiushiwon/wg-skills · 120 tokens

wot-ui-v2

A reference guide for using Wot UI v2, a component library for uni-app and Vue 3 applications. It covers components, forms, themes, feedback dialogs, and common usage problems.

wot-ui/wot-starter · 84 tokens

capacitor-vue

Guides the agent through Vue-specific patterns for Capacitor app development. Covers Vue 3 Composition API with Capacitor plugins, custom composables for native features, reactive plugin state, lifecycle hook patterns, Vue Router deep link integration, platform detection, PWA Elements setup, Quasar Framework…

capawesome-team/skills · 103 tokens

ionic-vue

Guides the agent through Ionic Vue development patterns — project structure, Vue-specific Ionic components (IonPage, IonRouterOutlet, IonTabs), navigation with Vue Router and useIonRouter, Ionic lifecycle hooks (onIonViewWillEnter, onIonViewDidEnter, onIonViewWillLeave, onIonViewDidLeave), composable utilities…

capawesome-team/skills · 167 tokens

vue-expert

Expert knowledge in Vue.js 3, Composition API, Pinia state management, and Nuxt.js for building modern reactive web applications. Use when the user mentions Vue 3, the Composition API, Pinia, Nuxt, reactive, or frontend, or when the task involves Vue 3 Fundamentals, Composition API, Pinia State Management, or Nuxt.js.

personamanagmentlayer/pcl · 78 tokens

uview-pro

A component guide for uView Pro, a UI library for uni-app applications. uni-app is a Vue-based framework for building apps for mobile, web, and several mini-program platforms.

uview-pro/skills · 53 tokens