ai-rulez 4.12.0 → 4.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.
- package/README.md +28 -19
- package/install.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -51,21 +51,26 @@ Write MCP launch commands and hooks once with the canonical `${PLUGIN_ROOT}` var
|
|
|
51
51
|
|
|
52
52
|
## What Ships Out of the Box
|
|
53
53
|
|
|
54
|
-
ai-rulez isn't just a config generator. It ships with **33 builtin domains** containing opinionated rules, agents, and workflows that establish a professional development baseline immediately.
|
|
54
|
+
ai-rulez isn't just a config generator. It ships with **33 builtin domains** containing opinionated rules, skills, agents, and workflows that establish a professional development baseline immediately.
|
|
55
55
|
|
|
56
|
-
###
|
|
56
|
+
### Auto-Included Domains
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
Set `builtins` in your config — `true` for every domain, or a list to pick — and these seven come along
|
|
59
|
+
without being named, unless you exclude one with `!`. Omit the `builtins` field entirely and no builtin
|
|
60
|
+
content is loaded at all.
|
|
59
61
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
| **
|
|
66
|
-
| **
|
|
67
|
-
| **
|
|
68
|
-
| **
|
|
62
|
+
Each one ships **always-on rules**, which are inlined into `CLAUDE.md` and so are read on every request,
|
|
63
|
+
and in some cases **on-demand skills**, whose body costs nothing until the assistant loads it.
|
|
64
|
+
|
|
65
|
+
| Domain | Always-on rules | On-demand skills |
|
|
66
|
+
| -------------------- | -------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
|
|
67
|
+
| **ai-governance** | No AI signatures in commits. Concise communication. Read before write. Minimal changes. Systematic debugging. Verification before claiming success. Critical review of subagent output. Reasoning stated for non-obvious decisions. | — |
|
|
68
|
+
| **git-workflow** | Atomic commits. Conventional commit messages. Safe operations. Branch hygiene. | — |
|
|
69
|
+
| **security** | Secrets handling. Input validation. Least privilege. | `owasp-quick-reference`, `dependency-awareness` |
|
|
70
|
+
| **token-efficiency** | Context preservation. Output awareness. | `task-runner`, `incremental-approach` |
|
|
71
|
+
| **testing** | Tests ship with the behaviour change; failing test before a bug fix; full suite before committing. | `tdd-workflow`, `testing-conventions` |
|
|
72
|
+
| **code-quality** | — | `code-quality-standards`, `error-handling` |
|
|
73
|
+
| **agent-delegation** | Multi-agent coordination and delegation patterns (emitted as context). | — |
|
|
69
74
|
|
|
70
75
|
### Builtin Agents
|
|
71
76
|
|
|
@@ -95,11 +100,15 @@ Enable these based on your stack:
|
|
|
95
100
|
builtins = ["rust", "python", "pyo3", "cicd", "docker", "default-commands"]
|
|
96
101
|
```
|
|
97
102
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
+
Anything scoped to one technology or one activity is emitted as an **on-demand Agent Skill**
|
|
104
|
+
(`.claude/skills/<id>/SKILL.md`) rather than inlined into `CLAUDE.md`, so the always-loaded file stays
|
|
105
|
+
small and the guidance arrives only when it is relevant: every language and binding domain,
|
|
106
|
+
`polyglot-bindings`, `security`'s OWASP and dependency references, all of `code-quality`, most of
|
|
107
|
+
`testing`, `token-efficiency`'s `task-runner` and `incremental-approach`, and the whole of `docker` and
|
|
108
|
+
`observability`. What stays inline is behavioural governance that has to land before the first file is
|
|
109
|
+
read — `ai-governance`, `git-workflow`, `security`'s secrets and boundary rules, and the one `testing`
|
|
110
|
+
rule that says tests ship with the change. `!domain` and `!domain/name` exclusions work for skill
|
|
111
|
+
entries too, so an exclusion written against a rule keeps working after it becomes a skill.
|
|
103
112
|
|
|
104
113
|
## Content Types
|
|
105
114
|
|
|
@@ -292,7 +301,7 @@ Add to `.pre-commit-config.yaml`:
|
|
|
292
301
|
```yaml
|
|
293
302
|
repos:
|
|
294
303
|
- repo: https://github.com/Goldziher/ai-rulez
|
|
295
|
-
rev: v4.
|
|
304
|
+
rev: v4.13.0
|
|
296
305
|
hooks:
|
|
297
306
|
- id: ai-rulez-recursive # generate outputs across the repo
|
|
298
307
|
- id: ai-rulez-validate # dry-run validation
|
|
@@ -314,7 +323,7 @@ repository needs. This requires AI-Rulez 4.9.0+ and Poly 0.14.0+:
|
|
|
314
323
|
[[hooks.sources]]
|
|
315
324
|
id = "ai-rulez"
|
|
316
325
|
git = "https://github.com/Goldziher/ai-rulez.git"
|
|
317
|
-
revision = "v4.
|
|
326
|
+
revision = "v4.13.0"
|
|
318
327
|
hooks = ["ai-rulez-recursive", "ai-rulez-plugin-verify"]
|
|
319
328
|
```
|
|
320
329
|
|
package/install.js
CHANGED
|
@@ -298,9 +298,9 @@ async function install(isPostInstall = false) {
|
|
|
298
298
|
|
|
299
299
|
const nodeVersion = process.version;
|
|
300
300
|
const majorVersion = parseInt(nodeVersion.slice(1).split(".")[0], 10);
|
|
301
|
-
if (majorVersion <
|
|
301
|
+
if (majorVersion < 22) {
|
|
302
302
|
console.error(
|
|
303
|
-
`Error: Node.js ${nodeVersion} is not supported. Please upgrade to Node.js
|
|
303
|
+
`Error: Node.js ${nodeVersion} is not supported. Please upgrade to Node.js 22 or later.`,
|
|
304
304
|
);
|
|
305
305
|
process.exit(1);
|
|
306
306
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-rulez",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.0",
|
|
4
4
|
"description": "Complete AI development workflow for 13 AI coding tools. Ships with builtin rules, agents, and conventions. Generate native configs for Claude, Cursor, Copilot, Windsurf, Gemini, Codex and more from a single source.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -82,6 +82,6 @@
|
|
|
82
82
|
],
|
|
83
83
|
"scripts": {},
|
|
84
84
|
"engines": {
|
|
85
|
-
"node": ">=
|
|
85
|
+
"node": ">=22.0.0"
|
|
86
86
|
}
|
|
87
87
|
}
|