cody-event

Define structured event specifications for business facts in Cody Engine.

6|3|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/proophboard/skills --skill cody-event
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cody-event
Source: https://github.com/proophboard/skills/tree/main/skills/cody/event
Command: npx skills add https://github.com/proophboard/skills --skill cody-event

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Facilitates precise creation of event specifications that record when business facts occur, ensuring consistent data modeling for event sourcing.

Core Features & Use Cases

  • Schema Definition: Establishes structured payloads for events using a clear syntax.
  • State Update Patterns: Provides templates for updating aggregate state with event data.
  • Metadata Configuration: Sets visibility and classification attributes for events.
  • Use Case: Model events like "Order Shipped" or "User Registered" with detailed schemas and apply rules for reliable state changes in Cody Engine applications.

Quick Start

Create an event specification that defines an order shipment with a timestamp and status update.

Frequently Asked Questions about cody-event

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

FAQPage Schema
How do I define event sourcing schemas for business facts in Cody Engine?

Event sourcing schemas for business facts are defined by specifying structured payload details, state transformation rules, and metadata visibility attributes. This approach ensures consistent data modeling for reliable event-sourced systems.

What is the best way to model state transformations when an event occurs?

Model state transformations by applying event payload data to update aggregate state using predefined templates. This ensures accurate state management and consistent data schema application for business fact records.

How do I configure event classification and metadata for state management?

Configure event classification and metadata by setting visibility attributes and application patterns within the event specification. This controls how business fact records are categorized and applied for accurate state updates.

Can I use this to specify event payloads like Order Shipped or User Registered?

Yes, you can model events like Order Shipped or User Registered by defining detailed schemas with timestamps and status updates. This establishes structured payloads and enforces rules for reliable state changes.

What are the limitations of modeling event sourcing without consistent schema constraints?

Without consistent schema constraints, event sourcing implementations risk unreliable state updates and inaccurate data modeling. Defining event specifications explicitly prevents these issues by enforcing strict payload rules and metadata classification.