@aipm-registry/cli 0.1.1 → 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 +62 -5
- package/dist/bin.cjs +8009 -6789
- package/dist/bin.cjs.map +4 -4
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -7,6 +7,9 @@ Claude.
|
|
|
7
7
|
|
|
8
8
|
```bash
|
|
9
9
|
npm install -g @aipm-registry/cli
|
|
10
|
+
aipm --version
|
|
11
|
+
aipm doctor
|
|
12
|
+
aipm config
|
|
10
13
|
```
|
|
11
14
|
|
|
12
15
|
## Use
|
|
@@ -20,7 +23,7 @@ aipm init
|
|
|
20
23
|
Install a skill from the public registry:
|
|
21
24
|
|
|
22
25
|
```bash
|
|
23
|
-
aipm add @
|
|
26
|
+
aipm add @scope/name@1.0.0 --target cursor --ci
|
|
24
27
|
```
|
|
25
28
|
|
|
26
29
|
List installed skills:
|
|
@@ -29,14 +32,68 @@ List installed skills:
|
|
|
29
32
|
aipm list
|
|
30
33
|
```
|
|
31
34
|
|
|
35
|
+
Search the registry:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
aipm search sentry
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Search results include package version, supported targets, description,
|
|
42
|
+
publisher identity when available, license, and package size.
|
|
43
|
+
|
|
44
|
+
Update installed skills:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
aipm update
|
|
48
|
+
```
|
|
49
|
+
|
|
32
50
|
This package is bundled. Installing `@aipm-registry/cli` gives you the `aipm`
|
|
33
51
|
command without needing to install any other AIPM npm packages manually.
|
|
34
52
|
|
|
35
|
-
|
|
53
|
+
Publish a public skill:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
aipm publish init --name @team/review-helper --template code-review
|
|
57
|
+
cd review-helper
|
|
58
|
+
aipm publish explain # (optional)
|
|
59
|
+
aipm publish add .
|
|
60
|
+
aipm publish status # (optional)
|
|
61
|
+
aipm publish preview # (optional)
|
|
62
|
+
aipm publish validate # (optional)
|
|
63
|
+
aipm publish token --package @team/review-helper # (optional)
|
|
64
|
+
AIPM_TOKEN=<5-minute-token> aipm publish push --yes
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Create an account on `https://aipm-registry.com`, create an org, reserve the
|
|
68
|
+
package name, and generate the 5-minute token from the package dashboard.
|
|
69
|
+
|
|
70
|
+
Use `.aipmignore` to exclude local-only files from publishing. AIPM also
|
|
71
|
+
rejects common private key, env, Azure connection string, publish profile, and
|
|
72
|
+
large package mistakes before upload.
|
|
73
|
+
|
|
74
|
+
Helpful publishing commands:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
aipm publish init --name @team/issue-summary --template issue-summary
|
|
78
|
+
aipm publish init --name @team/release-notes --template release-notes
|
|
79
|
+
aipm publish open --docs # (optional)
|
|
80
|
+
aipm publish open --package @team/review-helper # (optional)
|
|
81
|
+
aipm doctor --publish # (optional)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Starter templates are `blank`, `code-review`, `issue-summary`, and
|
|
85
|
+
`release-notes`. They only change the starter `SKILL.md`; you can edit every
|
|
86
|
+
file before staging and publishing.
|
|
87
|
+
|
|
88
|
+
If your AI tool already generated a skill or rule file, import it into an AIPM package folder:
|
|
36
89
|
|
|
37
90
|
```bash
|
|
38
|
-
|
|
91
|
+
aipm publish import ~/.codex/skills/review-helper --name @team/review-helper
|
|
92
|
+
cd review-helper
|
|
93
|
+
aipm publish add .
|
|
94
|
+
aipm publish preview # (optional)
|
|
39
95
|
```
|
|
40
96
|
|
|
41
|
-
The default registry is `https://aipm-registry.com`. Use `--registry <url
|
|
42
|
-
`AIPM_REGISTRY=<url>` for local or private
|
|
97
|
+
The default registry API is `https://api.aipm-registry.com`. Use `--registry <url>`,
|
|
98
|
+
`AIPM_REGISTRY_URL=<url>`, or `AIPM_REGISTRY=<url>` for local or private
|
|
99
|
+
registries.
|