Skip to main content

implement-integration

Implements NeoHaskell INTEGRATION modules under Integrations/ for a context, in the GREEN phase when a verified integration node (outbound or inbound) needs code. Covers three patterns: outbound per-trigger (nullary marker type, EntityOf instance, pure handleEvent, outboundIntegration macro, stubbed with Integration.none plus a TODO); inbound timer or webhook via Integration.Inbound and Integration.Timer; and stateful lifecycle outbound via withOutboundLifecycle. Use when asked to fire a cross-aggregate command from an event, wire a periodic timer, add a stateful worker, run a real side effect (decode the event and shell out via Subprocess), or safely stub an outbound handler. Never panic inside handleEvent — use Integration.none. Do NOT use for a command's decide (implement-command), event payload (implement-event-and-update-entity), query/combine (implement-query), or registering the integration in App.hs (wire-feature). This is NeoHaskell — IO, Either, pure, and dollar-sign application are all wrong here.

Zur Installation springen

Quellinformationen

Repository
neohaskell/skills
Letzte Quellaktivität
3. Juli 2026 um 11:07
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.