itismyskillmarket 1.2.4 → 1.2.5
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 +5 -2
- package/SKILLMARKET-GUIDE.md +17 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/README.md +6 -4
- package/src/cli.ts +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,14 @@ npx itismyskillmarket --help
|
|
|
17
17
|
## Usage
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
# List available skills
|
|
20
|
+
# List available skills (with pagination)
|
|
21
21
|
skm ls
|
|
22
|
+
skm ls --page 2 # Go to page 2
|
|
23
|
+
skm ls --limit 10 # Show 10 items per page
|
|
22
24
|
|
|
23
|
-
# Show installed skills
|
|
25
|
+
# Show installed skills (with pagination)
|
|
24
26
|
skm ls --installed
|
|
27
|
+
skm ls --installed --page 2
|
|
25
28
|
|
|
26
29
|
# View skill information
|
|
27
30
|
skm info brainstorming
|
package/SKILLMARKET-GUIDE.md
CHANGED
|
@@ -207,26 +207,38 @@ jobs:
|
|
|
207
207
|
### 安装 SkillMarket CLI
|
|
208
208
|
|
|
209
209
|
```bash
|
|
210
|
-
npm install -g
|
|
210
|
+
npm install -g itismyskillmarket
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
或使用 npx(无需安装):
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
npx itismyskillmarket --help
|
|
211
217
|
```
|
|
212
218
|
|
|
213
219
|
### 基本命令
|
|
214
220
|
|
|
215
221
|
```bash
|
|
216
|
-
# 列出可用 skills
|
|
222
|
+
# 列出可用 skills(支持分页)
|
|
217
223
|
skm ls
|
|
218
224
|
|
|
225
|
+
# 分页浏览
|
|
226
|
+
skm ls --page 2 # 第 2 页
|
|
227
|
+
skm ls --limit 10 # 每页 10 个
|
|
228
|
+
|
|
219
229
|
# 查看 skill 详情
|
|
220
230
|
skm info <skill-name>
|
|
221
231
|
|
|
222
232
|
# 安装 skill
|
|
223
233
|
skm install <skill-name>
|
|
224
234
|
|
|
225
|
-
#
|
|
235
|
+
# 查看已安装(支持分页)
|
|
226
236
|
skm ls --installed
|
|
237
|
+
skm ls --installed --page 2
|
|
227
238
|
|
|
228
239
|
# 更新 skill
|
|
229
240
|
skm update <skill-name>
|
|
241
|
+
skm update --all # 更新所有
|
|
230
242
|
|
|
231
243
|
# 卸载 skill
|
|
232
244
|
skm uninstall <skill-name>
|
|
@@ -266,9 +278,8 @@ skm ls
|
|
|
266
278
|
| 版本 | 日期 | 描述 |
|
|
267
279
|
|------|------|------|
|
|
268
280
|
| 1.0.0 | 2026-04-01 | 初始版本 |
|
|
269
|
-
| 1.0
|
|
270
|
-
| 1.
|
|
271
|
-
| 1.0.3 | 2026-04-08 | 改进 ls 显示 |
|
|
281
|
+
| 1.2.0 | 2026-04-15 | 添加跨平台支持 |
|
|
282
|
+
| 1.2.4 | 2026-04-16 | 添加 `skm ls` 分页功能 |
|
|
272
283
|
|
|
273
284
|
---
|
|
274
285
|
|
package/dist/index.js
CHANGED
|
@@ -753,7 +753,7 @@ Uninstalling from ${validAdapters.length} platform(s)...
|
|
|
753
753
|
|
|
754
754
|
// src/cli.ts
|
|
755
755
|
var program = new Command();
|
|
756
|
-
program.name("skm").description("SkillMarket - Cross-platform skill manager for AI coding tools").version("1.
|
|
756
|
+
program.name("skm").description("SkillMarket - Cross-platform skill manager for AI coding tools").version("1.2.4");
|
|
757
757
|
program.hook("preAction", (thisCommand) => {
|
|
758
758
|
if (thisCommand.opts().help) {
|
|
759
759
|
console.log(`
|
package/package.json
CHANGED
package/skills/README.md
CHANGED
|
@@ -8,10 +8,10 @@ This directory contains the skill packages that can be published to npm.
|
|
|
8
8
|
2. Add the required files:
|
|
9
9
|
- `package.json` - Package configuration with `skillmarket` metadata
|
|
10
10
|
- `SKILL.md` - Skill documentation
|
|
11
|
-
- `metadata.json` - Skill metadata
|
|
11
|
+
- `metadata.json` - Skill metadata (optional)
|
|
12
12
|
- `index.js` - Main entry point (OpenCode plugin)
|
|
13
13
|
|
|
14
|
-
3.
|
|
14
|
+
3. Publish via GitHub Actions or manually
|
|
15
15
|
|
|
16
16
|
## Publishing a Skill
|
|
17
17
|
|
|
@@ -42,11 +42,13 @@ npm publish --access=public
|
|
|
42
42
|
"id": "<skill-name>",
|
|
43
43
|
"displayName": "Display Name",
|
|
44
44
|
"description": "Description",
|
|
45
|
-
"platforms": ["opencode", "cursor", "vscode"]
|
|
45
|
+
"platforms": ["opencode", "cursor", "vscode", "claude", "codex", "antigravity"]
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
## Current Skills
|
|
51
51
|
|
|
52
|
-
- `test-skill` - Test skill for validating the installation flow
|
|
52
|
+
- `test-skill` - Test skill for validating the installation flow
|
|
53
|
+
- `test-skill-1` - Test skill for validating uninstall and update flows
|
|
54
|
+
- `test-skill-2` - Test skill for validating multi-platform installation
|
package/src/cli.ts
CHANGED
|
@@ -65,7 +65,7 @@ const program = new Command();
|
|
|
65
65
|
program
|
|
66
66
|
.name('skm')
|
|
67
67
|
.description('SkillMarket - Cross-platform skill manager for AI coding tools')
|
|
68
|
-
.version('1.
|
|
68
|
+
.version('1.2.4');
|
|
69
69
|
|
|
70
70
|
// -----------------------------------------------------------------------------
|
|
71
71
|
// 帮助命令 (-h, --help)
|