CLI Diagnostic Tool
"
svelte-doctoris a comprehensive CLI diagnostic tool that analyzes Svelte codebases for security vulnerabilities, performance bottlenecks, and architectural issues.It provides a 0-100 health score with actionable, line-specific diagnostics across 33+ rules covering correctness, performance, security, accessibility, and SvelteKit best practices.
Features include AI-powered auto-fix integration, Svelte 4→5 automated migration, live watch mode, and dependency health checks.
It's built with TypeScript and Bun for maximum performance."
Svelte-specific features:
- AST-free codemod engine for Svelte 4→5 migrations (slots →
@render, export let →$props, reactive statements → runes)- Custom Svelte AST walker for template analysis
- Runes mode detection and legacy pattern recognition
- 33 lint rules specifically designed for Svelte/SvelteKit patterns
- Real-time file watching with incremental re-scanning