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.

설치로 이동

소스 정보

저장소
neohaskell/skills
최근 소스 활동
2026년 7월 1일 22:02
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.