StaffDeck is an enterprise platform for creating and managing digital employees that represent professional knowledge, business processes, and decision rules. Organizations use it to automate repetitive work and preserve expertise as reusable digital workers. The catalogue includes skills, agents, rules, and instructions for the platform.
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.
git clone --depth 1 https://github.com/OpenBMB/StaffDeckWrote 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.
[](https://agentmods.dev/rules/openbmb/staffdeck/frontend-ui-components)<a href="https://agentmods.dev/rules/openbmb/staffdeck/frontend-ui-components"><img src="https://agentmods.dev/badge/rules/openbmb/staffdeck/frontend-ui-components/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.
<a href="https://agentmods.dev/rules/openbmb/staffdeck/frontend-ui-components"><img src="https://agentmods.dev/badge/rules/openbmb/staffdeck/frontend-ui-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00595 |
| Opus 5.5 | $0.00000 | $0.00238 |
| Sonnet 5.5 | $0.00000 | $0.00119 |
| Haiku 4.5 | $0.00000 | $0.00060 |
Grade A, and why
frontend-ui-components 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 3mo 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.
What it actually says
前端组件规范(frontend-enterprise)
新页面或重构时,优先使用 shadcn/ui 组件,而非新增 Ant Design 组件。
- shadcn/ui 组件位于
@/components/ui,通过@/components/ui桶文件统一导入。 - 类名合并使用
cn()(来自@/lib/utils)。 - 通知使用
sonner的toast,而非antd的message。 - 现有页面中的 Ant Design 组件保持不变,除非本次任务明确要求重构;不要为了替换而替换。
// ✅ GOOD — 新页面使用 shadcn/ui
import { Button, Card, CardContent, CardHeader, CardTitle, Input } from '@/components/ui';
import { toast } from 'sonner';
import { cn } from '@/lib/utils';
// ❌ AVOID — 新页面不再新增 Ant Design 组件
import { Button, Card, Input, message } from 'antd';
新增尚未安装的 shadcn 组件:
cd frontend-enterprise && npx shadcn@latest add <component> -y
图标规范
页面中使用的各种 icon,先在 src/assets/ 下生成 SVG 图标文件,再引入页面中使用,不要在 JSX 里内联手写 SVG 路径。
// ✅ GOOD — 先落到 assets,再作为组件/资源引入
import ArrowIcon from '@/assets/icons/arrow.svg?react';
// 或统一封装后按名引用
import { StaffdeckIcon } from '@/components/StaffdeckIcon';
<ArrowIcon className="size-4" />;
// ❌ AVOID — 在页面里内联手写 SVG
<svg viewBox="0 0 24 24"><path d="M..." /></svg>;
枚举规范
考虑后续维护,状态、类型等有限取值的字段应先在 enums 中定义枚举/常量,再引用,避免在业务代码里散落魔法字符串。
// ✅ GOOD — 先在 enums 中集中定义
// src/enums/agentStatus.ts
export enum AgentStatus {
Active = 'active',
Onboarding = 'onboarding',
Archived = 'archived',
}
if (agent.status === AgentStatus.Active) { /* ... */ }
// ❌ AVOID — 业务代码里散落魔法字符串
if (agent.status === 'active') { /* ... */ }
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.
- 3mo ago First seen · 66 lines · 0 tokens per session scan A 5109f02cfac7
frontend-ui-components is a cursor rule published in the GitHub repository OpenBMB/StaffDeck (2,376 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 595 tokens. 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-30.
frontend-ui-components compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-ui-componentsOpenBMB/StaffDeck | Cursor rule | 2.4k | yesterday | Apache-2.0 | A | 0 | Cursor |
| explorer-interface-briefmohitagw15856/pm-claude-skills | Cursor rule | 1.6k | yesterday | MIT | A | 91 | Cursor |
| prototype-previewerchocpink123/prototype-previewer-skill | Cursor rule | 32 | 7mo ago | MIT | A | 14 | Cursor |
| figma-performancehoshikitsunoda/figma-plugins-vibe-coding-template | Cursor rule | 21 | 11mo ago | MIT | A | 0 | Cursor |
| ant-designTideTree/awesome-cursor-rules-mdc-zh | Cursor rule | 14 | 8mo ago | none | A | 0 | Cursor |
| 7-day-nextjs-web-design-cursormattcsnyder/7-day-mobile-and-web-design-skill | Cursor rule | 2 | 6mo ago | none | A | 16 | Cursor |
| clone-aiOmerfaruk-aydn/sitecloner | Cursor rule | 2 | 6mo ago | none | A | 374 | Cursor |