Introduction¶
When using AI to write frontend code or prototypes, colors, spacing, and component states often vary from prompt to prompt: primary colors are changed on a whim, border radius and shadows are inconsistent, and it is particularly difficult to align Enterprise backend pages and chart areas with design mockups. Even if a team has established design specifications, they usually require manual comparison with PDFs or Figma, as the Agent lacks a “hard constraint” document that can be persistently mounted.
The following is an introduction to the UI Specification Skill (Coordinate: @user_c2706611/yuanxingsheji-v1) available on SkillHub. It encapsulates a complete set of UI design specifications applicable to PC, mobile, and large screens into a universal SKILL.md. Once installed in the Agent’s skills directory, the model will execute tasks according to the Tokens, components, and layout rules defined in the document, rather than piecing together interfaces based on impression.
What is this¶
The UI Specification Skill is a community-sourced (community) design-media type Skill. The current package version is 1.0.2, maintained by the publisher user_c2706611. The Skill itself comes with almost no additional scripts; its core is a Brand 1 Design System Specification document (marked as specification version 1.6 within the document, updated on June 10, 2026), declaring its applicability to Brand 1 product PC, mobile, and large screen interfaces.
The problem it solves is clear: to centralize rules for color, typography, spacing, shadows, components, charts, and typical page templates into skill instructions readable by Agents, thereby reducing the cost of “verbally describing specifications in every conversation.” The SkillHub page marks requires_api_key=false, meaning installation and usage do not rely on external API Keys.
SkillHub Statistics (based on page scraping): Rating 100000, Downloads 928.
Core Features¶
All capabilities stem from the SKILL.md within the Skill package. You can understand the scope the Agent can reference by chapter:
- Visual Theme & Color: Brand colors (Primary Brand-6
#07978D), neutral colors, functional colors, gradients, and text/background contrast tables; the 60:30:10 color rule, etc. - Typography: Source Han Sans + Arial, font size Tokens (10px–36px), font weight, and line height systems.
- Spacing & Layout: Spacing tables based primarily on 8px/12px, a 24-column grid, and responsive breakpoints; §3.4 covers layout spacing for three types of pages: Inner Pages/Portal Homepages/Data Analysis Homepages (including ASCII structure diagrams).
- Depth & Shadow:
--shadow-1to--shadow-3and inner shadows, with a unified shadow source#252B30. - Component Styles: Buttons, cards, forms, global navigation and page title areas (rule of two choices), tags, tooltips, dialogs, homepage metric cards, etc., including sizes and state colors.
- Interaction & Motion: Hover/focus feedback, minimum touch target of 44×44px, transition duration of 0.3s, etc.
- Design Mandates & Prohibitions: Tokens that must be used, and prohibitions against non-standard border radius, non-standard spacing, indiscriminate use of gradients, etc.
- Specific Components: Supplementary descriptions for AI Assistant entries, watermarks, side panels, and floating windows.
- Data & Copy: Rules for amount thousand separators, percentages, page titles, and button copy punctuation.
- Charts & Single Graph Components: Color palettes and line width/bar width specifications for ten chart types, legends, coordinate axes, map palettes, and rules for multi-chart combinations.
- Typical UI Templates: Region division and ASCII layouts for templates such as query analysis, list entry, document entry, reports, wizards, grouped forms, and data analysis.
After enabling this Skill, the Agent should treat these chapters as the source of constraints when implementing the UI, rather than freely improvising the visual style.
Installation & Activation¶
Install via SkillHub CLI (Recommended)¶
First, confirm if skillhub is available on your local machine:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation to perform a full installation (Document URL: https://skillhub.cn/install/skillhub.md):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing skills, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized. The installation method shown in the search results for this Skill is:
skillhub install yuanxingsheji-v1 --namespace user_c2706611 --dir <skills directory>
Common client skills paths (excerpted from SkillHub installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example (Cursor):
skillhub install yuanxingsheji-v1 --namespace user_c2706611 --dir ~/.cursor/skills/
Upon successful installation, the package will reside in a directory similar to @user_c2706611/yuanxingsheji-v1/, where SKILL.md serves as the main body of the design specification.
Install via AI Conversation¶
The prompt provided by the SkillHub skill page is: Ask the Agent to install @user_c2706611/yuanxingsheji-v1 based on https://skillhub.cn/install/skillhub.md. This is suitable for environments where tools are already enabled but the CLI has not been executed manually.
After installing or updating the Skill, restart or refresh the Agent according to your client’s instructions to load the new skills.
Typical Usage¶
The Skill does not define separate CLI subcommands; usage involves relying on the enabled Skill during UI-related tasks, allowing the model to select color values, spacing, and component structures according to SKILL.md. Below are conversation directions that can be directly reproduced (the expression needs to match the actual requirements):
-
Build a backend page using primary and neutral colors
Specify that you are building a “Query + Table” inner page and require adherence to the Inner Page structure in §3.4.4 of the Skill: page title area, query areapadding: 16px, block spacing 16px, and buttons using the Brand-6 primary color. -
Implement component states
Require primary buttons to default to Brand-6, hover to Brand-5, and click to Brand-8; input box focus border to Brand-6, border radius 2px, height 28px (see §5.1, §5.3). -
Chart areas
When specifying line charts/bar charts, reference the line width, bar width, and color palette in §10.3, and comply with the spacing table for chart panel titles, units, and legends in §10.7. -
Select UI templates
When creating “Query Analysis” or “Document Entry,” indicate the corresponding template name in §11, letting the Agent divide the DOM structure according to the ASCII region order.
Through the above steps, the output should be consistent with the document regarding Token naming, spacing steps, and prohibitions (§7.2). If deviation from the specification is needed, explicitly state the exception in the requirements to avoid conflicts with the Skill’s default rules.
Use Cases & Notes¶
Who is it for
- Teams implementing Brand 1 or B-end products aligned with it (the document specifies a professional atmosphere for power, finance, etc.), requiring the Agent to write Vue/React/HTML prototypes or component library examples.
- Anyone hoping to upgrade a design system from “verbal prompts” to a versionable Skill package, reusing the same
SKILL.mdacross clients that support skills like Cursor, Claude Code, and Codex.
Limitations & Cautions
- The specification body is very long. If the scope of a single conversation is too large, it should be split into steps such as “Color + Typography,” “Components,” or “Specific Template Page” to facilitate acceptance checking against chapters.
- The “Brand 1”, primary color #07978D, and component sizes in the document are values for a specific design system. When switching brands, you need to modify the Skill content or fork and maintain it; it should not be treated as a universal Material replacement.
- The Skill package version (1.0.2) and the specification version inside the document (1.6) are two layers of version numbers. After upgrading the Skill, it is recommended to open the header metadata of
SKILL.mdto confirm the specification date. - This is a community Skill. Before use, you can check the rating and download count on the SkillHub page and self-review whether the
SKILL.mdis consistent with your team’s design drafts.
Conclusion¶
The value of the UI Specification Skill lies in writing color Tokens, layout templates, and chart rules into an Agent-executable SKILL.md, allowing interface implementation to follow established rules rather than describing visual specifications from scratch every time.
- SkillHub Page: https://www.skillhub.cn/skills/user_c2706611/yuanxingsheji-v1
- API Coordinate Page: https://api.skillhub.cn/user_c2706611/yuanxingsheji-v1