Cuber name display

From 2017YANR02/cuberoot.me · View interactive version

Cuber name display is an AI agent skill from the GitHub repository 2017YANR02/cuberoot.me. Use when rendering WCA cuber / person names anywhere in UI (tables, cards, chips, popups, badges). WCA API returns names like \"Xuanyi Geng (耿暄一)\" with parenthesized Chinese — we never keep the parens. Triggers: \"选手名\", \"cuber name\", \"displayCuberName\", \"括号中文\", 渲染 person 列、表格国旗对齐、战队 logo 间距.

How to use this skill

Skill file

选手名显示规范

WCA API 返回的选手名常带括号中文,如Xuanyi Geng (耿暄一)。任何页面展示选手名时都不要保留括号:

统一工具

身份组合与链接(2026-11-04)

core/packages/client/lib/cuber-name-display.ts 的 displayCuberName(rawName, isZh)。

import { displayCuberName } from '@/lib/cuber-name-display';
// ...
<span>{displayCuberName(person.name, isZh)}</span>

禁止

参考用法

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.