ai-rulez 3.11.4 → 3.12.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.
- package/README.md +33 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# ai-rulez
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Directory-based AI governance for 18+ tools. Define rules, context, skills, agents and commands once — generate native configs for Claude, Cursor, Copilot, Windsurf, Gemini, Codex, and more.
|
|
4
4
|
|
|
5
|
-
Every AI coding tool wants its own config format. Claude needs `CLAUDE.md
|
|
5
|
+
Every AI coding tool wants its own config format. Claude needs `CLAUDE.md` + `.claude/skills/` + `.claude/agents/`, Cursor wants `.cursor/rules/`, Copilot expects `.github/copilot-instructions.md`. Keeping them in sync is tedious and error-prone.
|
|
6
6
|
|
|
7
|
-
ai-rulez solves this:
|
|
7
|
+
ai-rulez solves this: organize your AI governance in `.ai-rulez/`, run `generate`, and get native configs for all your tools — with proper frontmatter, tool-specific formatting, and full feature support (skills, agents, MCP servers).
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npx ai-rulez@latest init && npx ai-rulez@latest generate
|
|
@@ -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 |
|
|
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
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-rulez",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.12.0",
|
|
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",
|
|
7
7
|
"ai-assistant",
|