ai-rulez 2.4.0 → 2.4.2

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 +73 -459
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,537 +6,151 @@
6
6
 
7
7
  **AI-powered development governance. One config to rule them all.**
8
8
 
9
- ## The Complete AI Development Platform
10
-
11
- AI-Rulez is the **definitive platform for AI-powered development governance**. Beyond just generating configuration files, it provides real-time rule enforcement, automated code quality assurance, and intelligent governance across your entire development workflow.
12
-
13
- ### 🚀 Two Powerful Capabilities
14
-
15
- **1. Universal Configuration Management** - Write once, deploy everywhere
16
- **2. AI-Powered Rule Enforcement** - Real-time governance with automated fixes
9
+ [![Go Version](https://img.shields.io/badge/Go-1.24%2B-00ADD8)](https://go.dev)
10
+ [![NPM Version](https://img.shields.io/npm/v/ai-rulez)](https://www.npmjs.com/package/ai-rulez)
11
+ [![PyPI Version](https://img.shields.io/pypi/v/ai-rulez)](https://pypi.org/project/ai-rulez/)
12
+ [![Homebrew](https://img.shields.io/badge/Homebrew-tap-orange)](https://github.com/Goldziher/homebrew-tap)
17
13
 
18
- ## Why AI-Rulez?
14
+ **Documentation:** [goldziher.github.io/ai-rulez](https://goldziher.github.io/ai-rulez/)
19
15
 
20
- Modern development teams need more than just configuration management:
16
+ ---
21
17
 
22
- ### ⚠️ **The Problem**
23
- - **Configuration Hell**: Each AI tool needs its own format (`.cursorrules`, `CLAUDE.md`, `.windsurfrules`, etc.)
24
- - **Rule Enforcement Gap**: No way to automatically validate that code follows your standards
25
- - **Team Inconsistency**: Different developers get different AI guidance
26
- - **Manual Quality Control**: Time-consuming code reviews for basic rule violations
27
- - **Reactive Governance**: Finding issues after they're already committed
18
+ ## Why ai-rulez
28
19
 
29
- ### **The Solution**
30
- AI-Rulez provides **proactive development governance** with a single `ai-rulez.yaml` that:
31
- - **Generates configurations** for every AI tool automatically
32
- - **Enforces rules in real-time** using AI agents (Claude, Gemini, etc.)
33
- - **Applies automatic fixes** for code quality issues
34
- - **Integrates with your workflow** (Git hooks, CI/CD, pre-commit)
35
- - **Scales across teams** with consistent standards
20
+ - One YAML file stays in sync with every AI assistant format (`CLAUDE.md`, `.cursorrules`, `.windsurfrules`, MCP configs, and more).
21
+ - AI agents enforce your rules in real time with optional auto-fix and review loops.
22
+ - Git hooks, CI, and MCP integrations keep governance in every stage of your workflow.
23
+ - Works for individuals and teams with presets, remote includes, and monorepo support.
36
24
 
37
25
  <p align="center">
38
- <img src="docs/assets/ai-rulez-python-demo.gif" alt="AI-Rulez Configuration Demo" width="100%">
39
- <br><em>📝 Configuration Management (via npx ai-rulez)</em>
26
+ <img src="docs/assets/ai-rulez-python-demo.gif" alt="AI-Rulez Configuration Demo" width="90%">
40
27
  </p>
41
28
 
42
- <p align="center">
43
- <img src="docs/assets/ai-rulez-enforce-demo.gif" alt="AI-Rulez Enforcement Demo" width="100%">
44
- <br><em>🤖 AI-Powered Rule Enforcement (via uvx ai-rulez@latest)</em>
45
- </p>
29
+ ---
46
30
 
47
- [![Go Version](https://img.shields.io/badge/Go-1.24%2B-00ADD8)](https://go.dev)
48
- [![NPM Version](https://img.shields.io/npm/v/ai-rulez)](https://www.npmjs.com/package/ai-rulez)
49
- [![PyPI Version](https://img.shields.io/pypi/v/ai-rulez)](https://pypi.org/project/ai-rulez/)
50
- [![Homebrew](https://img.shields.io/badge/Homebrew-tap-orange)](https://github.com/Goldziher/homebrew-tap)
31
+ ## What You Get
51
32
 
52
- ### 📖 **[Read the Full Documentation](https://goldziher.github.io/ai-rulez/)**
33
+ - **Universal configuration management** `ai-rulez` analyzes your repo and generates native configuration files for every assistant.
34
+ - **AI-powered enforcement** – Run `ai-rulez enforce` to catch violations, apply fixes, and gate merges with configurable quality thresholds.
35
+ - **Automation built-in** – Smart `.gitignore` updates, Git hook integration (lefthook, pre-commit, husky), and CI ready commands.
36
+ - **MCP everywhere** – Automatically wire MCP servers into Claude CLI, Gemini CLI, Cursor, and other supported tools.
53
37
 
54
38
  ---
55
39
 
56
- ## 🚀 Core Capabilities
40
+ ## Quick Start
57
41
 
58
- ### 1. 📋 Universal Configuration Management
59
-
60
- Write once, deploy everywhere with intelligent AI-powered project analysis:
42
+ ### Configuration Management
61
43
 
62
44
  ```bash
63
- # AI analyzes your codebase and generates tailored config
64
- npx ai-rulez init "My Project" --preset popular
65
- ```
66
-
67
- **Features:**
68
- - **AI Project Analysis**: Automatically detects your tech stack, patterns, and conventions
69
- - **Universal Output Generation**: One YAML → all AI tool formats (`CLAUDE.md`, `.cursorrules`, `.windsurfrules`, etc.)
70
- - **Smart Gitignore Management**: Automatically excludes generated files from version control
71
- - **MCP Integration**: Auto-configure MCP servers across CLI tools (Claude, Gemini, etc.)
72
- - **Team Collaboration**: Remote includes, local overrides, monorepo support
45
+ # Analyze your project and scaffold configuration
46
+ npx ai-rulez@latest init "My Project" --preset popular
73
47
 
74
- ### 2. 🤖 AI-Powered Rule Enforcement
48
+ # Generate all assistant configuration files
49
+ npx ai-rulez@latest generate
50
+ ```
75
51
 
76
- Real-time governance with automated fixes using multiple AI agents:
52
+ ### Rule Enforcement
77
53
 
78
54
  ```bash
79
- # Check for violations with AI analysis
55
+ # Check for violations (read-only)
80
56
  uvx ai-rulez@latest enforce --agent claude
81
57
 
82
- # Automatically apply fixes
58
+ # Apply fixes or run multi-agent reviews
83
59
  uvx ai-rulez@latest enforce --agent claude --fix
84
-
85
- # Multi-agent review workflow
86
- uvx ai-rulez@latest enforce --agent gemini --review --review-agent claude
60
+ uvx ai-rulez@latest enforce --agent gemini --review --review-iterations 2
87
61
  ```
88
62
 
89
- **Features:**
90
- - **Multi-Agent Support**: Claude, Gemini, AMP, Cursor, Codex, Continue.dev, Junie
91
- - **Automated Fixes**: AI suggests and applies code improvements
92
- - **Review Workflows**: Iterative improvement with quality thresholds
93
- - **Multiple Output Formats**: Table, JSON, CSV, summary reports
94
- - **CI/CD Integration**: Git hooks, pre-commit, workflow automation
95
- - **Quality Scoring**: 0-100% compliance with configurable thresholds
96
-
97
- ## How It Works
63
+ ### Optional: Auto-Configure Git Hooks
98
64
 
99
- AI-Rulez operates as a **comprehensive AI development governance platform**:
65
+ ```bash
66
+ # Detect pre-commit, lefthook, or husky and add ai-rulez validation
67
+ npx ai-rulez@latest init --setup-hooks
68
+ ```
100
69
 
101
- 1. **📝 Configuration Phase**: Your `ai-rulez.yml` serves as the single source of truth
102
- 2. **🏗️ Generation Phase**: Automatically creates native files for every AI tool
103
- 3. **🔍 Enforcement Phase**: AI agents continuously validate code against your rules
104
- 4. **🛠️ Fix Phase**: Automatic corrections and improvements applied in real-time
105
- 5. **📊 Reporting Phase**: Detailed compliance reports and quality metrics
70
+ `--setup-hooks` adds the official hooks for the detected system and keeps existing configuration intact.
106
71
 
107
- Think of it as **CI/CD for code quality** - proactive governance instead of reactive fixes.
72
+ ---
108
73
 
109
- ## Example: `ai-rulez.yml`
74
+ ## Example `ai-rulez.yaml`
110
75
 
111
76
  ```yaml
112
77
  $schema: https://github.com/Goldziher/ai-rulez/schema/ai-rules-v2.schema.json
113
78
 
114
79
  metadata:
115
80
  name: "My SaaS Platform"
116
- version: "2.0.0"
117
81
 
118
- # Use presets for common configurations
119
82
  presets:
120
- - "popular" # Includes Claude, Cursor, Windsurf, Copilot, and Gemini
83
+ - "popular" # Claude, Cursor, Windsurf, Copilot, Gemini
121
84
 
122
85
  rules:
123
86
  - name: "Go Code Standards"
124
87
  priority: high
125
- content: "Follow standard Go project layout (cmd/, internal/, pkg/). Use meaningful package names and export only what is necessary."
88
+ content: "Follow standard Go project layout and export only what is necessary."
126
89
 
127
90
  sections:
128
91
  - name: "Project Structure"
129
92
  priority: critical
130
93
  content: |
131
94
  - `cmd/`: Main application entry point
132
- - `internal/`: Private application code (business logic, data access)
95
+ - `internal/`: Private application code
133
96
  - `pkg/`: Public-facing libraries
134
97
 
135
98
  agents:
136
99
  - name: "go-developer"
137
- description: "Go language expert for core development"
138
- system_prompt: "You are an expert Go developer. Your key responsibilities include writing idiomatic Go, using proper error handling, and creating comprehensive tests."
100
+ description: "Expert Go developer focused on idiomatic code and tests."
139
101
 
140
- # MCP servers for direct AI tool integration
141
102
  mcp_servers:
142
103
  - name: "ai-rulez"
143
104
  command: "npx"
144
105
  args: ["-y", "ai-rulez@latest", "mcp"]
145
- description: "AI-Rulez MCP server for configuration management"
146
- ```
147
-
148
- Run `ai-rulez generate` → get all your configuration files, perfectly synchronized.
149
-
150
- ## ⚡ Quick Start
151
-
152
- ### 📋 Configuration Management
153
- ```bash
154
- # 1. AI-powered project analysis and setup
155
- npx ai-rulez@latest init "My Project" --preset popular
156
-
157
- # 2. Generate all AI tool configuration files
158
- npx ai-rulez@latest generate
159
-
160
- # 3. Your AI tools now have comprehensive, project-specific context!
161
- ```
162
-
163
- ### 🤖 AI-Powered Rule Enforcement
164
- ```bash
165
- # 1. Check for rule violations
166
- uvx ai-rulez@latest enforce --agent claude --format table
167
-
168
- # 2. Get detailed analysis and suggestions
169
- uvx ai-rulez@latest enforce --agent claude --format json
170
-
171
- # 3. Apply automatic fixes
172
- uvx ai-rulez@latest enforce --agent claude --fix
173
-
174
- # 4. Set up review workflow
175
- uvx ai-rulez@latest enforce --agent claude --review --review-iterations 2
106
+ description: "Configuration management server"
176
107
  ```
177
108
 
178
- **That's it!** You now have both intelligent configuration management AND real-time rule enforcement powered by AI.
179
-
180
109
  ---
181
110
 
182
- ## 🗂️ .gitignore Management
183
-
184
- AI-Rulez manages your `.gitignore` to keep generated files out of version control.
111
+ ## Installation Options
185
112
 
186
- **Automatic updates:**
187
- ```bash
188
- # During init (enabled by default)
189
- ai-rulez init --preset claude
190
-
191
- # During generate (optional)
192
- ai-rulez generate --update-gitignore
193
-
194
- # Disable if needed
195
- ai-rulez init --preset popular --no-gitignore
196
- ```
197
-
198
- **What gets ignored:**
199
- - Generated markdown files (`CLAUDE.md`, `GEMINI.md`, `AGENTS.md`)
200
- - AI tool directories (`.claude/`, `.cursor/`, `.windsurf/`, `.clinerules/`, etc.)
201
- - Config files (`.mcp.json`, `.gemini/settings.json`)
202
-
203
- All entries are added under `# AI Rules generated files` without duplicates.
204
-
205
- **Best practice:** Commit `ai-rulez.yaml` and `.gitignore`, but not the generated AI configuration files.
113
+ - **No install required**
114
+ - `npx ai-rulez@latest ...` for Node/JS environments
115
+ - `uvx ai-rulez@latest ...` for Python users
116
+ - `go run github.com/Goldziher/ai-rulez/cmd@latest ...` for Go projects
117
+ - **Global installs**
118
+ - `brew install goldziher/tap/ai-rulez`
119
+ - `npm install -g ai-rulez`
120
+ - `pip install ai-rulez`
121
+ - `go install github.com/Goldziher/ai-rulez/cmd@latest`
206
122
 
207
123
  ---
208
124
 
209
- ## 🤖 AI-Powered Rule Enforcement
210
-
211
- The killer feature that sets AI-Rulez apart: **real-time rule enforcement using AI agents**. No more manual code reviews for basic violations—let AI catch and fix issues automatically.
212
-
213
- ### ✨ Key Benefits
214
-
215
- - **Proactive Quality Control**: Catch issues before they reach production
216
- - **Multi-Agent Support**: Claude, Gemini, AMP, Cursor, Codex—use the best AI for each task
217
- - **Automatic Fixes**: AI doesn't just find problems, it solves them
218
- - **Workflow Integration**: Git hooks, CI/CD, pre-commit—enforcement everywhere
219
- - **Team Consistency**: Same standards for everyone, from junior to senior devs
220
-
221
- ### 🎯 Real-World Use Cases
222
-
223
- ```bash
224
- # Prevent console.log in production builds
225
- ai-rulez enforce --agent claude --only-rules "no-console-output" --fix
226
-
227
- # Ensure all functions have proper error handling
228
- ai-rulez enforce --agent gemini --level strict --format json
229
-
230
- # Multi-agent review for critical code changes
231
- ai-rulez enforce --agent claude --review --review-agent gemini --review-threshold 95
232
-
233
- # Automated fixes in CI/CD pipeline
234
- ai-rulez enforce --agent claude --fix --format csv --output violations.csv
235
- ```
236
-
237
- ### 📊 Output Formats & Integration
238
-
239
- | Format | Use Case | Command |
240
- |--------|----------|---------|
241
- | **Table** | Human-readable terminal output | `--format table` |
242
- | **JSON** | API integration, detailed analysis | `--format json --pretty` |
243
- | **CSV** | Data analysis, reporting | `--format csv --output report.csv` |
244
- | **Summary** | Quick overview with scores | `--format summary` |
245
-
246
- ### 🔄 Advanced Workflows
247
-
248
- **Review Pipeline**: Multi-agent validation with quality gates
249
- ```bash
250
- ai-rulez enforce --agent claude --review --review-iterations 3 --review-threshold 85
251
- ```
252
-
253
- **Fix & Verify**: Apply fixes and validate improvements
254
- ```bash
255
- ai-rulez enforce --agent gemini --fix --review --require-improvement
256
- ```
257
-
258
- **Team Standards**: Consistent enforcement across the entire codebase
259
- ```bash
260
- ai-rulez enforce --include-files "src/**/*.{js,ts,py}" --level strict --agent claude
261
- ```
262
-
263
- **Prefer manual setup?**
264
- ```bash
265
- # Basic initialization without AI assistance
266
- ai-rulez init "My Project" --preset popular --no-agent
267
-
268
- # Add your project-specific context
269
- ai-rulez add rule "Tech Stack" --priority critical --content "This project uses Go and PostgreSQL."
270
-
271
- # Generate files
272
- ai-rulez generate
273
- ```
274
-
275
- ## MCP Server Integration
276
-
277
- `ai-rulez` provides seamless **Model Context Protocol (MCP)** integration, automatically configuring both file-based and CLI-based AI tools with your MCP servers.
278
-
279
- ### Automatic CLI Configuration
280
-
281
- When you run `ai-rulez generate`, MCP servers are **automatically configured** for available CLI tools:
282
-
283
- ```bash
284
- ai-rulez generate
285
- # ✅ Generated 3 file(s) successfully
286
- # ✅ Configured claude MCP server: ai-rulez
287
- # ✅ Configured gemini MCP server: database-tools
288
- ```
289
-
290
- **Supported CLI tools:**
291
- - **Claude CLI**: `claude mcp add` with full env/transport support
292
- - **Gemini CLI**: `gemini mcp add` with automatic configuration
293
-
294
- ### Hybrid Configuration
295
-
296
- `ai-rulez` supports both CLI and file-based configurations simultaneously:
297
-
298
- ```yaml
299
- mcp_servers:
300
- - name: "database-tools"
301
- command: "uvx"
302
- args: ["mcp-server-postgres"]
303
- env:
304
- DATABASE_URL: "postgresql://localhost/mydb"
305
- targets:
306
- - "@claude-cli" # Configure Claude CLI
307
- - "@gemini-cli" # Configure Gemini CLI
308
- - ".cursor/mcp.json" # Generate Cursor config file
309
- ```
310
-
311
- This single configuration:
312
- - ✅ Executes `claude mcp add` commands
313
- - ✅ Executes `gemini mcp add` commands
314
- - ✅ Generates `.cursor/mcp.json` file
315
-
316
- ### Control Options
125
+ ## Git Hooks & Automation
317
126
 
318
- **Default behavior** (recommended):
319
- ```bash
320
- ai-rulez generate
321
- # Configures all available CLI tools + generates files
322
- ```
323
-
324
- **Disable CLI configuration** when needed:
325
- ```bash
326
- ai-rulez generate --no-configure-cli-mcp
327
- # Only generates files, skips CLI tool configuration
328
- ```
329
-
330
- **Target specific tools:**
331
- ```yaml
332
- mcp_servers:
333
- - name: "github-integration"
334
- command: "npx"
335
- args: ["@modelcontextprotocol/server-github"]
336
- targets: ["@claude-cli"] # Only configure Claude CLI
337
- ```
338
-
339
- ### Built-in MCP Server
340
-
341
- `ai-rulez` includes its own MCP server for configuration management:
342
-
343
- ```bash
344
- # Start the ai-rulez MCP server
345
- ai-rulez mcp
346
-
347
- # Or configure it automatically via your ai-rulez.yaml
348
- mcp_servers:
349
- - name: "ai-rulez"
350
- command: "npx"
351
- args: ["-y", "ai-rulez@latest", "mcp"]
352
- description: "Configuration management server"
353
- ```
354
-
355
- ## AI-Powered Rule Enforcement
356
-
357
- AI-Rulez provides **real-time rule enforcement** using AI agents to automatically detect violations and apply fixes across your codebase.
358
-
359
- <p align="center">
360
- <img src="docs/assets/ai-rulez-enforce-demo.gif" alt="AI-Rulez Enforcement Demo" width="100%">
361
- </p>
362
-
363
- ### Basic Enforcement
364
-
365
- ```bash
366
- # Check for violations (read-only by default)
367
- ai-rulez enforce
368
-
369
- # Automatically apply fixes
370
- ai-rulez enforce --fix
371
-
372
- # Use specific AI agent
373
- ai-rulez enforce --agent gemini --fix
374
- ```
375
-
376
- ### Advanced Enforcement Options
377
-
378
- ```bash
379
- # Enforce with specific level
380
- ai-rulez enforce --level strict --agent claude
381
-
382
- # Review workflow with iterative improvement
383
- ai-rulez enforce --review --review-iterations 3 --review-threshold 85
127
+ - **Official pre-commit hooks**
384
128
 
385
- # Multi-agent review (different agents for enforcement vs review)
386
- ai-rulez enforce --agent gemini --review --review-agent claude
129
+ ```yaml
130
+ repos:
131
+ - repo: https://github.com/Goldziher/ai-rulez
132
+ rev: v2.4.2
133
+ hooks:
134
+ - id: ai-rulez-validate
135
+ - id: ai-rulez-generate
136
+ ```
387
137
 
388
- # Target specific files and rules
389
- ai-rulez enforce --include-files "src/**/*.js" --only-rules "no-console-output"
390
-
391
- # Output formats for automation
392
- ai-rulez enforce --format json --output violations.json
393
- ai-rulez enforce --format csv --output report.csv
394
- ```
395
-
396
- ### Supported AI Agents
397
-
398
- AI-Rulez integrates with all major AI coding assistants:
399
-
400
- - **Claude** (`claude`) - Anthropic's AI assistant
401
- - **Gemini** (`gemini`) - Google's AI model
402
- - **Cursor** (`cursor`) - AI-powered code editor
403
- - **AMP** (`amp`) - Sourcegraph's AI assistant
404
- - **Codex** (`codex`) - OpenAI's code model
405
- - **Continue.dev** (`continue-dev`) - Open-source coding assistant
406
- - **Junie** (`junie`) - JetBrains AI assistant
407
-
408
- ### Enforcement Levels
409
-
410
- - **`warn`**: Log violations but don't fail (default)
411
- - **`error`**: Fail on violations but don't auto-fix
412
- - **`fix`**: Automatically apply suggested fixes
413
- - **`strict`**: Fail immediately on any violation
414
-
415
- ### Integration with Git Hooks
416
-
417
- Add enforcement to your Git workflow:
418
-
419
- ```yaml
420
- # .lefthook.yml
421
- pre-commit:
422
- commands:
423
- ai-rulez-enforce:
424
- run: ai-rulez enforce --level error --agent gemini
425
- stage_fixed: true
426
- ```
138
+ - **CLI hook setup** Run `ai-rulez init --setup-hooks` to auto-configure pre-commit, lefthook, or husky if they are present in your repo.
139
+ - **No-Go requirement** – Hooks use `scripts/pre-commit/run-ai-rulez.sh`, which fetches the correct prebuilt binary on-demand (override with `AI_RULEZ_BINARY` if you already have one installed).
140
+ - **CI/CD examples** – See the [Enforcement guide](https://goldziher.github.io/ai-rulez/enforcement/) for GitHub Actions, pipeline tips, and advanced workflows.
427
141
 
428
- ```bash
429
- # Or with pre-commit hooks
430
- # .pre-commit-config.yaml
431
- repos:
432
- - repo: local
433
- hooks:
434
- - id: ai-rulez-enforce
435
- name: AI-Rulez Enforcement
436
- entry: ai-rulez enforce --level error
437
- language: system
438
- pass_filenames: false
439
- ```
440
-
441
- ### Review Workflow
442
-
443
- The review system provides iterative code improvement:
444
-
445
- ```bash
446
- # Enable review with quality scoring
447
- ai-rulez enforce --review --review-threshold 80
448
-
449
- # Multiple review iterations
450
- ai-rulez enforce --review --review-iterations 5
451
-
452
- # Auto-approve after reaching threshold
453
- ai-rulez enforce --review --review-auto-approve
454
-
455
- # Require improvement between iterations
456
- ai-rulez enforce --review --require-improvement
457
- ```
458
-
459
- The AI reviewer analyzes:
460
- - ✅ Code quality and adherence to rules
461
- - ✅ Suggested fixes and their appropriateness
462
- - ✅ Overall improvement between iterations
463
- - ✅ Compliance with project standards
464
-
465
- ## 📦 Installation
466
-
467
- Choose your installation method based on your primary use case:
468
-
469
- ### 🚀 Quick Start (No Installation)
470
-
471
- **For Configuration Management** (project setup, file generation):
472
- ```bash
473
- # Node.js - Best for web/JS projects
474
- npx ai-rulez@latest init "My Project" --preset popular
475
- npx ai-rulez@latest generate
476
- ```
477
-
478
- **For Rule Enforcement** (AI-powered validation):
479
- ```bash
480
- # Python - Latest features, fastest updates
481
- uvx ai-rulez@latest enforce --agent claude --fix
482
- uvx ai-rulez@latest enforce --agent gemini --review
483
- ```
484
-
485
- **For Go Projects**:
486
- ```bash
487
- go run github.com/Goldziher/ai-rulez/cmd@latest init
488
- ```
489
-
490
- ### 🔧 Global Installation
491
-
492
- For teams and frequent usage:
493
-
494
- **Homebrew (Recommended for macOS/Linux)**
495
- ```bash
496
- brew install goldziher/tap/ai-rulez
497
- ai-rulez init "My Project"
498
- ai-rulez enforce --agent claude
499
- ```
500
-
501
- **npm (Best for Node.js teams)**
502
- ```bash
503
- npm install -g ai-rulez
504
- ```
505
-
506
- **pip (Best for Python teams)**
507
- ```bash
508
- pip install ai-rulez
509
- ```
510
-
511
- **Go (For Go developers)**
512
- ```bash
513
- go install github.com/Goldziher/ai-rulez/cmd@latest
514
- ```
515
-
516
- ## Pre-commit Hooks
517
-
518
- You can use `ai-rulez` with `pre-commit` to automatically validate and generate your AI configuration files.
142
+ ---
519
143
 
520
- Add the following to your `.pre-commit-config.yaml`:
144
+ ## More to Explore
521
145
 
522
- ```yaml
523
- repos:
524
- - repo: https://github.com/Goldziher/ai-rulez
525
- rev: v2.2.1
526
- hooks:
527
- - id: ai-rulez-validate
528
- - id: ai-rulez-generate
529
- ```
146
+ - [Quick Start](https://goldziher.github.io/ai-rulez/quick-start/) – Guided setup in minutes.
147
+ - [CLI Reference](https://goldziher.github.io/ai-rulez/cli/) – All commands and flags.
148
+ - [Configuration Guide](https://goldziher.github.io/ai-rulez/configuration/) – Advanced YAML features, includes, and presets.
149
+ - [Enforcement Guide](https://goldziher.github.io/ai-rulez/enforcement/) – Multi-agent reviews, automation, and reporting.
150
+ - [Migration Guide](https://goldziher.github.io/ai-rulez/migration-guide/) – Upgrading from v1.x.
530
151
 
531
152
  ---
532
153
 
533
- ## Documentation
534
-
535
- - **[Quick Start Guide](https://goldziher.github.io/ai-rulez/quick-start/)**
536
- - **[Full CLI Reference](https://goldziher.github.io/ai-rulez/cli/)**
537
- - **[Configuration Guide](https://goldziher.github.io/ai-rulez/configuration/)**
538
- - **[Migration Guide](https://goldziher.github.io/ai-rulez/migration-guide/)** - Upgrading from v1.x to v2.0
539
-
540
154
  ## Contributing
541
155
 
542
- Contributions are welcome! Please see the [Contributing Guide](CONTRIBUTING.md) to get started.
156
+ We welcome contributions! Read the [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, coding standards, and release process details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-rulez",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "description": "⚡ One config to rule them all. Centralized AI assistant configuration management - generate rules for Claude, Cursor, Copilot, Windsurf and more from a single YAML file.",
5
5
  "keywords": [
6
6
  "ai",