legend-state-best-practices

Installation
SKILL.md

Legend State Best Practices

Use Legend State to put reactive ownership at the smallest useful boundary.

Verify The Surface

Before changing code:

  • Check the installed @legendapp/state version, imports, nearby store helpers, persistence setup, and tests.
  • Consult the current docs for exact signatures and version-specific migration guidance:
  • Search for existing store factories, typed field hooks, reactive components, and naming conventions before adding a new abstraction.
  • Identify values that must update rendered UI separately from values read only by commands, callbacks, native bridges, or async work.

This skill is policy, not an API reference. Prefer the installed version's source and types when docs and code differ.

Choose The Mode

Installs
424
GitHub Stars
37
First Seen
Jul 17, 2026
legend-state-best-practices — legendapp/legend-skills