Event Modeling & Event Model Format

VerifiedSafe

Helps design event models using the Event Modeling methodology with a 7-step workshop (brainstorm, plot, storyboard, etc.) and the Event Model format—including frontmatter, emlang slices, and append-only event streams. Useful when planning event-driven systems and ensuring traceability from commands to events to views.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude CodeCursorWindsurfCopilotCodex
#event-modeling#domain-events#cqrs#eventstorming

Recommended for

Automated summary

A guide to designing event models and writing Event Models in EventModeler format, following a 7-step methodology.

Strengths

  • Structured approach with clear steps and standardized format
  • Integrates modeling of commands, events, and views
  • Includes an append-only event stream for traceability
  • Defines slices as deliverable work units

Limitations

  • Requires good prior understanding of domain-driven design
  • ASCII wireframes may be limiting
  • Does not cover detailed technical implementation
When to use it

Use during the design phase of an event-driven system to structure business conversations and align stakeholders.

When not to use it

Avoid for very simple projects without event complexity or when the team is not familiar with event modeling concepts.

Security analysis

Safe
Quality score90/100

The skill is purely informational, providing a methodology and format for event modeling. It does not instruct any executable actions or tool usage, posing no security risk.

No concerns found

How this analysis is made

Examples

Shopping Cart Event Model
Create an event model for an e-commerce shopping cart system using the /event-model-plan methodology. Include slices for adding items, updating quantities, and placing an order. Provide the emlang blocks and event stream.
User Registration Event Stream
Design an event model for user registration with event stream entries. Include commands like RegisterUser, events like UserRegistered, and views like UserProfile. Show the frontmatter and traceability.

/event-model-plan — Event Modeling & Event Model Format

You are helping design event models and write Event Models for EventModeler. Follow the Event Modeling methodology and the Event Model format defined in docs/product-spec.md.

Event Modeling Workshop (7 Steps)

  1. Brainstorm — Capture all domain events (past-tense: UserRegistered, OrderPlaced)
  2. Plot — Arrange events chronologically on a timeline (left to right)
  3. Storyboard — Add wireframes above the timeline showing what users see
  4. Inputs — Add Commands linking user actions to Events (RegisterUser → UserRegistered)
  5. Outputs — Add Views showing what data users see after events (UserProfile, Dashboard)
  6. Organize — Define swimlanes for actors and bounded contexts
  7. Elaborate — Define Given/When/Then scenarios for complex business logic

Slice Definition

A slice is a vertical unit of work: Trigger → Command → Event → View.

Use emlang notation:

slices:
  SliceName:
    steps:
      - t: Actor/TriggerScreen       # Wireframe/trigger
      - c: CommandName                # Command
        props:
          field: type
      - e: Context/EventName          # Event
        props:
          field: type
      - v: ViewName                   # View/read model
    tests:
      HappyPath:
        when:
          - c: CommandName
            props:
              field: value
        then:
          - e: Context/EventName
      ErrorCase:
        given:
          - e: Context/SomeEvent
        when:
          - c: CommandName
        then:
          - x: ErrorName

Event Model Format

Structure

---
title: "Feature Name"
status: draft | modeling | refined | approved
domain: "Bounded Context"
version: 1
---

# Feature Name
## Overview
## Key Ideas
## Slices
### Slice: Name
(emlang block)
## Scenarios
## Data Flows
## Dependencies
## Sources
<!-- event-stream -->
## Event Stream
(eventstream blocks)

Event Stream

Append-only log at the bottom of Event Model files. Each event is a fenced eventstream block:

seq: 1
ts: "2026-02-21T10:00:00Z"
type: EventModelCreated
actor: user@example.com
data:
  title: "Feature Name"
  status: draft

Key Rules

  • Emlang blocks: one per slice, under ### Slice: heading
  • Event stream: append-only, never modify existing blocks
  • Frontmatter status tracks Event Model lifecycle: draft → modeling → refined → approved
  • Wireframes are ASCII art (plain text, no images)

Guidance

When helping design event models:

  1. Start with domain events — what happens in the business?
  2. Group events into slices — each slice is a deliverable unit
  3. Define commands — what action triggers each event?
  4. Add views — what does the user see after each event?
  5. Write scenarios — Given (preconditions) / When (command) / Then (outcomes)
  6. Check completeness — every view field must trace back to an event field, which traces to a command field

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/event-modeling-event-model-format-mmbizj05/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/event-modeling-event-model-format-mmbizj05' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/event-modeling-event-model-format-mmbizj05/download' --output '.skill-downloads/event-modeling-event-model-format-mmbizj05/SKILL.md.part' && mv '.skill-downloads/event-modeling-event-model-format-mmbizj05/SKILL.md.part' '.skill-downloads/event-modeling-event-model-format-mmbizj05/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/event-modeling-event-model-format-mmbizj05/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills