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.

설치로 이동

소스 정보

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

설치 방법

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

소스 파일 검토

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