drools

Convert Danish tjenestemandspension policy into Drools-ready business logic.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/chrisstineline/CGI_Agent --skill drools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drools
Source: https://github.com/chrisstineline/CGI_Agent/tree/main/Business/Drools
Command: npx skills add https://github.com/chrisstineline/CGI_Agent --skill drools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts Danish tjenestemandspension policy requirements into precise, testable business logic so eligibility, recipients, timing, and calculations can be implemented consistently (including edge cases) in a Drools-ready way.

Core Features & Use Cases

  • Policy-to-rule translation with traceability: Produces rules that clearly separate policy intent from implementation detail, naming sources and decision outputs.
  • Decision classification and rule inventory: Helps structure tasks as eligibility, entitlement, distribution, calculation, timing, or exception handling, then captures inputs/logic/outputs for each rule.
  • Drools-focused rule and calculation specification: Defines normalized Danish terminology, rule categories, conflict/ordering behavior, and calculation discipline (bases, reductions, caps/floors, rounding, and explanations).
  • Testability and completeness guardrails: Identifies missing data, contradictions, nondeterminism, and unclear formulas instead of silently inventing assumptions.

Quick Start

Ask the Skill to analyze a specific Danish tjenestemandspension case and produce a Drools-ready rule set that covers eligibility, recipient distribution, and calculation steps with clearly stated inputs, outputs, exceptions, and open questions.

Frequently Asked Questions about drools

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

FAQPage Schema
How do I convert pension policy requirements into testable Drools business logic?

To convert pension policy into testable Drools business logic, translate eligibility and calculation requirements into rules that specify inputs, decisions, outputs, exceptions, and traceable sources without silently filling gaps.

How do I handle edge cases and missing data when writing eligibility rules for pension calculations?

Handling edge cases and missing data in eligibility rules requires identifying contradictions, nondeterminism, and unclear formulas as open questions rather than silently inventing assumptions, ensuring completeness and consistency across recalculation scenarios.

What is the best way to structure decision tables for pension eligibility and recipient distribution?

Structuring decision tables for pension eligibility involves classifying tasks as eligibility, entitlement, distribution, calculation, timing, or exception handling, then capturing inputs, logic, and outputs for each rule with traceable sources.

Can I use Drools for Danish tjenestemandspension policy validation and recalculation?

Drools works for Danish tjenestemandspension policy validation by applying rule validation and traceability to pension eligibility, recipient rules, calculation logic, and edge cases across event-driven recalculation scenarios with deterministic outputs.

How do I ensure traceability when translating pension policy into rule specifications?

Ensuring traceability when translating pension policy involves clearly separating policy intent from implementation detail, naming sources for each decision output, and documenting normalized terminology alongside rule categories and conflict ordering behavior.

What limitations exist when automating pension calculation logic with business rules engines?

Limitations in automating pension calculation logic include handling nondeterminism, missing data, and unclear formulas; the approach flags these as open questions instead of silently inventing assumptions, which may require manual resolution before deployment.