sync-registry

Installation
SKILL.md

Sync Registry

Name-addressable typed records with optional TTL-backed liveness, CAS updates, and prefix queries. Server version uses Redis, browser version runs in-memory. Combines the change-streaming of ephemeral with durable key/value semantics.

Decision Guide: registry vs ephemeral

  • registry: entries can be static (no TTL) or live (with TTL). Supports get(), list() with prefix filtering, cas() for optimistic concurrency. Tombstone retention for expired entries. Best for service discovery, config, feature flags.
  • ephemeral: all entries MUST have TTL. Simpler API, no CAS, no prefix queries. Best for pure presence/session state. See sync-ephemeral skill.

Typical Pattern: Prefix Snapshot + Stream

list({ prefix: "apps/contacts/" }) → hydrate → reader({ prefix: "apps/contacts/", after: cursor }).stream() → apply events

On overflow, re-list and restart.

Key Design Rules

Related skills

More from valentinkolb/sync

Installs
4
First Seen
Mar 9, 2026