@aipm-registry/cli 0.2.12 → 0.2.13

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
@@ -1,7 +1,25 @@
1
+ # Search the registry at [aipm-registry.com](https://aipm-registry.com) for a skill
2
+
3
+
1
4
  # AIPM CLI
2
5
 
3
- AIPM installs project-ready AI skills into supported tools such as Cursor and
4
- Claude.
6
+ **An Open source command-line tool for AI skills management and discovery [AIPM](https://aipm-registry.com)**
7
+
8
+ ## What is this?
9
+
10
+ AI coding tools like Cursor and Claude can follow **skills**: small instruction files that teach the assistant how to do a job (code review, release notes, issue summaries, and more).
11
+
12
+ AIPM makes skills easy to **find, install, and share** — like npm, but for AI skills.
13
+
14
+ This package gives you the `aipm` command. With it you can:
15
+
16
+ - **Browse and install** skills from the public registry at **[aipm-registry.com](https://aipm-registry.com)**
17
+ - **Add skills to your project** so your whole team uses the same instructions
18
+ - **Publish your own skills** so others can install them
19
+
20
+ No other AIPM packages are required — everything is bundled in one install.
21
+
22
+ **Supported tools today:** Cursor and Claude (more targets at [aipm-registry.com/targets](https://aipm-registry.com/targets)).
5
23
 
6
24
  ## Install
7
25
 
@@ -9,91 +27,109 @@ Claude.
9
27
  npm install -g @aipm-registry/cli
10
28
  aipm --version
11
29
  aipm doctor
12
- aipm config
13
30
  ```
14
31
 
15
- ## Use
32
+ `aipm doctor` checks that your setup is ready. Run it if something does not work.
16
33
 
17
- Initialize a project:
34
+ ## Install skills in your project
35
+
36
+ Start in any project folder:
18
37
 
19
38
  ```bash
20
39
  aipm init
21
40
  ```
22
41
 
23
- Install a skill from the public registry:
42
+ *Search the registry at [aipm-registry.com](https://aipm-registry.com) for a skill:*
24
43
 
25
44
  ```bash
26
- aipm add @scope/name@1.0.0 --target cursor --ci
45
+ aipm search sentry
27
46
  ```
28
47
 
29
- List installed skills:
48
+ Results show version, supported tools, description, publisher, license, and size.
49
+
50
+ Install a skill:
30
51
 
31
52
  ```bash
32
- aipm list
53
+ aipm add @scope/name@1.0.0 --target cursor
33
54
  ```
34
55
 
35
- Search the registry:
56
+ See what is installed:
36
57
 
37
58
  ```bash
38
- aipm search sentry
59
+ aipm list
39
60
  ```
40
61
 
41
- Search results include package version, supported targets, description,
42
- publisher identity when available, license, and package size.
43
-
44
62
  Update installed skills:
45
63
 
46
64
  ```bash
47
65
  aipm update
48
66
  ```
49
67
 
50
- This package is bundled. Installing `@aipm-registry/cli` gives you the `aipm`
51
- command without needing to install any other AIPM npm packages manually.
68
+ Browse more packages on the website: **[aipm-registry.com](https://aipm-registry.com)**
69
+
70
+ ## Publish your skill (public / private / organization-only)
52
71
 
53
- Publish a public skill:
72
+ Share a skill with your team or the public registry.
73
+
74
+ 1. Create a free account at **[aipm-registry.com](https://aipm-registry.com)**
75
+ 2. Create an org and reserve your package name (for example `@team/review-helper`)
76
+ 3. Scaffold a new skill package:
54
77
 
55
78
  ```bash
56
79
  aipm publish init --name @team/review-helper --template code-review
57
80
  cd review-helper
58
- aipm publish explain # (optional)
81
+ ```
82
+
83
+ 1. Add your files and push:
84
+
85
+ ```bash
59
86
  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)
87
+ aipm publish preview # optional — see what will be uploaded
88
+ aipm publish validate # optional — check for problems
64
89
  AIPM_TOKEN=<5-minute-token> aipm publish push --yes
65
90
  ```
66
91
 
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.
92
+ Get the short-lived publish token from your package page on **[aipm-registry.com/dashboard](https://aipm-registry.com/dashboard)**.
93
+
94
+ **Starter templates:** `blank`, `code-review`, `issue-summary`, `release-notes`. They only set the initial `SKILL.md` — edit any file before publishing.
95
+
96
+ **Already have a skill file?** Import it into an AIPM package:
69
97
 
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.
98
+ ```bash
99
+ aipm publish import ~/.codex/skills/review-helper --name @team/review-helper
100
+ cd review-helper
101
+ aipm publish add .
102
+ ```
73
103
 
74
- Helpful publishing commands:
104
+ **Helpful extras:**
75
105
 
76
106
  ```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)
107
+ aipm publish explain # what publishing does
108
+ aipm publish status # staged files
109
+ aipm publish token --package @team/review-helper
110
+ aipm publish open --docs # open publishing docs
111
+ aipm publish open --package @team/review-helper
112
+ aipm doctor --publish # check publish setup
82
113
  ```
83
114
 
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.
115
+ Use `.aipmignore` to skip local-only files. Before upload, AIPM blocks common mistakes such as private keys, `.env` files, and oversized packages.
87
116
 
88
- If your AI tool already generated a skill or rule file, import it into an AIPM package folder:
117
+ Full publishing guide: **[aipm-registry.com/publish](https://aipm-registry.com/publish)**
118
+
119
+ ## Configuration
89
120
 
90
121
  ```bash
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)
122
+ aipm config
95
123
  ```
96
124
 
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.
125
+ Default registry API: `https://api.aipm-registry.com`
126
+
127
+ For a local or private registry, use `--registry <url>`, or set `AIPM_REGISTRY_URL` / `AIPM_REGISTRY`.
128
+
129
+ ## Links
130
+
131
+ - **Registry & browse skills:** [aipm-registry.com](https://aipm-registry.com)
132
+ - **Publishing guide:** [aipm-registry.com/publish](https://aipm-registry.com/publish)
133
+ - **Docs & examples:** [aipm-registry.com/examples](https://aipm-registry.com/examples)
134
+ - **Source code:** [github.com/aipm-registry/aipm](https://github.com/aipm-registry/aipm)
135
+
package/dist/bin.cjs CHANGED
@@ -4176,7 +4176,8 @@ var init_manifest = __esm({
4176
4176
  description: external_exports.string().min(1),
4177
4177
  entry: external_exports.string().min(1),
4178
4178
  targets: external_exports.array(AiToolSchema).min(1),
4179
- license: external_exports.string().optional()
4179
+ license: external_exports.string().optional(),
4180
+ usage: external_exports.string().min(1).optional()
4180
4181
  });
4181
4182
  }
4182
4183
  });