svelte/migration/assessment

Inventory Svelte stores and runes to classify state for Redux migration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Migrating a Svelte application from stores and runes to Redux requires knowing exactly what state exists, who consumes it, and whether it belongs in shared Redux slices or component-local state. This Skill performs that assessment phase before any code is written, preventing overmigration and missed side effects. ## Core Features & Use Cases - Store Inventory: Searches the repository for writable, readable, derived, $state, $derived, and $effect usage and records findings as structured evidence. - State Classification: Applies a decision framework that routes shared, persisted, async, or business-logic state to Redux while keeping ephemeral UI state component-local. - Migration Planning Table: Produces a per-store table of state fields, derived values, side effects, consumers, and verdicts that downstream migration skills consume. - Use Case: Before migrating a cart feature, run the assessment to discover that cart.store.svelte.ts has localStorage sync and three consumers, yielding a Redux verdict routed to the writable-stores, derived-stores, and side-effects migration skills. ## Quick Start Audit the Svelte stores in src/ and produce a migration assessment table classifying each store as Redux or component-local.

Frequently Asked Questions about svelte/migration/assessment

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

FAQPage Schema
How do I plan a Svelte store to Redux migration?▼

Start by inventorying all stores with searches for writable, readable, derived, $state, and $derived across src/. Then classify each store's state fields, derived values, side effects, and consumers to decide what moves to Redux before writing any code.

When should Svelte state move to Redux versus stay local?▼

Move state to Redux when it is read or written by multiple components, persists across navigation, involves async operations, drives business logic, or syncs with external sources. Keep ephemeral UI state like hover, focus, and toggles component-local.

How do I find all Svelte stores in a repository?▼

Use find for *.store.svelte.ts and *.store.ts files, then grep for writable, readable, and derived in .ts and .svelte files, plus $state and $derived in .store.svelte.ts files. Record results as structured inventory records.

What happens to Svelte derived stores during Redux migration?▼

Derived values from derived() or $derived are routed to selector migration, where they become composed selectors such as selectCartTotal. The assessment records each derived value's dependencies and target selector for the derived-stores migration skill.

What are the risks of overmigrating Svelte state to Redux?▼

Overmigration happens when single-component ephemeral UI state, like a hover flag used only by one component, is moved into a Redux slice. This adds unnecessary boilerplate; such state should remain component-local instead.