setup

Bootstrap Redux state management with themis Store families in Svelte, React, or Node apps.

6|6|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/intent-hq/cloudlands-fe --skill setup-intent-hq
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: setup
Source: https://github.com/intent-hq/cloudlands-fe/tree/main/.agents/skills/themis/setup
Command: npx skills add https://github.com/intent-hq/cloudlands-fe --skill setup-intent-hq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @augmentcode/themis, redux, redux-saga, typed-redux-saga, fast-equals.

What problem does it solve? Setting up Redux-style state management with sagas requires choosing the right store implementation for your UI framework, and mixing incompatible selector patterns (Svelte readables, React signals, Kefir observables) causes subtle bugs. This Skill guides first-time or greenfield themis setup by enforcing a single Store family decision before any wiring begins. ## Core Features & Use Cases - Store-family decision gate: Routes to Store (Svelte), ReactStore (React), or StreamingStore (Node/server/CLI/test) based on concrete evidence in the target app, keeping the three families mutually exclusive. - Canonical setup walkthrough: Covers dependency installation, store creation with reducer maps, root layout initialization with store.init(), explicit saga startup via store.runSaga(), and a working counter slice example with actions, reducers, selectors, and sagas. - Verification and debugging: Provides family-specific verification steps and Svelte devtools inspection via window.svelteRedux after store.initDevTool(). - Use Case: You are starting a new SvelteKit app and need Redux with sagas. The Skill walks you through installing @augmentcode/themis, creating src/lib/store/store.ts, wiring the root +layout.svelte, and verifying a counter slice end to end. ## Quick Start Ask the AI to set up themis Redux state management in your Svelte, React, or Node project, starting with choosing the correct Store family for the app.

Frequently Asked Questions about setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Redux with redux-saga in a SvelteKit app?▼

Install @augmentcode/themis with redux, redux-saga, typed-redux-saga, and fast-equals, then create a Store instance with your reducer map in src/lib/store/store.ts. Call store.init() in your root +layout.svelte with onDestroy(dispose), and start sagas explicitly with store.runSaga() from onMount.

What is the difference between Store, ReactStore, and StreamingStore in themis?▼

Store targets Svelte apps and its selectors return Svelte readables used with $ syntax. ReactStore targets React apps and selectors return Preact signals with a .useValue() fallback. StreamingStore targets Node, server, CLI, and test paths, returning Kefir observables that consumers subscribe to and unsubscribe during teardown.

Can I mix Svelte Store and ReactStore in the same app?▼

No, the three Store families are mutually exclusive within one app, package, or code path. You must not import more than one of Store, ReactStore, and StreamingStore into the same setup path or mix Svelte $selector reads with React .useValue() or Kefir observables.

Why is my themis saga not running after store.init()?▼

store.init() starts only the internal saga manager, not application sagas. Each app saga must be started explicitly by calling store.runSaga(yourSaga) after init, typically from onMount in the root layout or from a bootstrap owner that retains the returned cancel function.

Which themis Store family should I use for a Node.js service or CLI?▼

Use StreamingStore from @augmentcode/themis/streaming-store for Node services, server routes, background workers, CLIs, scripts, and test harnesses. Its selectors return Kefir observables, and the process or test owner is responsible for initializing the store and unsubscribing during teardown.