Skip to main content

neohaskell-domain-modeling

The NeoHaskell DOMAIN-PHASE discipline for turning a failing test's implied types into precise domain types: value objects with smart constructors, ADTs that make illegal states unrepresentable, parse-don't-validate at the boundary, and the Natural/Decimal/Redacted/Uuid wrappers and enum sum types. Use whenever a red test references a type that does not exist yet, when adding a field/quantity/money/id/secret/status value, or when replacing a Text or Int primitive with a domain type — even if the user says only 'add a field' or 'model this'. Stubs bodies with panic 'TODO' (or Integration.none) so the module compiles and the test fails on the assertion. Do NOT use to fill in real decide/combine/handleEvent LOGIC (the implement-* skills), to derive JSON instances (neohaskell-records-and-json), to add a field to a live entity's snapshot decoder (expand-entity), or to run event- storming/discovery (augment-feature-request). Load after write-unit-tests, before the implement-* skills.

跳到安装

来源信息

仓库
neohaskell/skills
最近来源活动
2026年7月1日 22:02
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。