Toolverse
All skills

svelte-migrate

by temporalio

Migrate a Svelte 4 component to Svelte 5 runes syntax. Use when asked to migrate, convert, or upgrade a .svelte file to Svelte 5.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Frontend
Views
7

About this skill

Migrate a Svelte 4 component to Svelte 5 runes syntax. Use when asked to migrate, convert, or upgrade a .svelte file to Svelte 5.

How to use

  1. Przygotuj plik komponentu Svelte 4, który chcesz migrować. Upewnij się, że masz dostęp do ścieżki pliku.

  2. Poproś narzędzie o migrację, podając ścieżkę do pliku .svelte. Możesz użyć słów kluczowych takich jak "migrate", "convert" lub "upgrade".

  3. Narzędzie automatycznie przekształci deklaracje props z export let na interfejs Props z $props(). Zmienne eksportowane jako aliasy (export { x as y }) zostaną włączone do interfejsu.

  4. Zmienne stanu (let) będące zmiennymi reaktywnymi zostaną opakowane w $state(). Jeśli zmienna nie jest modyfikowana ani mutowana, pozostanie bez zmian.

  5. Reaktywne instrukcje ($:) zostaną zamienione na $derived() dla prostych wyrażeń lub $derived.by() dla złożonych bloków logiki.

  6. Przejrzyj wygenerowany kod i upewnij się, że typy TypeScript w interfejsie Props są poprawne. Jeśli komponent ma złożone pochodne wartości, sprawdź czy $derived.by() prawidłowo oddaje logikę.

Related skills

shadcn-ui-setup

by maneeshanif

Install and configure Shadcn/ui component library with Radix UI primitives, Aceternity UI effects, set up components, and manage the component registry. Use when adding Shadcn/ui to a Next.js project or installing specific UI components for Phase 2.

Frontend
23167

svg-precision

by dkyazzentwatwa

Deterministic SVG generation, validation, and rendering. Use for icons, diagrams, charts, UI mockups, or technical drawings requiring structural correctness and cross-viewer compatibility.

Frontend
233466

shadcn-ui

by josechifflet

shadcn/ui component patterns for Next.js 16 applications. This skill should be used when adding UI components, customizing component styles, composing primitives, or integrating forms with react-hook-form. Covers installation, customization, composition patterns, and

Frontend
157206

game-development

by davila7

Game development orchestrator. Routes to platform-specific skills based on project needs.

Frontend
36112

interactive-dashboard-builder

by anthropics

Build self-contained interactive HTML dashboards with Chart.js, dropdown filters, and professional styling. Use when creating dashboards, building interactive reports, or generating shareable HTML files with charts and filters that work without a server.

Frontend
2298

angular

by sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern

Frontend
2656