@dirtydishes/skills 0.1.1 → 0.1.2

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 CHANGED
@@ -17,7 +17,7 @@ The npm package name is `@dirtydishes/skills`; the Forgejo repo identity is `dir
17
17
 
18
18
  ```bash
19
19
  npx @dirtydishes/skills@latest list
20
- npx @dirtydishes/skills@latest install dirtyloops
20
+ npx @dirtydishes/skills@latest add dirtyloops
21
21
  npx @dirtydishes/skills@latest update dirtyloops
22
22
  npx @dirtydishes/skills@latest doctor dirtyloops
23
23
  ```
@@ -32,9 +32,11 @@ npx @dirtydishes/skills@latest update --all --quiet
32
32
  The default install target is `~/.agents/skills`. Override it with `--target-dir`:
33
33
 
34
34
  ```bash
35
- npx @dirtydishes/skills@latest install dirtyloops --target-dir ~/.agents/skills
35
+ npx @dirtydishes/skills@latest add dirtyloops --target-dir ~/.agents/skills
36
36
  ```
37
37
 
38
+ `add` is the primary human-facing command. `install` remains a compatible alias for scripts or older docs.
39
+
38
40
  The catalog distinguishes three dependency classes:
39
41
 
40
42
  - `requiresTools` - External commands that must exist on the system. `bd` is here because Beads is a tool, not a skill.
@@ -47,7 +49,7 @@ For local development from this checkout:
47
49
 
48
50
  ```bash
49
51
  node bin/skills.js list
50
- node bin/skills.js install dirtyloops --source-dir .
52
+ node bin/skills.js add dirtyloops --source-dir .
51
53
  node bin/skills.js doctor dirtyloops
52
54
  ```
53
55
 
package/bin/skills.js CHANGED
@@ -38,6 +38,7 @@ async function main() {
38
38
  case "list":
39
39
  listSkills(parsed);
40
40
  break;
41
+ case "add":
41
42
  case "install":
42
43
  case "update":
43
44
  installOrUpdate(parsed);
@@ -117,7 +118,7 @@ function installOrUpdate(parsed) {
117
118
 
118
119
  for (const skillName of installPlan.skillNames) {
119
120
  copySkill(skillName, sourceRoot, targetRoot);
120
- const pastTense = parsed.command === "install" ? "installed" : "updated";
121
+ const pastTense = parsed.command === "update" ? "updated" : "added";
121
122
  log(parsed, `${pastTense} ${skillName} -> ${path.join(targetRoot, skillName)}`);
122
123
  }
123
124
 
@@ -386,13 +387,14 @@ function printHelp() {
386
387
 
387
388
  Usage:
388
389
  skills list
390
+ skills add <skill> [--with-recommended]
389
391
  skills install <skill> [--with-recommended]
390
392
  skills update <skill> [--with-recommended]
391
393
  skills update --all [--with-recommended]
392
394
  skills doctor [skill]
393
395
 
394
396
  Examples:
395
- npx @dirtydishes/skills@latest install dirtyloops
397
+ npx @dirtydishes/skills@latest add dirtyloops
396
398
  npx @dirtydishes/skills@latest update dirtyloops --with-recommended
397
399
  npx @dirtydishes/skills@latest doctor dirtyloops
398
400
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dirtydishes/skills",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Installer and catalog for dirtydishes agent skills.",
5
5
  "type": "module",
6
6
  "bin": {