@ucloud-fe/udesign-cli 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/skills/udesign/SKILL.md +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @udesign
|
|
1
|
+
# @ucloud-fe/udesign-cli
|
|
2
2
|
|
|
3
3
|
UDesign 组件库命令行工具 — 查询组件知识、提取元数据、自动生成 Skill 文件,完全离线。
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ UDesign 组件库命令行工具 — 查询组件知识、提取元数据、自
|
|
|
13
13
|
## 安装
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install -g @udesign
|
|
16
|
+
npm install -g @ucloud-fe/udesign-cli
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
要求 Node.js >= 20。
|
package/package.json
CHANGED
package/skills/udesign/SKILL.md
CHANGED
|
@@ -5,14 +5,14 @@ description: "Use when the user's task involves UDesign (react-components) — w
|
|
|
5
5
|
|
|
6
6
|
# UDesign CLI
|
|
7
7
|
|
|
8
|
-
You have access to `@udesign
|
|
8
|
+
You have access to `@ucloud-fe/udesign-cli` — a local CLI tool with bundled UDesign component metadata. Use it to query component knowledge, analyze projects, and check for issues. All data is offline, no network needed.
|
|
9
9
|
|
|
10
10
|
You also have access to **per-component skills** (`cpn-basic-*`, `cpn-pro-*`) that contain detailed Props, Demos, Design Tokens, and best practices for each component. When working with a specific component, load its skill first — it has everything you need. Fall back to CLI commands for cross-component queries, project analysis, and token comparisons.
|
|
11
11
|
|
|
12
12
|
## Setup
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
which udesign || npm install -g @udesign
|
|
15
|
+
which udesign || npm install -g @ucloud-fe/udesign-cli
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
**Always use `--format json` for structured output you can parse programmatically.**
|