Skip to content

cratis/public-cratis-ai

v0.3.0MIT

Cratis AI skills for event-sourced and CQRS application development

add-reducer

Use this skill when a read model genuinely needs an IReducerFor<T> — when model-bound projection attributes and fluent IProjectionFor<T> cannot express the state transition. Reducers are the last-resort escape hatch, not a default. Covers the admission checklist, method signatures, nullable-current handling, passivity, and pitfalls.

Read SKILL.md at the source

Pinned to revision 8356298f1c6e, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.