Skip to main content

implement-event-and-update-entity

Implements a NeoHaskell EVENT: creates the payload module Events/Name.hs (in-file type always named Event), adds the variant to the context Event.hs ADT, extends getEventEntityId with a new branch, and adds the matching case to the Entity.hs update fold. Use right after verify-event-model produces a verified event node, or whenever a command's decide references an event constructor whose payload module does not exist yet — 'add a new event', 'wire the event', 'implement the event side'. Covers the locked payload V2 rule, creation-fact naming (CounterCreated is correct, not a CRUD smell), and command- first vs event-first ordering. Do NOT use to implement a command's decide (implement- command), to only ADD A FIELD to an existing entity record backward-compatibly (expand- entity), for queries (implement-query), integrations (implement-integration), or wiring (wire-feature). Runs in the GREEN phase.

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.