decision-table
Installation
SKILL.md
Purpose
Express complex business logic as decision tables or decision trees. Use this when multiple interacting conditions determine system behavior, and prose requirements would be ambiguous or incomplete.
Decision tables guarantee completeness. If you have N binary conditions, the table has 2^N columns. Every column gets a defined action. No gaps, no ambiguity.
Key Concepts
Decision Table Structure
| Rule 1 | Rule 2 | Rule 3 | Rule 4 | |
|---|---|---|---|---|
| Conditions | ||||
| Condition A? | Y | Y | N | N |
| Condition B? | Y | N | Y | N |
| Actions | ||||
| Action X | X | X | ||
| Action Y | X | X |