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`
scripts/script.sh intro
Overview of rule engines — types, benefits, when to use.
`patterns`
scripts/script.sh patterns
Rule engine patterns — forward chaining, backward chaining, Rete.
`tables`
scripts/script.sh tables
Decision tables — structure, completeness, and implementation.
`dsl`
scripts/script.sh dsl
Domain-specific languages for rules — syntax approaches and examples.
`tools`
scripts/script.sh tools
Rule engine tools — Drools, OPA, json-rules-engine, and more.
`scoring`
scripts/script.sh scoring
Scoring and ranking engines — weighted rules, multi-criteria decisions.
`testing`
scripts/script.sh testing
Testing rule engines — coverage, conflict detection, regression.
`checklist`
scripts/script.sh checklist
Rule engine implementation checklist.
`help`
scripts/script.sh help
`version`
scripts/script.sh version
Configuration
| Variable | Description |
|----------|-------------|
| ENGINE_DIR | Data directory (default: ~/.engine/) |
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com