visual-spec 0.1.7 → 0.1.8

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.
@@ -32,6 +32,22 @@ Yarn Berry (v2+):
32
32
  yarn dlx -p visual-spec@latest vspec
33
33
  ```
34
34
 
35
+ ### Install to a Custom Directory (`--target-skills-dir`)
36
+
37
+ By default, the install script copies the Skill into `.trae/skills/visual-spec-skill` under the current working directory. If you need to install into a custom `skills/` directory (for example, a shared editor config directory), run:
38
+
39
+ ```bash
40
+ vspec --target-skills-dir /path/to/skills --force
41
+ ```
42
+
43
+ Notes:
44
+ - `--target-skills-dir` should point to the `skills/` directory; the installer will append `visual-spec-skill/`.
45
+ - You can also pass a full target directory (including `visual-spec-skill`) via `--target-skill-dir`:
46
+
47
+ ```bash
48
+ vspec --target-skill-dir /path/to/skills/visual-spec-skill --force
49
+ ```
50
+
35
51
  ### Next
36
52
 
37
53
  - Getting started: `getting-started.md`
@@ -32,6 +32,22 @@ Yarn Berry(v2+):
32
32
  yarn dlx -p visual-spec@latest vspec
33
33
  ```
34
34
 
35
+ ### 指定安装目录(`--target-skills-dir`)
36
+
37
+ 默认情况下,安装脚本会把 Skill 安装到当前目录的 `.trae/skills/visual-spec-skill`。如果你需要安装到自定义的 `skills/` 目录(例如统一放在某个编辑器配置目录),可以在安装后执行:
38
+
39
+ ```bash
40
+ vspec --target-skills-dir /path/to/skills --force
41
+ ```
42
+
43
+ 说明:
44
+ - `--target-skills-dir` 传入的是“skills 目录”,脚本会自动追加子目录 `visual-spec-skill/`
45
+ - 你也可以使用 `--target-skill-dir` 传入完整目标目录(包含 `visual-spec-skill`):
46
+
47
+ ```bash
48
+ vspec --target-skill-dir /path/to/skills/visual-spec-skill --force
49
+ ```
50
+
35
51
  ### 下一步
36
52
 
37
53
  - 快速开始:`getting-started.md`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visual-spec",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "AI skill: visual-spec-skill (/vspec:* commands) for requirement analysis, prototyping, detailing, testing, and planning.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",