XState v5 Use this skill for state machine and statechart engineering first and API correctness second. This skill is v5-only . When examples, blog posts, answers, or local code smell v4-ish, translate them rather than mixing versions. Prefer local repo code and official v5 docs over generic memory. In Seed, the main repo currently uses and , especially under . Read nearby Seed machines and hooks before editing them, particularly , , , , and React usage of , , and . Your job: - choose between and - design a sound machine or actor system from messy requirements - write modern XState v5 TypeScr…