mica-admin: Skill for Claude Code

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

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

Development rules for a Vue 3 administration website built with Vben Admin, Naive UI, Vite, TypeScript, Tailwind, and Pinia.

In plain words
What is it for?
Use them when creating or changing CRUD pages, API clients, routing, authentication, permissions, pagination, and styling in mica-admin-web.
Why use it?
They explain the project's file layout and coding conventions, reducing mistakes when adding pages, API calls, routes, login controls, or styles.

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-web/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-web

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lets-mica/mica-admin/mica-admin-web"><img src="https://agentmods.dev/badge/skills/lets-mica/mica-admin/mica-admin-web.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,707 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.00095 $0.01707
Opus 5 $0.00048 $0.00853
Sonnet 5 $0.00019 $0.00341
Haiku 4.5 $0.00010 $0.00171

Measured 8d ago against content hash 672c263f7924, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mica-admin-web 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 8d 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-web/SKILL.md · 81 lines

How it starts

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

mica-admin-web 前端开发

Vue 3.5 + Naive UI 2.44 + Vite 6 + TS 5.7 + Tailwind 4 + Pinia 3。Vben Admin 5.x 已源码本地化vben/,由 vite.config.tsvbenResolver() 解析 @vben/*@vben-core/* 别名。

目录约定

src/api/<module>/<res>.ts     # 接口层(system / monitor / oss / core)
src/views/<module>/<res>/index.vue   # 页面
src/store/                    # 业务 Pinia store(单文件直接 export)
src/adapter/                  # UI 适配层(naive discrete api、组件注册、form、vxe-table)
src/utils/                    # format-date、export-excel、rsa
src/locales/langs/{zh-CN,en-US}/

路径别名是 #/src/不是 @/)。

完整可复制模板见 references/crud-page.md

硬性约定

响应处理src/api/request.ts 已配 defaultResponseInterceptor({ successCode: 0, codeField: 'code', dataField: 'data' })。后端成功 code = 0,成功时返回裸数据体。api 是共享实例,业务接口直接 import { api } from '#/api/request'

分页 — 后端返回 MyBatis-Plus IPage{ records, total }),接口层必须用 parsePage<T>() 统一成 { list, total },页面只消费 { list, total }

const data = await api.get<any>('/api/system/banner', { params });
return parsePage<BannerItem>(data);

错误处理 — 全局拦截器已处理 401/403/超时并弹 notification,{ msg } 已提升为 Error.message。页面里 catch 只需 console.error不要重复弹错误提示。需要自己接管时请求 config 传 { skipErrorHandler: true }

Excel 导出 — 用 exportExcel({ api, url, filename, params })#/utils/export-excel),对应后端 @ResponseExceldownload 接口。

弹窗 — 用 useVbenModal@vben-core/popup-ui):const [Modal, modalApi] = useVbenModal({ onConfirm })modalApi.setState({ title }).open() / .close() / .lock() / .unlock()。确认框用 dialog.warning()#/adapter/naive),不要用原生 confirm()

表格NDataTable + 独立 NPagination。选择用 :checked-row-keys + @update:checked-row-keys不要:selection / @update:selection-keys。列渲染用 h(),状态列用 NTag,操作列 fixed: 'right'

权限 — 按钮用指令 v-access:code="'system:banner:add'"h() 里渲染的操作按钮用 useAccess()hasAccessByCodes([...])。权限码与后端 sys_menu.perms 完全一致,动作用 list/query/add/edit/del/export:del 不是 :remove)。

Read the full file on GitHub · 81 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. 8d ago First seen · 81 lines · 95 tokens per session scan A 672c263f7924

Subscribe to this mod's changes

mica-admin-web is a skill published in the GitHub repository lets-mica/mica-admin (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 95 tokens to every session and 1,707 once invoked, about $0.0005 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

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

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

use-quail-ui-in-frontend-project

Use this skill when integrating Quail UI into a Vue 3 frontend, migrating an existing screen to Quail UI components, or needing the library's themes, tokens, icons, demo-backed usage patterns, and agent-facing onboarding docs.

quailyquaily/quail-ui · 56 tokens

shadcn-svelte

Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.

vercel-labs/json-render · 63 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

v3-create-crud

A page generator for standard create, read, update, and delete screens, commonly called CRUD screens. It uses Element Plus, a Vue user-interface library, to build tables, searches, pagination, forms, and delete confirmations.

un-pany/v3-admin-vite · 108 tokens