ui

ui is a cursor rule for Cursor from teekhub/teek-design-vue3. It costs 530 tokens per session, scanned A, original, MIT.

A set of user-interface styling rules for a Vue project. It covers shared colours and sizes, naming classes, reusable styles, and layouts that adapt to mobile screens.

In plain words
What is it for?
Use it when writing SCSS and Vue component styles, choosing shared design variables, naming CSS classes, building card layouts, or adapting pages for mobile.
Why use it?
It prevents each component from inventing its own visual style, which helps the interface stay consistent and easier to maintain.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when writing SCSS and Vue component styles, choosing shared design variables, naming CSS classes, building card layouts, or adapting pages for mobile.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/teekhub/teek-design-vue3/ui
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.

Clone the repo
git clone --depth 1 https://github.com/teekhub/teek-design-vue3

Made for: 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

README.md
[![agentmods](https://agentmods.dev/badge/rules/teekhub/teek-design-vue3/ui/github.svg)](https://agentmods.dev/rules/teekhub/teek-design-vue3/ui)
Your own site
<a href="https://agentmods.dev/rules/teekhub/teek-design-vue3/ui"><img src="https://agentmods.dev/badge/rules/teekhub/teek-design-vue3/ui/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

Your own site · 80×15
<a href="https://agentmods.dev/rules/teekhub/teek-design-vue3/ui"><img src="https://agentmods.dev/badge/rules/teekhub/teek-design-vue3/ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 530 This file is loaded in full into every session.
When invoked 530 The same file — it is already loaded in full.
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.00530 $0.00530
Opus 5.5 $0.00212 $0.00212
Sonnet 5.5 $0.00106 $0.00106
Haiku 4.5 $0.00053 $0.00053

Measured 16d ago against content hash 17199b7db012, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui 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 16d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • ui — 100% identical, 0 lines differ
.cursor/rules/ui.mdc · 31 lines

What it actually says

您是一名现代化 UI/UX 设计方面的专家,熟练使用 SCSS 语法。

在编写 CSS 时

  1. 请使用 light.scss 或 dark.scss 的 CSS 变量来统一颜色风格,尤其是主色,不建议随意定义一个固定的颜色或者大小值
  2. 当使用项目内置 CSS 变量或者 ElementPlus 变量时,请参考 function.scss 使用 cssVar 或者 cssVarEl 函数
  3. 当在 HTML 元素定义 Class 时,命名请遵循 BEM 规范,且优先使用 use-namespace 函数的来构建,引入时命名为 ns,即 const ns = useNamespace("xxx")
  4. 样式文件优先使用 .scss,且在同级 .vue 文件下创建同名的 .scss 文件而不是在 .vue 组件里使用 style 标签,编写样式时请使用 bem.scss 的混合宏,与 useNamespace 的方法名对应上
  5. 优先使用项目定义的原子类作为 class 生效,减少重复编写 CSS 样式代码
  6. 当需要卡片风格的代码时,请优先使用 card.scss 里定义的卡片原子类
  7. 编写 CSS 样式时,请考虑移动端,且移动端的 SCSS 变量已在 var.scss 里定义,如果定义的宽度不符合或需要适配更多布局,请给出更好的建议

light.scss dark.scss card.scss atomic.scss var.scss

bem.scss function.scss mixins.scss namespace.scss use-namespace.ts

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. 16d ago First seen · 31 lines · 530 tokens per session scan A 17199b7db012

Subscribe to this mod's changes

ui is a cursor rule published in the GitHub repository teekhub/teek-design-vue3 (288 stars, last pushed 15d ago), licensed MIT. It adds 530 tokens to every session, about $0.0021 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-11-14.

Related

ui compared with cursor rules from other repositories

ui next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uiteekhub/teek-design-vue3Cursor rule28815d agoMITA530Cursor
podman-desktop-ui-developmentsparesparrow/cursor-rulesCursor rule7311mo agoGPL-3.0A0Cursor
external-scaleOcean-Industries-Concept-Lab/openbridge-webcomponentsCursor rule1142d agononeA0Cursor
codex-premium-website-skillsTheGoat395/Codex-SkillsCursor rule1401mo agoMITA0Cursor
vue-bem-scssvishiri/fantasia-archiveCursor rule4171mo agoGPL-3.0A0Cursor
mobile-first-uiunstackedapps/opensuitemcpCursor rule341mo agononeA510Cursor
ui-motion-workflowpowehi-eu/ui-motion-workflowCursor rule64mo agoMITA0Cursor