What problem does it solve? Porting the Svelte 5 compiler to Rust requires proof that rsvelte produces output equivalent to the official compiler on real-world codebases. Manually cloning external Svelte tools and apps, swapping in the Rust compiler, running their test suites, and diffing results is slow and error-prone. ## Core Features & Use Cases - Submodule-based target ingestion: Adds or updates external Svelte repositories as git submodules pinned to the latest stable tag, then classifies them as tool-type or app-type via automated usage analysis. - Compiler swap and dual-run verification: Builds the rsvelte NAPI binding, injects a Node.js loader that redirects svelte/compiler imports to rsvelte, and compares test results or per-file compiled output (canonicalized via OXC) against the official compiler baseline. - Automated regression fixing: On mismatch, creates a minimal reproduction in the pattern corpus, delegates a fix to an agent mirroring the official compiler implementation, validates with fmt/clippy/tests, and iterates until zero failures. - Use Case: Run /verify-svelte-compat https://github.com/sveltejs/kit to confirm rsvelte compiles every .svelte file in SvelteKit identically to the official compiler, automatically fixing any divergence on the rsvelte side. ## Quick Start Run /verify-svelte-compat with a GitHub URL or an existing submodule name to verify that repository against rsvelte.