state-reactions

Installation
SKILL.md

State Reactions

Comparable to: Firebase onSnapshot, Convex mutations

Key Concepts

Use the concepts below when they fit the task. Not every state reaction needs all of them.

  • A state trigger fires whenever a value changes within a watched scope
  • The handler receives { new_value, old_value, key, event_type } describing the change
  • condition_function_id gates execution — the reaction only fires if the condition returns truthy
  • Multiple reactions can independently watch the same scope
  • Reactions fire on state::set, state::update, and state::delete operations

Architecture

Installs
3
Repository
iii-hq/skills
GitHub Stars
7
First Seen
Mar 23, 2026
state-reactions — iii-hq/skills