Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

state-machine

النجوم٠
التفرعات٠
آخر تحديث١٧ مايو ٢٠٢٦ في ١٥:٥١

Use when designing explicit state-machine behavior for systems with multiple modes (idle/loading/success/error, draft/submitted/approved, connected/disconnected/reconnecting), boolean-flag explosion where isLoading, isError and isSuccess drift out of sync, forms, wizards, auth flows, network protocols, embedded controllers, workflow engines, or any code/bug report where "impossible states" appear. Agent-facing design workflow: model states, events, transitions, guards, actions, and impossible states before implementation. Provides implementation references for TypeScript discriminated unions, XState v5, React useReducer, Svelte 5 runes, C, Java, and Rust. NOT for installing tools, single-boolean toggles, pure server-cache concerns better handled by TanStack Query or SWR, or stateless pure transformations.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
27 ملفات
SKILL.md
readonly