Skip to main content

implement-command

Implements a NeoHaskell COMMAND module at Commands/Name.hs — the record, getEntityId, a three-argument decide function, EntityOf and TransportsOf type instances, and the command TH macro. Use in the GREEN phase after neohaskell-domain-modeling stubbed the types and write-unit-tests left a failing Decider spec. Also use when asked to add a command, implement or fill in decide logic, replace a decide panic stub, handle a verified command node, or distinguish a create command (getEntityId Nothing, acceptNew) from an update command (getEntityId Just, acceptExisting). Do NOT use for the EVENT payload module or entity update fold (implement-event-and-update-entity), the query/combine module (implement-query), the integration handler (implement-integration), or registering the endpoint (wire-feature). This is NeoHaskell — the reader defaults to IO, pure, Either, and dollar-sign application; all of those are wrong here.

Ir a la instalación

Datos de origen

Repositorio
neohaskell/skills
Última actividad en el origen
1 de julio de 2026 a las 22:02
Idioma detectado de SKILL.md
inglés
Estrellas
0
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.