@camunda8/spm 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +14 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -66,6 +66,19 @@ Version selectors (exactly one per skill):
66
66
 
67
67
  `path` (optional) selects a subdirectory — for monorepos holding many skills.
68
68
 
69
+ To pull in **every** skill under a directory at once (each immediate
70
+ subdirectory that has its own `SKILL.md`), add `--all` instead of naming them
71
+ one by one:
72
+
73
+ ```bash
74
+ spm add https://github.com/org/repo --tag v1.0.0 --path skills --all
75
+ ```
76
+
77
+ Each sub-skill becomes its own `ai.json` entry, keyed by its directory name
78
+ (`--all` cannot be combined with `--name`). This is the one-shot equivalent of
79
+ the per-skill `spm add … --path <sub> --name <sub>` commands spm suggests when
80
+ you point `--path` at a container of skills.
81
+
69
82
  ### Repo URLs (HTTPS & SSH)
70
83
 
71
84
  `git` accepts any URL the system `git` understands:
@@ -139,7 +152,7 @@ make install PREFIX=~/.local # or a custom prefix
139
152
  ```bash
140
153
  spm init [--target claude|copilot ...] # scaffold ai.json (repeatable / comma-separated)
141
154
  spm add <git> (--tag|--branch|--commit <v>) \ # add + install a skill
142
- [--path <subdir>] [--name <local-name>]
155
+ [--path <subdir>] [--name <local-name>] [--all] # --all: add every skill under --path
143
156
  spm remove <name> # drop a skill
144
157
  spm update [name] # re-resolve branches/tags to latest
145
158
  spm install # rebuild from ai.lock (after clone)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda8/spm",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Skill package manager (spm): declare AI skills in ai.json and materialize them for Claude/Copilot.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/camunda/spm-cli#readme",
@@ -33,10 +33,10 @@
33
33
  "node": ">=18"
34
34
  },
35
35
  "optionalDependencies": {
36
- "@camunda8/spm-linux-x64": "0.2.0",
37
- "@camunda8/spm-linux-arm64": "0.2.0",
38
- "@camunda8/spm-darwin-x64": "0.2.0",
39
- "@camunda8/spm-darwin-arm64": "0.2.0",
40
- "@camunda8/spm-win32-x64": "0.2.0"
36
+ "@camunda8/spm-linux-x64": "0.3.0",
37
+ "@camunda8/spm-linux-arm64": "0.3.0",
38
+ "@camunda8/spm-darwin-x64": "0.3.0",
39
+ "@camunda8/spm-darwin-arm64": "0.3.0",
40
+ "@camunda8/spm-win32-x64": "0.3.0"
41
41
  }
42
42
  }