@workskills/getskill 1.1.0 → 1.1.1

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/EXAMPLES.md CHANGED
@@ -148,7 +148,7 @@ const getskill = require('@workskills/getskill');
148
148
  (async () => {
149
149
  try {
150
150
  // 设置自定义 API 地址(可选)
151
- getskill.setBaseUrl('https://getskills.certer');
151
+ getskill.setBaseUrl('https://getskill.work');
152
152
 
153
153
  // 查看当前 API 地址
154
154
  console.log('当前 API:', getskill.getBaseUrl());
@@ -235,7 +235,7 @@ $ getskill search commit
235
235
  ```bash
236
236
  # 查看当前 API 地址
237
237
  $ getskill config get
238
- 当前 BASE_URL: https://getskills.certer
238
+ 当前 BASE_URL: https://getskill.work
239
239
 
240
240
  # 设置自定义 API 地址
241
241
  $ getskill config set https://custom-api.example.com
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # GetSkill
2
2
 
3
- OpenClaw 技能管理工具 - 从 getskills.certer 搜索、下载和更新技能文件
3
+ OpenClaw 技能管理工具 - 从 getskill.work 搜索、下载和更新技能文件
4
4
 
5
5
  ## 功能特性
6
6
 
7
- - 🔍 从 getskills.certer API 搜索技能
7
+ - 🔍 从 getskill.work API 搜索技能
8
8
  - 📥 通过 Git 克隆技能仓库
9
9
  - 🔄 通过 Git pull 更新已安装的技能
10
10
  - 🛠️ 自动检测并引导安装 Git(如未安装)
@@ -14,7 +14,7 @@ OpenClaw 技能管理工具 - 从 getskills.certer 搜索、下载和更新技
14
14
 
15
15
  ## 工作原理
16
16
 
17
- 1. **搜索**: 从 `getskills.certer` API 获取技能列表,包含 Git 仓库地址
17
+ 1. **搜索**: 从 `getskill.work` API 获取技能列表,包含 Git 仓库地址
18
18
  2. **安装**: 使用 `git clone` 克隆技能仓库到缓存目录
19
19
  3. **复制**: 将仓库中的 `.md` 技能文件复制到 OpenClaw skills 目录
20
20
  4. **更新**: 使用 `git pull` 更新仓库,并重新复制文件
@@ -165,7 +165,7 @@ GETSKILL_BASE_URL=https://your-custom-api.com getskill search keyword
165
165
  ### 搜索 API
166
166
 
167
167
  ```
168
- GET https://getskills.certer/repo/search?sort=updated&order=desc&q=<关键词>&page=1&limit=20
168
+ GET https://getskill.work/repo/search?sort=updated&order=desc&q=<关键词>&page=1&limit=20
169
169
  ```
170
170
 
171
171
  响应格式:
@@ -178,8 +178,8 @@ GET https://getskills.certer/repo/search?sort=updated&order=desc&q=<关键词>&p
178
178
  "id": 1,
179
179
  "full_name": "skills/commit-helper",
180
180
  "description": "帮助生成规范的 git commit 信息",
181
- "html_url": "https://getskills.certer/skills/commit-helper",
182
- "clone_url": "https://getskills.certer/skills/commit-helper.git"
181
+ "html_url": "https://getskill.work/skills/commit-helper",
182
+ "clone_url": "https://getskill.work/skills/commit-helper.git"
183
183
  }
184
184
  }
185
185
  ]
@@ -189,7 +189,7 @@ GET https://getskills.certer/repo/search?sort=updated&order=desc&q=<关键词>&p
189
189
  ### 详情 API
190
190
 
191
191
  ```
192
- GET https://getskills.certer/repo/<技能名称>
192
+ GET https://getskill.work/repo/<技能名称>
193
193
  ```
194
194
 
195
195
  响应格式:
@@ -199,8 +199,8 @@ GET https://getskills.certer/repo/<技能名称>
199
199
  "id": 1,
200
200
  "full_name": "skills/commit-helper",
201
201
  "description": "帮助生成规范的 git commit 信息",
202
- "html_url": "https://getskills.certer/skills/commit-helper",
203
- "clone_url": "https://getskills.certer/skills/commit-helper.git"
202
+ "html_url": "https://getskill.work/skills/commit-helper",
203
+ "clone_url": "https://getskill.work/skills/commit-helper.git"
204
204
  }
205
205
  }
206
206
  ```
package/index.js CHANGED
@@ -11,7 +11,7 @@ const { exec } = require('child_process');
11
11
  * 基础 URL 配置
12
12
  * 可以通过环境变量 GETSKILL_BASE_URL 自定义
13
13
  */
14
- let BASE_URL = process.env.GETSKILL_BASE_URL || 'https://getskills.certer';
14
+ let BASE_URL = process.env.GETSKILL_BASE_URL || 'https://getskill.work';
15
15
 
16
16
  /**
17
17
  * 设置自定义 BASE_URL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workskills/getskill",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Search, install, and update OpenClaw skills with automatic Git integration and configurable API endpoint",
5
5
  "main": "index.js",
6
6
  "bin": {