model-events

Generates event models from domain requirements or existing codebases through iterative discovery phases.

5|Updated Sep 9, 2017
One-click install
npx skills add https://github.com/hpcsc/dotfiles --skill model-events-hpcsc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: model-events
Source: https://github.com/hpcsc/dotfiles/tree/main/link/common/claude/.claude/skills/model-events
Command: npx skills add https://github.com/hpcsc/dotfiles --skill model-events-hpcsc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Designing event-driven systems requires translating vague business requirements into concrete domain events, commands, and views, which is error-prone and often skips stakeholder validation. This Skill guides a structured event modeling process that discovers business processes, identifies domain events in chronological order, and iterates with user approval at every stage. ## Core Features & Use Cases - Dual Input Modes: Model from text-based domain requirements or reverse-engineer an existing codebase by exploring event definitions, command handlers, and aggregates. - Gated Multi-Phase Workflow: Eight phases covering capability identification, storyboarding, event timeline discovery, anti-pattern checks, autonomous component grouping, and message processing pattern labeling, each requiring explicit user approval. - Documented Outputs: Produces a complete event model Markdown document and a Draw.io diagram with swimlanes, timelines, and styled elements saved under docs/. - Use Case: Given requirements for an order fulfillment system, the Skill asks clarifying questions, derives processes like Order Booking and Payment, identifies events such as OrderPlaced and PaymentSucceeded, and delivers an implementable event model with component boundaries. ## Quick Start Ask the AI to perform event modeling on your domain requirements or point it at a codebase path, for example by requesting an event model for your order processing workflow.

Frequently Asked Questions about model-events

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an event model from business requirements?▼

Provide a text description of your domain requirements as input. The Skill asks targeted clarifying questions about actors, outcomes, and boundaries, then identifies business capabilities, derives processes, and discovers domain events in chronological order with your approval at each phase.

Can event modeling be done from an existing codebase?▼

Yes, the Skill supports a codebase analysis mode that explores event definitions, command handlers, aggregate roots, reactors, and integration points. It synthesizes findings into a system summary and confirms accuracy with you before modeling processes.

What outputs does the event modeling process produce?▼

It produces a complete event model Markdown document covering actors, storyboards, events, commands, views, automations, and component boundaries, plus a Draw.io diagram with swimlanes and timeline layout. Both are saved under the docs/ directory.

What event modeling anti-patterns should I avoid?▼

Avoid generic Updated or Changed events, Initiated events that disguise commands, Left Chair patterns where one command produces many events, and Right Chair god views. The Skill runs an anti-pattern checklist in Phase 5 and suggests fixes before finalizing.

When should I not use event modeling for system design?▼

Event modeling adds overhead for simple CRUD applications without meaningful business processes or temporal workflows. It is best suited for event-driven architectures and domains where stakeholders care about business facts and process timelines.