@stefafafan/skm 0.1.4 → 0.1.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 +47 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
# skm
|
|
1
|
+
# skm - Keep Agent Skills Under Control for Team Development
|
|
2
2
|
|
|
3
3
|
<a href="https://www.npmjs.com/package/@stefafafan/skm"><img alt="NPM Version" src="https://img.shields.io/npm/v/%40stefafafan%2Fskm"></a>
|
|
4
4
|
|
|
5
|
-
`skm`
|
|
5
|
+
`skm` helps keep [Agent Skills](https://agentskills.io) for projects under control.
|
|
6
|
+
It stores resolved commit hashes for reproducibility and lets you alias skill names so teams can keep naming consistent, which matters because the skill `name` and `description` affect how agents trigger them.
|
|
6
7
|
|
|
7
8
|
See [stefafafan/skm-demo](https://github.com/stefafafan/skm-demo) for real examples of how `skm` is used in a project.
|
|
8
9
|
|
|
@@ -18,7 +19,49 @@ Agent Skills are convenient, but there are 2 points to consider:
|
|
|
18
19
|
1. Which version skill did I just download? How should I update them?
|
|
19
20
|
2. People make skills with different naming conventions--should I rename them?
|
|
20
21
|
|
|
21
|
-
`skm` solves these problems by
|
|
22
|
+
`skm` solves these problems by tracking exactly which commit of each skill was installed and by letting you rename skills locally without changing the upstream repository.
|
|
23
|
+
|
|
24
|
+
## No skm vs With skm
|
|
25
|
+
|
|
26
|
+
### No skm
|
|
27
|
+
|
|
28
|
+
- Copy and paste skills manually in different ways.
|
|
29
|
+
- No idea if upstream skills have updates.
|
|
30
|
+
- No real naming convention ending up to hundreds of skills with random names.
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
project/
|
|
34
|
+
└── .agents/
|
|
35
|
+
└── skills/ <-- Files within this directory edited manually in many ways.
|
|
36
|
+
├── commit-msg-helper/
|
|
37
|
+
│ └── SKILL.md
|
|
38
|
+
├── stefans-best-skill/
|
|
39
|
+
│ └── SKILL.md
|
|
40
|
+
├── infra-master/
|
|
41
|
+
│ └── SKILL.md
|
|
42
|
+
└── ultra_fast_coder_skill/ <-- Random named skills depending on skill author
|
|
43
|
+
└── SKILL.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### With skm
|
|
47
|
+
|
|
48
|
+
- Standardized way of installing/updating skills. `skills.json` shows a clear outline of managed skills.
|
|
49
|
+
- `skills.lock.json` stores resolved commit hashes for reproducible installs.
|
|
50
|
+
- `skm rename` lets projects keep consistent local skill names.
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
project/
|
|
54
|
+
├── skills.json <-- This file is edited (via skm add, skm rename, etc.)
|
|
55
|
+
├── skills.lock.json <-- Contains exact commit hash for each skill installed. Reproducible.
|
|
56
|
+
└── .agents/
|
|
57
|
+
└── skills/
|
|
58
|
+
├── commit-message-writer/
|
|
59
|
+
│ └── SKILL.md
|
|
60
|
+
├── github-actions-pinner/
|
|
61
|
+
│ └── SKILL.md
|
|
62
|
+
└── web-security-reviewer/ <-- Skill renamed via skm, making things under-control.
|
|
63
|
+
└── SKILL.md
|
|
64
|
+
```
|
|
22
65
|
|
|
23
66
|
## Installation
|
|
24
67
|
|
|
@@ -65,7 +108,7 @@ git commit
|
|
|
65
108
|
|
|
66
109
|
### For global settings
|
|
67
110
|
|
|
68
|
-
Basically the same, but with `--global`
|
|
111
|
+
You can use `skm` to manage global skills as well. Basically the same, but with `--global`
|
|
69
112
|
|
|
70
113
|
```bash
|
|
71
114
|
skm init --global
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stefafafan/skm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "A
|
|
5
|
+
"description": "A tool for keeping AI Agent Skills under control for team development. Supports storing resolved commit hashes of skills for reproducibility and alias names for keeping names consistent. ",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"agents",
|
|
8
8
|
"cli",
|