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 に表示されている付属ファイルをお読みください。