engine
# Engine — Rule Engine & Decision Logic Reference
Quick-reference skill for rule engines, decision tables, and business rule patterns.
## When to Use
- Implementing business rules that change frequently
- Building decision trees or scoring systems
- Choosing between rule engine approaches
- Designing policy engines for access control or pricing
- Separating business logic from application code
## Commands
### `intro`
```bash
scripts/script.sh intro
```
Overview of rule engines — types, benefits, when to use.
### `patterns`
```bash
scripts/script.sh patterns
```
Rule engine patterns — forward chaining, backward chaining, Rete.
### `tables`
```bash
scripts/script.sh tables
```
Decision tables — structure, completeness, and implementation.
### `dsl`
```bash
scripts/script.sh dsl
```
Domain-specific languages for rules — syntax approaches and examples.
### `tools`
```bash
scripts/script.sh tools
```
Rule engine tools — Drools, OPA, json-rules-engine, and more.
### `scoring`
```bash
scripts/script.sh scoring
```
Scoring and ranking engines — weighted rules, multi-criteria decisions.
### `testing`
```bash
scripts/script.sh testing
```
Testing rule engines — coverage, conflict detection, regression.
### `checklist`
```bash
scripts/script.sh checklist
```
Rule engine implementation checklist.
### `help`
```bash
scripts/script.sh help
```
### `version`
```bash
scripts/script.sh version
```
## Configuration
| Variable | Description |
|----------|-------------|
| `ENGINE_DIR` | Data directory (default: ~/.engine/) |
---
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
标签
skill
ai