What it does
A Cursor rules file that tells the AI the project uses Svelte 5 rather than Svelte 4. It explains runes such as $state, $derived and $effect, snippets with render tags, and event handlers written as standard HTML attributes, with before and after examples.
Use cases
- 01Replace reactive declarations with $derived
- 02Write click handlers as onclick attributes
- 03Convert a Svelte 4 component to runes