resonate-external-system-of-record-pattern-python

Official

Make external systems the source of truth

Authorresonatehq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of keeping business state consistent when durable Resonate workflows interact with external systems that have their own durability guarantees, by ensuring writes to the system of record are idempotent and authoritative.

Core Features & Use Cases

  • Idempotent writes first: Write to the external system of record before any dependent side effects to ensure a single source of truth.
  • Checkpointed interactions: Use deterministic checkpointing so external calls are durably recorded and not re-executed on replay.
  • Practical integrations: Patterns and examples for PostgreSQL, TigerBeetle/ledger systems, and HTTP/message brokers in Python-based workflows.
  • Anti-pattern guidance: Advice on avoiding in-memory, non-durable reads and on handling secondary systems (e.g., search indexes) as compensatable or best-effort writes.

Quick Start

Write to the external system of record first, wrap all I/O in ctx.run so results are checkpointed, and use an external idempotency key to avoid duplicates.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: resonate-external-system-of-record-pattern-python
Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-external-system-of-record-pattern-python

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.