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.5 $0.00038 $0.00683
Sonnet 5.5 $0.00019 $0.00341
Haiku 4.5 $0.00010 $0.00171

Measured 2mo ago against content hash 672c263f7924, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.ts 的 vbenResolver() 解析 @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),对应后端 @ResponseExcel 的 download 接口。

弹窗 — 用 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. 2mo 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 (7 stars, last pushed 5d ago), licensed Apache-2.0. It adds 95 tokens to every session and 1,707 once invoked, about $0.0004 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-31.

Related

mica-admin-web compared with skills from other repositories

mica-admin-web next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mica-admin-weblets-mica/mica-adminSkill75d agoApache-2.0A95Claude Code
wot-ui-v2wot-ui/wot-starterSkill3942mo agoMITA84Claude Code
vue-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A78Claude Code
spring-ecosystem-docspledgeandgrow/pledge-skillsSkill103mo agoMITA43Claude Code, Codex
use-quail-ui-in-frontend-projectquailyquaily/quail-uiSkill506mo agoApache-2.0A56Claude Code, Codex
shadcn-sveltevercel-labs/json-renderSkill19kyesterdayApache-2.0A63Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.1kyesterdayMITA69Claude Code