polecat-event-sourcing

Implement event sourcing and document database management with Polecat in CritterCab.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Polecat, Wolverine, Weasel.SqlServer, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a guide to using Polecat as an event store and document database within the CritterCab architecture, focusing on event sourcing and document management.

Core Features & Use Cases

  • Event Sourcing: Offers comprehensive documentation on event sourcing with Polecat, including stream identity, append strategies, and projection lifecycles.
  • Document Database: Covers the document database aspects of Polecat, including schema management and integration with Wolverine.
  • Use Case: Ideal for developers looking to implement event sourcing and document management in the Payments BC of CritterCab, leveraging SQL Server as the database.

Quick Start

Use the polecat-event-sourcing skill to understand how to set up and integrate Polecat for event sourcing in your Payments BC.

Frequently Asked Questions about polecat-event-sourcing

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

FAQPage Schema
How do I set up event sourcing with Polecat and SQL Server?

To set up event sourcing with Polecat and SQL Server, you configure Polecat as an event store within your architecture, utilizing stream identity and append strategies to manage event streams. This Skill provides documentation for integrating these patterns.

What are projection lifecycles in Polecat event sourcing?

Projection lifecycles in Polecat event sourcing define how events are transformed and queried over time. This Skill covers how to manage these lifecycles effectively within a document database architecture using SQL Server.

Does Polecat integrate with Wolverine for document database schema management?

Yes, Polecat integrates with Wolverine for document database management. This Skill details how to handle schema management and leverage Weasel.SqlServer to maintain document structures within the CritterCab architecture.

Can I use Polecat for event sourcing in a Payments bounded context?

Yes, Polecat can be used for event sourcing in a Payments bounded context. This Skill specifically guides developers on implementing event sourcing and document management within the Payments BC of the CritterCab framework.

What prerequisites are needed to manage document databases using Polecat?

Managing document databases using Polecat requires knowledge of event sourcing principles and familiarity with the CritterCab framework. You also need dependencies like Wolverine and Weasel.SqlServer for schema management.