/trogonstack-eventmodeling:eventmodeling-storyboarding-eventsfrom trogonstack-eventmodeling
Creates UI storyboards/mockups showing what users see at each event modeling step, capturing all data fields from user perspective. Use after sequencing events.
Ships in trogonstack-eventmodeling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When to Interview: Skip if the user has already specified: existing UI patterns or mockups to reference, critical data fields, and UI/UX preferences. Interview when these details haven't been discussed or when the user wants guidance on storyboarding depth.
Interview Strategy: Clarify UI needs, data priorities, and existing patterns to guide storyboard design. This ensures mockups capture all necessary fields without over-designing.
When UI design guidance is needed:
Current UI State (Impact: Determines if you're designing from scratch or enhancing existing)
Most Critical Data Fields (Impact: Determines storyboard focus and detail level)
UI/UX Preferences & Constraints (Impact: Shapes storyboard style and interaction patterns)
Conditional Entry:
If user has provided:
- Existing UI patterns or references
- AND identified critical data fields
- AND specified storyboard detail level
Then: Skip interview, proceed directly to storyboarding
Else: Conduct interview
Phase 1: Context Assessment (Questions 1-2)
Phase 2: Design Guidance (Question 3)
Document findings to guide storyboard creation:
## Interview Findings: [Domain Name] UI
**Existing UI Context**: [Starting from scratch / Enhancing / Matching pattern]
**Most Critical Data**: [List fields in priority order]
**Platform**: [Web / Mobile / Both]
**Storyboard Detail**: [Minimal wireframes / Detailed mockups]
**Key UI Interactions**:
- [Action 1]: [What data triggers it]
- [Action 2]: [What data triggers it]
**Storyboard Focus**:
- Prioritize showing [most critical fields]
- Ensure [specific interactions] are clear
- Reference [existing patterns] for consistency
Optional: Write to .trogonai/interviews/[timestamp]-storyboarding-events.interview.internal.trogonai.md.
Given the event timeline, create UI storyboards:
Create a mockup for each state of the system:
Screen 1: Order Creation Form
Place Your Order
Customer ID: [____________]
Items:
Product 1 Qty: [_] Price: $_
Product 2 Qty: [_] Price: $_
Product 3 Qty: [_] Price: $_
Total: $___
Shipping Address:
[_____________________]
[_____________________]
[ Create Order ]
Trigger: CreateOrder command
Result Events: OrderCreated
Data captured from UI:
- customerId
- items (products + quantities)
- total
- shippingAddress
Document what changes when events occur:
Screen 2: Order Confirmation
(After OrderCreated event)
Order Confirmation
Order ID: #12345
Status: Draft
Items: 3 products
Total: $150.00
Shipping: 123 Main St
Payment Options:
Credit Card
Bank Transfer
[ Confirm Order ]
Trigger: ConfirmOrder command
Result Events: OrderConfirmed
Data from UI:
- orderId (from OrderCreated)
- paymentMethod
For each screen, list what data is displayed:
Screen: Order Status View
Your Order Status
Order ID: #12345 (from OrderCreated)
Status: Confirmed (from OrderConfirmed)
Confirmed at: 2024-12-31 10:00 (from OrderConfirmed)
Payment: Authorized (from PaymentAuthorized)
Auth Code: AUTH-789 (from PaymentAuthorized)
Inventory: Reserved (from InventoryReserved)
Expected Ship: 2025-01-02 (from InventoryReserved)
Shipped: Pending (awaiting OrderShipped)
Tracking: -- (waiting for shipment)
Fields and their origins:
orderId → OrderCreated event
status → OrderConfirmed event
confirmedAt → OrderConfirmed event
paymentStatus → PaymentAuthorized event
authCode → PaymentAuthorized event
inventoryStatus → InventoryReserved event
expectedShip → InventoryReserved event
tracking → OrderShipped event (when available)
Map how data enters/exits UI:
Order Entry UI
(user inputs)
customerId
items[]
total
shippingAddress
↓
Command: CreateOrder
↓
Event: OrderCreated
↓
Order Status UI (displays)
orderId (from event)
items (from event)
total (from event)
shippingAddress (from event)
MANDATORY: Use the Role Catalog from Step 1 (eventmodeling-brainstorming-events) as the source of swimlanes. Every human role in the catalog MUST have its own swimlane. Every system actor that has a UI or todo-list view gets a swimlane too.
Group screens by who interacts with them:
Swimlane: Customer (Human Role)
Screen 1: Order Entry Form
Screen 2: Order Confirmation
Screen 3: Order Status View
Screen 4: Tracking View
Swimlane: Seller (Human Role)
Screen 1: Order Fulfillment Dashboard
Screen 2: Review Response Form
Screen 3: Product Management
Swimlane: Support Agent (Human Role)
Screen 1: Escalation Queue
Screen 2: Manual Override Panel
Swimlane: Payment Processor (System Actor)
Screen 1: Payment Verification (automated)
Screen 2: Authorization Confirmation
Swimlane: Inventory System (System Actor)
Screen 1: Reservation Todo List (internal)
Screen 2: Availability Check
Swimlane: Fulfillment System (System Actor)
Screen 1: Shipment Creation Todo
Screen 2: Shipping Confirmation
Validation: If a role from the catalog has zero screens, either:
This shows which actors interact with which screens and helps visualize system boundaries.
For automated processors, show the todo list metaphor:
Processor: InventoryReserver
Internal "Todo List" (based on received events):
Inventory Reservation Todos
Order-123: Reserve 2x Prod-1 (triggered by PaymentAuthorized)
Order-124: Reserve 3x Prod-2 (triggered by PaymentAuthorized)
Order-125: Reserve 1x Prod-3 (triggered by PaymentAuthorized)
Processor checks todo items:
For each: Check availability
If available: Mark done
Reserve inventory
Produce event
This todo list is driven by:
Events received → Items added to todo
Processor logic → Items processed
Success → InventoryReserved event produced + todo marked done
Failure → InventoryFailed event produced + todo marked failed
Highlight where data doesn't have a clear source:
Problem: Order Status screen needs "expectedShip" date
Current state: Not in any event
Solution: Add expectedShip to InventoryReserved event
Problem: Order status needs "last updated" timestamp
Current state: No tracking of when last change occurred
Solution: Every event includes timestamp
Present as:
# Storyboard: [Domain Name]
## Swimlane Organization (from Role Catalog)
### Human Role Swimlanes
#### Customer Swimlane
- Screen 1: Order Entry Form
- Screen 2: Order Confirmation
- Screen 3: Order Status View
#### [Other Human Role Swimlanes — one per role in the catalog]
### System Actor Swimlanes
#### Payment Processor Swimlane
- Screen 1: Payment Verification (automated)
- [Shows what UI/views the processor interacts with]
#### [Other System Actor Swimlanes]
---
## Screen 1: [Screen Name]
### Mockup
[ASCII art mockup or description]
### Data Displayed
- Field 1: Description, source event
- Field 2: Description, source event
### User Actions (Commands)
- Action: [Action], produces: [Event]
### Business Rules
- Rule about what can/cannot be done on this screen
---
## Screen 2: [Screen Name]
[Repeat for each screen]
---
## Processor Todo Lists
### Processor: [Processor Name]
Internal "Todo List" pattern:
Triggered by: [Event type] Todo action: [What needs to be done] Success produces: [Event] Failure produces: [Event]
[Repeat for each processor]
---
## Data Flow Diagram
[Show how data enters from UI and returns via events]
---
## Field Traceability Matrix
| Field | Screen | Source Event | Status |
|-------|--------|-------------|--------|
| orderId | Status View | OrderCreated | |
| shipmentId | Status View | OrderShipped | |
| customerId | All | OrderCreated | |
---
## Missing Data Analysis
[Any fields without clear source or destination]
User fills form (captures command data)
↓
Submit button (issues command)
↓
Event created with form data
↓
Confirmation screen displayed
System displays current state (from read model)
↓
Based on latest events
↓
Shows all relevant information
↓
Available actions based on state
User action fails (command rejected)
↓
No event created
↓
Error message displayed
↓
UI allows retry or alternative action
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
event-modeling, storyboarding, ui-mockups, data-fields, system-design
16 skills in this plugin
/eventmodeling-applying-conways-lawStep 6 of Event Modeling - Apply Conway's Law with swimlanes. Organize events into autonomous system parts that different teams can independently own. Use after defining inputs/outputs. Do not use for: planning feature slice implementation order (use eventmodeling-slicing-event-models) or defining command/read model boundaries (use eventmodeling-designing-event-models)./eventmodeling-brainstorming-eventsStep 1 of Event Modeling - Brainstorm all domain events from requirements. Extract every state-changing event the system could have. Use when starting event modeling from requirements or a new domain. Do not use for: arranging events in sequence (use eventmodeling-plotting-events), designing commands or read models (use eventmodeling-designing-event-models), or when a complete event list already exists./eventmodeling-checking-completenessStep 8 of Event Modeling - Completeness Check. Verify every field has origin and destination. Ensure complete event model before code generation. Use after all scenarios defined. Do not use for: architectural validation against event sourcing principles (use eventmodeling-validating-event-models) or elaborating Given-When-Then specs (use eventmodeling-elaborating-scenarios)./eventmodeling-designing-event-modelsDesigns event-sourced domain models. Maps business processes to immutable events and state projections. Events are the source of truth; state is derived from events for command validation. Use when designing event streaming architectures from domain analysis. Do not use for: brainstorming events from scratch (use eventmodeling-brainstorming-events), optimizing stream sizing or snapshotting (use eventmodeling-optimizing-stream-design), or translating external system events (use eventmodeling-translating-external-events)./eventmodeling-elaborating-scenariosStep 7 of Event Modeling - Elaborate scenarios using Given-When-Then format. Specify behavior of commands and views. Each spec tied to exactly one command or view. Use after defining systems and boundaries. Do not use for: architectural validation (use eventmodeling-validating-event-models) or verifying field completeness across the model (use eventmodeling-checking-completeness)./eventmodeling-identifying-inputsStep 4 of Event Modeling - Identify Commands/Inputs from UI and Processor actions. Map user actions to commands and data. Use after storyboarding UI. Do not use for: identifying read models or outputs (use eventmodeling-identifying-outputs) or elaborating behavior specifications (use eventmodeling-elaborating-scenarios).npx claudepluginhub trogonstack/agentskills --plugin trogonstack-eventmodelingOther plugins' skills for the same job