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.

Ir para a instalação

Informações da origem

Repositório
neohaskell/skills
Última atividade na origem
1 de julho de 2026 às 22:02
Idioma detectado do SKILL.md
inglês
Estrelas
0
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.