@dayinxisheng/skillctl 1.1.1 → 1.2.0

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/CHANGELOG.md CHANGED
@@ -1,79 +1,58 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [1.1.1] - 2026-03-05
9
-
10
- ### Changed
11
- - **优化表格显示**:`status` 命令输出表格列间距增加到 10 个空格,提升可读性
12
-
13
- ## [1.1.0] - 2026-03-05
14
-
15
- ### Added
16
- - **仓库别名管理**:通过 `config add-repo/remove-repo` 管理常用仓库,简化拉取操作
17
- - **镜像加速配置**:通过 `config set-mirror/unset-mirror` 配置国内 GitHub 镜像加速
18
- - **URL 验证工具**:新增 `url-validator.ts` 验证和解析仓库 URL
19
- - **ls-all 表格格式**:使用 `cli-table3` 显示 skill 描述信息
20
-
21
- ### Changed
22
- - **config 命令重构**:改为子命令结构(`show`、`set-repo`、`add-repo`、`remove-repo`、`set-mirror`、`unset-mirror`)
23
- - **pull 命令增强**:支持使用别名拉取,自动应用镜像配置
24
- - **命令整合**:移除独立的 `set-repo` 和 `get-repo` 命令,功能合并到 config 子命令
25
-
26
- ### Fixed
27
- - 修复 pull 命令下载时的网络问题(通过镜像加速)
28
-
29
- ## [1.0.4] - 2026-03-05
30
-
31
- ### Changed
32
- - 更新 README.md,添加 `pull` 命令使用文档和示例
33
- - 更新项目结构说明,包含新增的文件
34
-
35
- ## [1.0.3] - 2026-03-05
36
-
37
- ### Added
38
- - **`pull` 命令** - 从 Git 仓库拉取 skills 到本地
39
- - 支持从 GitHub 仓库提取指定目录作为 skill
40
- - 支持同时拉取多个 skills
41
- - 严格验证 SKILL.md 文件及 name 字段
42
- - `--force` 选项强制覆盖已存在的 skill(自动备份旧版本)
43
- - 跨平台支持(Linux/macOS 使用 tar.gz,Windows 使用 zip)
44
- - 支持国内 GitHub 镜像服务(ghfast.top、ghproxy.net 等)
45
- - 下载进度显示
46
-
47
- ### Changed
48
- - 重命名 `.claude/plans/` 目录下的计划文档,使用 `YYYY-MM-DD-<topic>-design.md` 格式
49
-
50
- ## [1.0.2] - 2026-03-05
51
-
52
- ### Fixed
53
- - 修复 Windows 平台上 `list` 命令显示错误的 Unix 风格路径(`~/.claude/skills`)
54
- - 现在 `list` 命令会根据平台自动显示正确的路径格式:
55
- - Windows: `C:\Users\用户名\.claude\skills`
56
- - Linux: `/home/用户名/.claude/skills`
57
- - macOS: `/Users/用户名/.claude/skills`
58
-
59
- ## [1.0.1] - 2026-03-05
60
-
61
- ### Added
62
- - `CHANGELOG.md` - 项目变更日志
63
-
64
- ### Changed
65
- - 改进 `README.md` 使用说明,添加更多示例和场景
66
- - 更新包名为 `@dayinxisheng/skillctl`(使用命名空间)
67
- - 添加 `publishConfig.access: public` 支持公开发布
68
-
69
- ## [1.0.0] - 2026-03-05
70
-
71
- ### Added
72
- - 初始发布
73
- - 激活/停用 skills(支持 user/project 级别)
74
- - 导入外部 skill 到项目
75
- - 定位 skill 实际位置
76
- - 查看激活状态和列表
77
- - 仓库路径配置管理
78
- - 跨平台支持(Windows/macOS/Linux)
79
- - TypeScript 类型定义
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.0.4] - 2026-03-05
9
+
10
+ ### Changed
11
+ - 更新 README.md,添加 `pull` 命令使用文档和示例
12
+ - 更新项目结构说明,包含新增的文件
13
+
14
+ ## [1.0.3] - 2026-03-05
15
+
16
+ ### Added
17
+ - **`pull` 命令** - Git 仓库拉取 skills 到本地
18
+ - 支持从 GitHub 仓库提取指定目录作为 skill
19
+ - 支持同时拉取多个 skills
20
+ - 严格验证 SKILL.md 文件及 name 字段
21
+ - `--force` 选项强制覆盖已存在的 skill(自动备份旧版本)
22
+ - 跨平台支持(Linux/macOS 使用 tar.gz,Windows 使用 zip)
23
+ - 支持国内 GitHub 镜像服务(ghfast.top、ghproxy.net 等)
24
+ - 下载进度显示
25
+
26
+ ### Changed
27
+ - 重命名 `.claude/plans/` 目录下的计划文档,使用 `YYYY-MM-DD-<topic>-design.md` 格式
28
+
29
+ ## [1.0.2] - 2026-03-05
30
+
31
+ ### Fixed
32
+ - 修复 Windows 平台上 `list` 命令显示错误的 Unix 风格路径(`~/.claude/skills`)
33
+ - 现在 `list` 命令会根据平台自动显示正确的路径格式:
34
+ - Windows: `C:\Users\用户名\.claude\skills`
35
+ - Linux: `/home/用户名/.claude/skills`
36
+ - macOS: `/Users/用户名/.claude/skills`
37
+
38
+ ## [1.0.1] - 2026-03-05
39
+
40
+ ### Added
41
+ - `CHANGELOG.md` - 项目变更日志
42
+
43
+ ### Changed
44
+ - 改进 `README.md` 使用说明,添加更多示例和场景
45
+ - 更新包名为 `@dayinxisheng/skillctl`(使用命名空间)
46
+ - 添加 `publishConfig.access: public` 支持公开发布
47
+
48
+ ## [1.0.0] - 2026-03-05
49
+
50
+ ### Added
51
+ - 初始发布
52
+ - 激活/停用 skills(支持 user/project 级别)
53
+ - 导入外部 skill 到项目
54
+ - 定位 skill 实际位置
55
+ - 查看激活状态和列表
56
+ - 仓库路径配置管理
57
+ - 跨平台支持(Windows/macOS/Linux)
58
+ - TypeScript 类型定义
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 hrjlab
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 hrjlab
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.