decision-table-creation

Express business rules as decision tables with completeness and consistency checks.

1|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/SSiertsema/claude-code-plugins --skill decision-table-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: decision-table-creation
Source: https://github.com/SSiertsema/claude-code-plugins/tree/main/decision-table-creation/skills/decision-table-creation
Command: npx skills add https://github.com/SSiertsema/claude-code-plugins --skill decision-table-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Express complex business rules as decision tables — a compact tabular form where conditions (rows at top) × rules (columns) define which actions apply. Reveals completeness gaps, contradictions, and redundancy that prose rules hide.

Core Features & Use Cases

  • Conditions + actions separated: top rows = condition values per rule; bottom rows = actions fired
  • Rules as columns: each column is one rule (combination of condition values → actions)
  • Controlled values: Y / N / - (don't-care) for limited-entry; specific values for extended-entry
  • Completeness check: every combination of conditions either covered or explicitly marked irrelevant
  • Consistency check: no two rules give different actions for same condition set
  • Redundancy check: no two rules mean the same thing
  • No fabricated rules: work from supplied business logic or explicit elicitation

Quick Start

Model a specific policy by mapping conditions to actions in a decision table and verify full coverage.

Frequently Asked Questions about decision-table-creation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate complex business rules into a decision table?

A decision table maps condition values to actions in a compact format where top rows list conditions and columns represent rules. This reveals completeness gaps, contradictions, and redundancy that prose rules hide.

What is the difference between limited-entry and extended-entry decision tables?

Limited-entry decision tables use controlled values like Y, N, or a don't-care dash for conditions, while extended-entry tables use specific values. Mixed-entry formats combine both to map condition values to actions.

How do I check my decision table for completeness and consistency?

Checking decision table completeness and consistency involves verifying every condition combination is covered or explicitly marked irrelevant, ensuring no two rules give different actions for the same condition set, and removing redundant rules.

When do I need a decision table for business rules?

You need a decision table for business rules when you have a defined decision scope with multiple condition types and need to verify the complete rule space, check consistency, and define an explicit default rule.

Can I export my decision table to DMN format?

Yes, you can export your decision table to DMN format and generate diagrams. This optional feature provides standardized documentation and visual support for the mapped condition values and actions.

What is the best way to handle default rules in a decision table?

The best way to handle default rules in a decision table is to specify an explicit default rule that defines the actions to fire when no other condition combinations match the supplied business logic.