eventmodeling-identifying-outputs

Installation
SKILL.md

Identifying Outputs

Interview Phase (Optional)

When to Interview: Skip if the user has clearly identified: read model queries needed by UI, processor needs, and refresh patterns. Interview when unclear which data queries are critical or how frequently they're accessed.

Interview Strategy: Establish query patterns and identify any calculations before designing read models. The most common architecture error at this step is modeling recalculated state as an event — identifying calculated fields upfront prevents that anti-pattern.

Critical Questions

  1. Query Patterns (Impact: Determines which read models are needed and their update frequency)

    • Question: "What data do users/processors need to query? (A) Real-time (sub-second), (B) Near-real-time (seconds), (C) Periodic (minutes/hours)?"
    • Why it matters: Query frequency drives read model design and caching strategy
    • Follow-up triggers: If (A) → ask which specific screens or processors require sub-second reads; these need dedicated, highly optimized read models
  2. Event vs Read Model Clarification (Impact: Ensures we don't model calculations as events)

    • Question: "Are there calculated/aggregated fields? (e.g., average rating, total sales, inventory count) - These are read models, not events."
    • Why it matters: Common mistake to model calculations as events; identifying them upfront prevents architecture errors
    • Follow-up triggers: For each calculated field mentioned → confirm "This recalculates as source data changes, so it belongs in a read model projection — does that match your expectation?"
Related skills
Installs
19
First Seen
Apr 13, 2026