Cursor Rules for Svelte: The Complete Guide to AI-Assisted Svelte Development Svelte is the framework where the compiler does so much for you that the bugs are almost always shape bugs, not behavior bugs. The component renders. The reactive statement runs. The store updates. And nothing in npm run dev warns you that the $: block you wrote depends on a value the compiler can't statically see, that the onMount callback you marked async is going to set state on an unmounted component when the user navigates mid-fetch, that the global store you import in seven components is leaking subscriptions because you never called the unsubscribe function the subscribe call returned, that the +page.svelte you wrote with a top-level fetch runs on the client first and re-runs after hydration, double-firing the request and shifting layout, or that the transition:fade you sprinkled on every list item makes a 200-row table take three full seconds to mount on a mid-tier Android. The app feels fast in development. It ships.β¦