Morphir

Translate pure business/decision logic (Scala, Java, or similar) into Morphir IR via hand-authored Elm, then verify the translation with a hand-traced decision table against the source code. Trigger on: "model this in Morphir", "translate this logic to Morphir IR", "morphir-elm", "decision table verification", "verify this Elm model against the source", "morphir-elm make/gen/develop", or when a codebase's pure rule/eligibility/comparison logic needs a formal, language-agnostic representation for review or downstream generation. Covers `morphir.json` project shape, `morphir-elm` CLI subcommands and their traps, and the decision-table technique for verifying an Elm model's behavior matches its source — a fixture-based equivalence check, not exhaustive state-space search. Do not use for parsing/checking a domain spec's own syntax (that's a spec-authoring tool's job, not this skill's), for exhaustive state-space model-checking of a specification (see `alloy-structural-analysis` if that toolchain is available — a

tkolleh 5859e51 5 files · 21.5 KB Updated

File contents

tkolleh/skills/tree/main/morphir commit 5859e51539

Frequently asked questions

npx skillmds@latest add tkolleh/morphir