Skip to main content

implement-query

Implements a NeoHaskell QUERY / read-model module at Queries/Name.hs — the record, Json and ToSchema instances, canAccess and canView auth functions, the deriveQuery macro, and a hand-written QueryOf instance whose combine returns Update, NoOp, or Delete. Use in the GREEN phase after neohaskell-domain-modeling stubbed the types and write-unit-tests left a failing Projection spec. Also use when asked to add a read model, implement or fill in combine logic, replace a projection panic stub, handle a verified query node, or set up per-instance access control. Both canAccess and canView are required — deriveQuery fails to compile if either is missing. Do NOT use for the command/decide module (implement- command), the event payload (implement-event-and-update-entity), the integration handler (implement-integration), or wiring (wire-feature). This is NeoHaskell — IO, Data.Aeson, Either, and unqualified list functions are all wrong here.

インストールへ移動

ソース情報

リポジトリ
neohaskell/skills
ソースの最終更新活動
2026年7月3日 11:07
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。