da-style 0.1.3 → 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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -218,21 +218,21 @@ node_modules/da-style/skills/da-style/
|
|
|
218
218
|
└── tokens.md # 设计令牌完整列表
|
|
219
219
|
```
|
|
220
220
|
|
|
221
|
-
###
|
|
221
|
+
### 方式一:通过 skills add 从 npm 安装(推荐)
|
|
222
222
|
|
|
223
223
|
```bash
|
|
224
|
-
npx
|
|
224
|
+
npx skills add da-style
|
|
225
225
|
```
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
直接从 npm 包安装 Skill(前提是包根目录下存在 `skills/` 目录且包含有效 Skill)。
|
|
228
228
|
|
|
229
|
-
###
|
|
229
|
+
### 方式二:随包扫描安装
|
|
230
230
|
|
|
231
231
|
```bash
|
|
232
|
-
npx skills
|
|
232
|
+
npx library-skills
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
|
|
235
|
+
此命令会自动扫描 `node_modules/*/skills/` 下所有合法的 Skill。注意:pnpm 用户可能需要使用方式一或方式三,因为 pnpm 的目录结构与此扫描路径不兼容。
|
|
236
236
|
|
|
237
237
|
### 方式三:手动复制
|
|
238
238
|
|