skpm-cli 1.4.8 → 1.5.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/README.md +10 -10
- package/dist/cli.mjs +13 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,22 +36,22 @@ skpm add jonmumm/skills@swarm -g
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
# GitHub shorthand (owner/repo)
|
|
39
|
-
skpm add
|
|
39
|
+
skpm add jonmumm/skills
|
|
40
40
|
|
|
41
41
|
# Install a specific skill with auto-resolved dependencies
|
|
42
42
|
skpm add jonmumm/skills@swarm
|
|
43
43
|
|
|
44
44
|
# Full GitHub URL
|
|
45
|
-
skpm add https://github.com/
|
|
45
|
+
skpm add https://github.com/jonmumm/skills
|
|
46
46
|
|
|
47
47
|
# Direct path to a skill in a repo
|
|
48
|
-
skpm add https://github.com/
|
|
48
|
+
skpm add https://github.com/jonmumm/skills/tree/main/skills/tdd
|
|
49
49
|
|
|
50
50
|
# GitLab URL
|
|
51
51
|
skpm add https://gitlab.com/org/repo
|
|
52
52
|
|
|
53
53
|
# Any git URL
|
|
54
|
-
skpm add git@github.com:
|
|
54
|
+
skpm add git@github.com:owner/repo.git
|
|
55
55
|
|
|
56
56
|
# Local path
|
|
57
57
|
skpm add ./my-local-skills
|
|
@@ -76,19 +76,19 @@ skpm add ./my-local-skills
|
|
|
76
76
|
skpm add jonmumm/skills@swarm -g
|
|
77
77
|
|
|
78
78
|
# List skills in a repository
|
|
79
|
-
skpm add
|
|
79
|
+
skpm add jonmumm/skills --list
|
|
80
80
|
|
|
81
81
|
# Install specific skills
|
|
82
|
-
skpm add
|
|
82
|
+
skpm add jonmumm/skills --skill swarm --skill tdd
|
|
83
83
|
|
|
84
84
|
# Install to specific agents
|
|
85
|
-
skpm add
|
|
85
|
+
skpm add jonmumm/skills -a claude-code -a opencode
|
|
86
86
|
|
|
87
87
|
# Non-interactive installation (CI/CD friendly)
|
|
88
|
-
skpm add
|
|
88
|
+
skpm add jonmumm/skills --skill swarm -g -a claude-code -y
|
|
89
89
|
|
|
90
90
|
# Install all skills from a repo to all agents
|
|
91
|
-
skpm add
|
|
91
|
+
skpm add jonmumm/skills --all
|
|
92
92
|
|
|
93
93
|
# Auto-accept postInstall commands (CI/CD)
|
|
94
94
|
skpm add jonmumm/skills@swarm -g -y --trust-scripts
|
|
@@ -433,7 +433,7 @@ Ensure you have write access to the target directory.
|
|
|
433
433
|
|
|
434
434
|
```bash
|
|
435
435
|
# Install internal skills
|
|
436
|
-
INSTALL_INTERNAL_SKILLS=1 skpm add
|
|
436
|
+
INSTALL_INTERNAL_SKILLS=1 skpm add owner/repo --list
|
|
437
437
|
```
|
|
438
438
|
|
|
439
439
|
## Telemetry
|
package/dist/cli.mjs
CHANGED
|
@@ -1900,7 +1900,7 @@ function createEmptyLocalLock() {
|
|
|
1900
1900
|
skills: {}
|
|
1901
1901
|
};
|
|
1902
1902
|
}
|
|
1903
|
-
var version$1 = "1.
|
|
1903
|
+
var version$1 = "1.5.0";
|
|
1904
1904
|
const isCancelled$1 = (value) => typeof value === "symbol";
|
|
1905
1905
|
async function isSourcePrivate(source) {
|
|
1906
1906
|
const ownerRepo = parseOwnerRepo(source);
|
|
@@ -2363,7 +2363,7 @@ async function runAdd(args, options = {}) {
|
|
|
2363
2363
|
console.log(` ${import_picocolors.default.cyan("npx skpm-cli add")} ${import_picocolors.default.yellow("<source>")} ${import_picocolors.default.dim("[options]")}`);
|
|
2364
2364
|
console.log();
|
|
2365
2365
|
console.log(import_picocolors.default.dim(" Example:"));
|
|
2366
|
-
console.log(` ${import_picocolors.default.cyan("npx skpm-cli add")} ${import_picocolors.default.yellow("
|
|
2366
|
+
console.log(` ${import_picocolors.default.cyan("npx skpm-cli add")} ${import_picocolors.default.yellow("owner/repo")}`);
|
|
2367
2367
|
console.log();
|
|
2368
2368
|
process.exit(1);
|
|
2369
2369
|
}
|
|
@@ -2961,7 +2961,7 @@ async function promptForFindSkills(options, targetAgents) {
|
|
|
2961
2961
|
console.log();
|
|
2962
2962
|
M.step("Installing find-skills skill...");
|
|
2963
2963
|
try {
|
|
2964
|
-
await runAdd(["
|
|
2964
|
+
await runAdd(["skpm-sh/skills"], {
|
|
2965
2965
|
skill: ["find-skills"],
|
|
2966
2966
|
global: true,
|
|
2967
2967
|
yes: true,
|
|
@@ -2969,11 +2969,11 @@ async function promptForFindSkills(options, targetAgents) {
|
|
|
2969
2969
|
});
|
|
2970
2970
|
} catch {
|
|
2971
2971
|
M.warn("Failed to install find-skills. You can try again with:");
|
|
2972
|
-
M.message(import_picocolors.default.dim(" npx skpm-cli add
|
|
2972
|
+
M.message(import_picocolors.default.dim(" npx skpm-cli add skpm-sh/skills@find-skills -g -y --all"));
|
|
2973
2973
|
}
|
|
2974
2974
|
} else {
|
|
2975
2975
|
await dismissPrompt("findSkillsPrompt");
|
|
2976
|
-
M.message(import_picocolors.default.dim("You can install it later with: npx skpm-cli add
|
|
2976
|
+
M.message(import_picocolors.default.dim("You can install it later with: npx skpm-cli add skpm-sh/skills@find-skills"));
|
|
2977
2977
|
}
|
|
2978
2978
|
} catch {}
|
|
2979
2979
|
}
|
|
@@ -3957,7 +3957,7 @@ ${BOLD$2}Arguments:${RESET$2}
|
|
|
3957
3957
|
|
|
3958
3958
|
${BOLD$2}Examples:${RESET$2}
|
|
3959
3959
|
${DIM$2}$${RESET$2} skpm deps jonmumm/skills@swarm
|
|
3960
|
-
${DIM$2}$${RESET$2} skpm deps
|
|
3960
|
+
${DIM$2}$${RESET$2} skpm deps owner/repo@skill-name
|
|
3961
3961
|
`);
|
|
3962
3962
|
return;
|
|
3963
3963
|
}
|
|
@@ -4138,7 +4138,7 @@ function showBanner() {
|
|
|
4138
4138
|
console.log(` ${DIM}$${RESET} ${TEXT}skpm init ${DIM}[name]${RESET} ${DIM}Create a new skill${RESET}`);
|
|
4139
4139
|
console.log(` ${DIM}$${RESET} ${TEXT}skpm experimental_sync${RESET} ${DIM}Sync skills from node_modules${RESET}`);
|
|
4140
4140
|
console.log();
|
|
4141
|
-
console.log(`${DIM}try:${RESET} skpm add
|
|
4141
|
+
console.log(`${DIM}try:${RESET} skpm add jonmumm/skills`);
|
|
4142
4142
|
console.log();
|
|
4143
4143
|
console.log(`Discover more skills at ${TEXT}https://skpm.sh/${RESET}`);
|
|
4144
4144
|
console.log();
|
|
@@ -4149,8 +4149,8 @@ ${BOLD}Usage:${RESET} skpm <command> [options]
|
|
|
4149
4149
|
|
|
4150
4150
|
${BOLD}Manage Skills:${RESET}
|
|
4151
4151
|
add <package> Add a skill package (alias: a)
|
|
4152
|
-
e.g.
|
|
4153
|
-
https://github.com/
|
|
4152
|
+
e.g. owner/repo
|
|
4153
|
+
https://github.com/owner/repo
|
|
4154
4154
|
remove [skills] Remove installed skills
|
|
4155
4155
|
list, ls List installed skills
|
|
4156
4156
|
find [query] Search for skills interactively
|
|
@@ -4200,10 +4200,10 @@ ${BOLD}Options:${RESET}
|
|
|
4200
4200
|
--version, -v Show version number
|
|
4201
4201
|
|
|
4202
4202
|
${BOLD}Examples:${RESET}
|
|
4203
|
-
${DIM}$${RESET} skpm add
|
|
4204
|
-
${DIM}$${RESET} skpm add
|
|
4205
|
-
${DIM}$${RESET} skpm add
|
|
4206
|
-
${DIM}$${RESET} skpm add
|
|
4203
|
+
${DIM}$${RESET} skpm add jonmumm/skills
|
|
4204
|
+
${DIM}$${RESET} skpm add jonmumm/skills -g
|
|
4205
|
+
${DIM}$${RESET} skpm add jonmumm/skills --agent claude-code cursor
|
|
4206
|
+
${DIM}$${RESET} skpm add jonmumm/skills --skill swarm tdd
|
|
4207
4207
|
${DIM}$${RESET} skpm remove ${DIM}# interactive remove${RESET}
|
|
4208
4208
|
${DIM}$${RESET} skpm remove web-design ${DIM}# remove by name${RESET}
|
|
4209
4209
|
${DIM}$${RESET} skpm rm --global frontend-design
|