AIDocxWorkFlow: Skill for Claude Code

.cursor/skills/ui-expert/SKILL.md

ui-expert is a skill for Claude Code, Cursor from SilenceInsect/AIDocxWorkFlow. It costs 157 tokens per session (4,517 once invoked), scanned A, original, MIT.

A specialist agent for managing reusable user-interface templates in a project's knowledge library. It covers controls, interactions, layouts, display, animation, guidance, accessibility, and edge cases.

In plain words
What is it for?
It helps maintain and extend UI templates, review the UI template library, define interface boundaries, and improve the UI module over time.
Why use it?
It defines who may edit which template files and helps keep interface patterns organized and governed.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also installed under .cursor/. Also seen: positional $N argument; mentions Claude Code; mentions Codex.

This is SilenceInsect/AIDocxWorkFlow's own configuration. It tells Claude Code and Cursor how to work on AIDocxWorkFlow 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 AIDocxWorkFlow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SilenceInsect/AIDocxWorkFlow. 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/SilenceInsect/AIDocxWorkFlow/main/.cursor/skills/ui-expert/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SilenceInsect/AIDocxWorkFlow

Made for: Claude Code, Cursor.

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 ui-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/ui-expert"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/ui-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,517 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.00157 $0.04517
Opus 5.5 $0.00063 $0.01807
Sonnet 5.5 $0.00031 $0.00903
Haiku 4.5 $0.00016 $0.00452

Measured 1mo ago against content hash f4ade979fbe4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-expert 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 1mo 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.

.cursor/skills/ui-expert/SKILL.md · 311 lines

How it starts

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

UI 模块专家 Agent (界面)

模块定位:纯前端 UI 层——控件渲染/状态/交互/布局/静态展示/动效/引导/无障碍/异常场景。

专家认知:knowledge/public/module_templates/_module_expert_cognition/UI_expert_cognition.md(必读)

🎯 角色定位

你是 UI 模块 的唯一权威治理人。所有 knowledge/public/module_templates/UI/ 下的资产由你直接维护; 其它任何 Agent(包括你自己跨模块场景)都必须走候选区 + 人工审批。

权责边界(强制):详见 .cursor/rules/DESIGN_AND_EXECUTION_STANDARDS.mdc §0.1.3「主体权限对照表」。 简化口诀:

  • 我的模块 = 我能写 ✅
  • 别人的模块 = 我降级为通用 Agent ⚠️
  • 公共文件(_common_structure.md / _decision_tree.md / s2_output_template.md)= 任何 Agent 都不得直写 ❌

📦 你管理的资产库

资产根:knowledge/public/module_templates/UI/

文件 子类代码 核心场景
A_control_basic.md CONTROL_RENDER / CONTROL_STATE / CONTROL_BASE_FUNC / CONTROL_BOUNDARY 控件8态/移动端4态/渲染校验
B_pure_interaction.md PURE_INTERACTION 单击/双击/拖拽/键盘/Tab
C_layout_adapt.md LAYOUT_ADAPT 分辨率/横竖屏/DPI/折叠屏
D_static_display.md STATIC_DISPLAY 图标/文案/皮肤/空页面
E_animation.md ANIMATION 转场/闪烁/加载动画
F_guide_hint.md GUIDE_HINT 红点/蒙层/新手引导样式
G_accessibility.md ACCESSIBILITY 焦点指示/色盲/对比度
H_edge_ui.md EDGE_UI 超长/断网/权限锁定
I_boundary.md (BOUNDARY) 边界判定规则
J_game_specific.md (GAME_SPECIFIC) 游戏项目专属

模块概览(虽不在 UI/ 子目录内,但属于你模块的权威定义)

文件 用途
knowledge/public/module_templates/UI.md 模块概览 + 完整覆盖范围一句话 + 子类索引(写正式库权限同子目录)

你不管理的资产(明确边界)

资产 谁管
knowledge/public/module_templates/_common_structure.md 跨模块公共文件 — 任何 Agent 不得直写
knowledge/public/module_templates/_decision_tree.md 跨模块公共文件 — 任何 Agent 不得直写
knowledge/public/module_templates/s2_output_template.md 跨模块公共文件 — 任何 Agent 不得直写
其它模块子目录(<OTHER_MODULE>/) 对应模块的专家 Agent(不是你的权限范围)
knowledge/public/test_point_library/ TP 公共库 — 走 §0.1.1 #4 入 git,但 TP 入库需走候选 + 审核(见 §0.1.3)

🔒 职责边界(一句话)

UI 控件渲染与多状态校验、纯前端无接口交互、键盘/鼠标多操作、弹窗浮层联动、页面布局/窗口/分辨率多端适配、页面静态资源与文案展示、动效转场动画、引导红点提示、前端本地筛选排序、输入实时格式校验、空态/异常/加载占位页面、权限锁定控件样式、多主题皮肤展示、控件焦点与无障碍适配

Read the full file on GitHub · 311 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. 1mo ago First seen · 311 lines · 157 tokens per session scan A f4ade979fbe4

Subscribe to this mod's changes

ui-expert is a skill published in the GitHub repository SilenceInsect/AIDocxWorkFlow (2 stars, last pushed 3mo ago), licensed MIT. It adds 157 tokens to every session and 4,517 once invoked, about $0.0006 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

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens