synskill 0.1.4

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 (3) hide show
  1. package/README.md +69 -0
  2. package/bin/synskill.js +2259 -0
  3. package/package.json +33 -0
package/README.md ADDED
@@ -0,0 +1,69 @@
1
+ # synskill
2
+
3
+ `synskill` is a public npm CLI that installs skills from a private Git repository you already have access to.
4
+
5
+ ## Usage
6
+
7
+ ```bash
8
+ npx synskill
9
+ ```
10
+
11
+ ## Install A Skill
12
+
13
+ Install one skill directly into the current repo:
14
+
15
+ ```bash
16
+ npx synskill <skill-name> --project
17
+ ```
18
+
19
+ Examples:
20
+
21
+ ```bash
22
+ npx synskill pr-review --project
23
+ npx synskill bootstrap-device-repo --project
24
+ npx synskill skill-creator --global
25
+ ```
26
+
27
+ Omit `--project` for a global install. Add `--copy` if you want copies instead of symlinks.
28
+
29
+ ## Requirements
30
+
31
+ - Node.js 18 or newer
32
+ - Git available in `PATH`
33
+ - Access to the private repository that contains your skills
34
+
35
+ ## Common Commands
36
+
37
+ ```bash
38
+ npx synskill
39
+ npx synskill pr-review --project
40
+ npx synskill install pr-review --project
41
+ npx synskill add pr-review --project
42
+ npx synskill list
43
+ npx synskill skill-creator --global
44
+ npx synskill install --skills my-skill --project
45
+ npx synskill install --skills my-skill --project --copy
46
+ npx synskill update
47
+ ```
48
+
49
+ ## Private Repo Override
50
+
51
+ ```bash
52
+ npx synskill --repo-url <git-url>
53
+ ```
54
+
55
+ or:
56
+
57
+ ```bash
58
+ SYNAPSE_SKILLS_REPO_URL=<git-url> npx synskill
59
+ ```
60
+
61
+ ## Notes
62
+
63
+ - The CLI keeps a local cache of the private skills repository to make repeated runs fast.
64
+ - You can install a specific skill directly with `npx synskill install <skill-name>` or `npx synskill <skill-name>`.
65
+ - `skill-creator` is fetched on demand from `https://github.com/anthropics/skills/tree/main/skills/skill-creator` so it stays on the upstream latest version without being stored in this repo.
66
+ - `skill-creator` is explicit-install only and does not appear in the default interactive skills list.
67
+ - By default it symlinks each selected target directly to the source skill directory; use `--copy` to write independent copies instead.
68
+ - `update` forces a cache refresh.
69
+ - `--no-pull` uses the existing cache without refreshing it.