Skip to main content

expand-entity

Adds a NEW FIELD to an EXISTING NeoHaskell entity module backward-compatibly: the record declaration, initialState value, update fold case, and a JSON decoder that still loads OLD snapshots missing the new field. Use whenever a slice needs a field that does not yet exist on an entity, when implement-event-and-update-entity finds a missing field, or when asked to 'add a field to the entity', 'extend the aggregate', or 'add state to the entity' — especially with replay-safety concerns over historical events. Do NOT use to implement a whole new event plus its variant (implement-event-and-update-entity), to design brand-new value objects/ADTs from a failing test (neohaskell-domain-modeling), for general JSON- instance patterns unrelated to entity evolution (neohaskell-records-and-json), or to scaffold a new context (neohaskell-module-layout). This is NeoHaskell; every identifier is grounded in the public testbed Cart and Stock entities plus the Json module source.

설치로 이동

소스 정보

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

설치 방법

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

소스 파일 검토

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