ai-rulez 3.11.5 → 3.13.0

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 (2) hide show
  1. package/README.md +36 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@ npx ai-rulez@latest init && npx ai-rulez@latest generate
16
16
 
17
17
  - **18 preset generators**: Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Continue.dev, Amp, Junie, Codex, OpenCode, and custom presets
18
18
  - **Commands system**: Define slash commands once, use them across tools that support it
19
- - **Context compression**: 34% size reduction with smart whitespace optimization
19
+ - **Concise builtins**: Optimized builtin rules for minimal token footprint
20
20
  - **Remote includes**: Pull shared rules from git repos (company standards, team configs)
21
21
  - **Profile system**: Generate different configs for backend/frontend/QA teams
22
22
  - **MCP server**: Let AI assistants manage their own rules via Model Context Protocol
@@ -153,6 +153,11 @@ ai-rulez add command review-pr
153
153
  ai-rulez list rules
154
154
  ai-rulez remove rule outdated-rule
155
155
 
156
+ # Installed skills
157
+ ai-rulez skill install kreuzberg --source https://github.com/kreuzberg-dev/kreuzberg
158
+ ai-rulez skill list
159
+ ai-rulez skill remove kreuzberg
160
+
156
161
  # Validation
157
162
  ai-rulez validate
158
163
 
@@ -190,6 +195,26 @@ includes:
190
195
 
191
196
  Private repos use `AI_RULEZ_GIT_TOKEN` environment variable or `--token` flag.
192
197
 
198
+ ## Installed Skills
199
+
200
+ Install named skills from external repositories — fetched dynamically at generate time:
201
+
202
+ ```yaml
203
+ installed_skills:
204
+ - name: kreuzberg
205
+ source: https://github.com/kreuzberg-dev/kreuzberg
206
+ - name: ai-rulez
207
+ source: https://github.com/Goldziher/ai-rulez
208
+ ```
209
+
210
+ ```bash
211
+ ai-rulez skill install kreuzberg --source https://github.com/kreuzberg-dev/kreuzberg
212
+ ai-rulez skill list
213
+ ai-rulez skill remove kreuzberg
214
+ ```
215
+
216
+ Skills live at `skills/<name>/SKILL.md` in the source repo. See [Installed Skills docs](https://goldziher.github.io/ai-rulez/installed-skills/) for details.
217
+
193
218
  ## Generated Output
194
219
 
195
220
  Running `ai-rulez generate` creates:
@@ -200,9 +225,13 @@ Running `ai-rulez generate` creates:
200
225
  | Cursor | `.cursor/rules/*.mdc` |
201
226
  | Windsurf | `.windsurf/*.md` |
202
227
  | Copilot | `.github/copilot-instructions.md` |
203
- | Gemini | `.gemini/config.yaml` |
228
+ | Gemini | `GEMINI.md` |
204
229
  | Continue.dev | `.continue/prompts/ai_rulez_prompts.yaml` |
205
230
  | Cline | `.cline/rules/*.md` |
231
+ | Codex | `AGENTS.md` |
232
+ | Amp | `AMP.md` |
233
+ | Junie | `.junie/guidelines.md` |
234
+ | OpenCode | `OPENCODE.md` |
206
235
  | Custom | Any path with markdown, JSON, or directory output |
207
236
 
208
237
  ## Use Cases
@@ -248,7 +277,7 @@ The MCP server exposes CRUD operations, validation, and generation to AI assista
248
277
 
249
278
  ## Builtins
250
279
 
251
- 23 built-in domains ship embedded in the binary — opinionated conventions ready to use without external includes:
280
+ 27 built-in domains ship embedded in the binary — opinionated conventions ready to use without external includes:
252
281
 
253
282
  ```yaml
254
283
  builtins:
@@ -260,22 +289,11 @@ builtins:
260
289
  - default-commands
261
290
  ```
262
291
 
263
- - **Universal** (8): `ai-governance`, `security`, `git-workflow`, `code-quality`, `testing`, `token-efficiency`, `documentation`, `default-commands`
264
- - **Languages** (9): `rust`, `python`, `typescript`, `go`, `java`, `ruby`, `php`, `elixir`, `csharp`
265
- - **Bindings** (6): `pyo3`, `napi-rs`, `magnus`, `ext-php-rs`, `rustler`, `wasm`
266
-
267
- Use `builtins: true` for all, or pick specific ones. `ai-governance` is auto-included (exclude with `!ai-governance`).
268
-
269
- ## Compression
270
-
271
- Reduce context size for token-constrained tools:
272
-
273
- ```yaml
274
- compression:
275
- level: moderate # off, light, moderate, aggressive, maximum
276
- ```
292
+ - **Universal** (9): `ai-governance`\*, `agent-delegation`\*, `security`, `git-workflow`, `code-quality`, `testing`, `token-efficiency`, `documentation`, `default-commands`
293
+ - **Languages** (10): `rust`, `python`, `typescript`, `go`, `java`, `ruby`, `php`, `elixir`, `csharp`, `r`
294
+ - **Bindings** (9): `pyo3`, `napi-rs`, `magnus`, `ext-php-rs`, `rustler`, `wasm`, `jni-rs`, `extendr`, `cgo`
277
295
 
278
- At `moderate` level, output is ~34% smaller through whitespace optimization and token reduction.
296
+ \* Auto-included by default. Use `builtins: true` for all, or pick specific ones. Exclude auto-includes with `!` prefix (e.g., `!agent-delegation`).
279
297
 
280
298
  ## Documentation
281
299
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-rulez",
3
- "version": "3.11.5",
3
+ "version": "3.13.0",
4
4
  "description": "Directory-based AI governance for Claude, Cursor, Copilot, Windsurf and 14+ tools. Define rules, context, skills and agents in .ai-rulez/ — generate synchronized configs for all your AI assistants.",
5
5
  "keywords": [
6
6
  "ai",