FreeRules, agents & hooks
TypeScript, React and Node.js rules
- 174174 downloads
- 225225 likes
- 237237 saves
- Cursor
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to write or migrate Svelte 5 components with runes
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install svelte-5-runes-migration-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor applies these guidelines to Svelte components: it replaces $: reactive declarations and on: directives with $state, $derived, $effect and onclick attributes, then uses snippets and render tags for repeated markup. The text compares each point between Svelte 4 and Svelte 5, with before and after examples.
Mostly picked by
Updated November 2, 2026
You say
“Convert this counter component from Svelte 4 to Svelte 5 runes.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« svelte-5-vs-svelte-4-cursorrules-prompt-file » (PatrickJS, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…