event-modeling-brownfield

Reverse engineer an Event Model from a brownfield codebase into EventCatalog-ready documentation.

14|Updated May 28, 2024
One-click install
npx skills add https://github.com/cameronraysmith/vanixiets --skill event-modeling-brownfield
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: event-modeling-brownfield
Source: https://github.com/cameronraysmith/vanixiets/tree/main/modules/home/ai/skills/src/core/event-modeling-brownfield
Command: npx skills add https://github.com/cameronraysmith/vanixiets --skill event-modeling-brownfield

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps reverse-engineer the intended Event Model of a brownfield codebase, documenting implicit event flows that were not explicitly designed.

Core Features & Use Cases

  • Codebase Analysis: Identifies state transitions, API triggers, database schemas, and error handling patterns.
  • Event & Command Extraction: Extracts implicit domain events and identifies corresponding commands from code and logs.
  • Read Model & Context Discovery: Identifies read models and applies strategic domain analysis to define bounded contexts.
  • Artifact Generation: Produces Event Model documentation, bounded context maps, and aggregate identification.

Quick Start

Analyze the codebase at the provided path to reverse engineer its event model.

Frequently Asked Questions about event-modeling-brownfield

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

FAQPage Schema
How do I reverse engineer an event model from a brownfield codebase?

To extract implicit domain events from legacy code, this Skill analyzes API triggers, state transitions, and database mutations. It identifies corresponding commands and generates EventCatalog-ready documentation for undocumented event flows.

What is the best way to document implicit event flows in legacy code?

Documenting implicit event flows requires analyzing code for state transitions and database mutations to extract domain events. This Skill reverse engineers existing codebases to map implicit flows and generate Event Model documentation.

How does strategic domain analysis identify bounded contexts from existing code?

Strategic domain analysis identifies bounded contexts by examining extracted domain events and read models within the codebase. This Skill applies this analysis to define clear bounded contexts and generate context maps for brownfield systems.

Can I generate EventCatalog documentation from an existing database schema?

Yes, you can generate EventCatalog documentation from an existing database schema. This Skill analyzes your database mutations and schemas to extract domain events and produces EventCatalog-ready artifacts for your brownfield application.

Does event modeling for brownfield systems require existing event sourcing code?

No, event modeling for brownfield systems does not require existing event sourcing code. This Skill reverse engineers implicit event flows by analyzing standard state transitions, API triggers, and database mutations already present in the codebase.