Preface¶
In B-end scenarios such as Ruyi, audience assets, and data dashboards, pages often need to be built upon one-design-next (ODN) components and existing blocks, rather than casually piecing together interfaces using generic UI libraries or pure HTML. Manually checking design specifications, block lists, and business knowledge to decide between requirement analysis, coding, or review is costly and prone to deviating from ODN constraints.
Below is an introduction to the community Skill wxad-design-ruyi (Coordinates: @user_9209a79b/wxad-design-ruyi, Current Version: 1.0.5). It integrates “Intent Recognition → Sub-process Routing → Pipeline Relay” into SKILL.md, enabling the Agent to load corresponding GUIDEs and execute structured workflows when users mention building pages, reviewing code, or looking up component usage, instead of providing improvised answers.
What is this¶
wxad-design-ruyi is a community Skill categorized as dev-programming on SkillHub (requires_api_key=false). The SkillHub page lists the author as Aragakey@WxadDesign and the publisher as user_9209a79b. As of the page and index information, it has a rating of 100000, 766 downloads, and 12 installations.
In one sentence: It uses the one-design-next component library to build pages related to the Ruyi platform. When user descriptions contain keywords such as “make a page,” “review code,” “Ruyi,” “one-design,” or “GenUI,” the Skill requires the Agent to use this Skill and prohibits replacing ODN with pure HTML/CSS or other UI libraries.
Core Features¶
The following capabilities are derived from the SKILL.md within the Skill package and SkillHub CLI search results. You can verify them against the files at the same path after installation.
Intent Routing & Sub-Skills¶
The main entry point is responsible for parsing user intent. When matched to a sub-Skill, the corresponding GUIDE.md must be loaded and the process executed, rather than answering queries directly. Common routes include:
| User Intent (Excerpt) | Load Path |
|---|---|
| Paste screenshot/wireframe, “Make a page”, “Build XX” | p1-design-analyst/GUIDE.md |
| Structured requirements, Design Prompts | p1-design-spec/GUIDE.md |
| “Implement page”, “Convert design draft to code” | p3-page-implement/GUIDE.md |
| “Audit”, “review”, “Compliance check” | p4-audit/GUIDE.md |
| “Refine”, “polish”, “Pre-release” | p4-polish/GUIDE.md |
| “Create project”, “scaffold”, “template” | “Create Project” flow within Main Entry |
| Check components, design specs, GenUI | Main Entry “Knowledge Query” |
The main pipeline is: design-analyst → design-spec → page-implement → audit → polish. Each sub-Skill relays via next_skill in the frontmatter. The parallel p2 Knowledge Layer (p2-business-knowledge, p2-block-catalog, p2-one-design) is loaded on-demand during analysis, coding, and auditing phases.
full vs. readonly Modes¶
The Skill supports an optional parameter mode (consistent in SkillHub description and SKILL.md frontmatter):
- full (Complete Mode): Can modify the knowledge base; described in the Skill as “Default for internal projects,” executing all write operations according to the full process.
- readonly (Read-only Mode): Only outputs code and suggestions; does not write to
docs-pages/, does not update block/business knowledge files, and does not modify component source code undercomponents/.page-implementoutputs code to the user’s working directory,polishonly provides fix suggestions;auditand knowledge queries remain available. The Skill notes that readonly is the default orientation for external platform scenarios.
Engineering Constraints (Excerpt)¶
Before writing code, the Skill enforces several hard constraints, such as: if a single Write is estimated to exceed ~800 lines, files must be split first; to fix TS errors, run tsc first before modifying accordingly; before implementing a page, check if it is in an ODN project containing one-design-next dependencies, otherwise proceed to “Create Project” assembly first; if block keywords are hit, query p2-block-catalog and prioritize reusing blocks under references/blocks/ rather than rewriting tables or charts. The full pipeline also adheres to ODN visual and component selection iron rules (prohibiting gradients, external icon libraries, assembling complete controls with native tags, etc.), which are judged by rules during the audit phase.
Installation & Activation¶
1. Install SkillHub CLI (if not installed)¶
command -v skillhub && skillhub --version
If not installed, follow the SkillHub official installation documentation to perform a full installation (CLI + Default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install wxad-design-ruyi¶
During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ which may not be recognized. The installation command provided by the official search is:
skillhub install wxad-design-ruyi --namespace user_9209a79b --dir <your Agent skills directory>
Common paths (from SkillHub installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh the Skill list according to your client’s requirements. The SkillHub page also suggests asking the AI to install @user_9209a79b/wxad-design-ruyi by referring to https://skillhub.cn/install/skillhub.md.
Typical Usage¶
Triggering¶
The Skill’s description declares: when users say “make a page,” “restore design draft,” “review code,” “check how to use a component,” “create project,” or mention “Ruyi,” “Audience Assets,” “Data Dashboard,” “one-design,” “GenUI,” “StreamText,” “Composer,” etc., this Skill MUST be used. The Agent should automatically determine intent and route it, rather than substituting ODN with other UI stacks.
Invocation with mode¶
In environments supporting Skill parameters, you can pass the requirement description (screenshot, Figma link, or code snippet) to input, with an optional mode:
- Use
fullwhen the Agent needs to update the knowledge base and block catalog within the Skill package. - Use
readonlywhen on an external platform or only wanting to land code in the workspace without modifying the Skill’s built-in components and knowledge files (the Skill specifies that writing to the knowledge base andcomponents/is prohibited in this mode).
Reproducible Dialogue Examples (Semantic)¶
The following expressions will enter different sub-processes, facilitating self-testing of routing effectiveness:
- “Make a data dashboard page in the current ODN project” → First check project environment, then enter
design-analystpipeline. - “Review if this page code complies with ODN” → Load
p4-audit/GUIDE.md. - “How to use the RyDateRangePicker block” → Main entry knowledge query, read
p2-one-designor block-related rules. - In an empty directory with no terminal, requesting “Directly use the workshop template” → Main entry “Create Project”, output
references/assembly steps.
When intent is uncertain, the Skill requires the Agent to confirm with the user using fixed options (Create Project / Create Page / Review / Check Usage / Other) rather than guessing.
Use Cases & Notes¶
Who it is for: Front-end or full-stack developers maintaining or creating B-end interfaces based on one-design-next (such as Ruyi, Audience Assets, Dashboards, List Pages) who need to bind design specs, block catalogs, and business knowledge into the Agent workflow.
Limitations & Notes:
- The Skill is relatively large, containing multiple sub-Skills, block reference implementations, and workshop data; the initial installation downloads the full package. Disk and context usage should be assessed independently.
- The behavioral difference between readonly and full centers on whether to rewrite the Skill’s built-in knowledge base and component directory; when sharing a Skill directory within a team, defaulting to readonly is recommended to avoid accidental modification of shared knowledge files.
- The pipeline assumes the ability to execute shell commands (like
tsc, project scaffold); in environments without a terminal and with an empty directory, project creation degrades to outputting manual assembly steps. - Rating and download counts come from SkillHub page snapshots and will change over time; refer to
skillhub search wxad-design-ruyior the official website at the time of installation.
Conclusion¶
wxad-design-ruyi strings together analysis, specification, implementation, review, and refinement for Ruyi/ODN scenarios into a relayable pipeline, and uses full / readonly to distinguish whether to modify the Skill’s built-in knowledge base and component directory. If you are already using SkillHub in environments like Cursor, you can install it into the skills directory using the commands above and verify if the routing meets expectations using typical phrases.
Official Entrances:
- SkillHub Page: https://www.skillhub.cn/skills/user_9209a79b/wxad-design-ruyi
- API Coordinate Page: https://api.skillhub.cn/user_9209a79b/wxad-design-ruyi