wolverine-marten-automation

Automate committed domain event handlers in CritterCab using Wolverine and Marten.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/erikshafer/CritterCab --skill wolverine-marten-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wolverine-marten-automation
Source: https://github.com/erikshafer/CritterCab/tree/main/docs/skills/wolverine-marten-automation
Command: npx skills add https://github.com/erikshafer/CritterCab --skill wolverine-marten-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wolverine, marten, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the handling of domain events in CritterCab's ride-sharing platform, simplifying the process of event-triggered automation and improving efficiency.

Core Features & Use Cases

  • Event-Triggered Automation: Handles domain events that are already committed to a Marten stream.
  • Marker-Interface Pattern: Provides a pattern for multi-outcome decisions within automation handlers.
  • Use Case: Automate candidate selection for ride requests by reacting to fare quotes, selecting drivers, and deciding on outcomes.

Quick Start

Implement an automation handler for the 'FareQuoted' event to select drivers based on fare quotes.

Frequently Asked Questions about wolverine-marten-automation

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

FAQPage Schema
How do I automate event-triggered handlers for committed domain events in Marten?

To automate event-triggered handlers for committed domain events in Marten, you use this Skill to react to events already committed to a Marten stream and process them through automation handlers. This simplifies event-triggered automation.

How does the marker-interface pattern work for multi-outcome decisions in Wolverine?

The marker-interface pattern provides a structured way to handle multi-outcome decisions within Wolverine automation handlers. It allows your event-triggered automation to select between different outcomes based on the committed domain event.

Can I use Wolverine and Marten to automate ride-sharing candidate selection workflows?

Yes, you can use Wolverine and Marten to automate ride-sharing candidate selection workflows by reacting to events like FareQuoted. The automation handlers select drivers based on fare quotes and decide on the final outcomes.

How do I implement an automation handler for a FareQuoted event?

To implement an automation handler for a FareQuoted event, you write a handler that reacts to the event committed to a Marten stream and selects drivers based on the fare quote data using Wolverine's event streaming capabilities.

Do I need Wolverine to handle Marten event streaming for domain events?

Yes, this Skill integrates Wolverine with Marten event streaming to handle committed domain events. Wolverine provides the automation handler framework that reacts to the events stored in the Marten stream.