svelte-code-writer
Installation
Summary
CLI tools for Svelte 5 documentation lookup and code analysis with built-in autofixer.
- Three core commands:
list-sectionsto browse available docs,get-documentationto fetch full documentation for specific topics, andsvelte-autofixerto analyze code and suggest fixes - Autofixer supports Svelte 4 and 5 targeting via
--svelte-versionflag and async mode via--asyncoption - Accepts both inline code (with escaped
$characters) and file paths for analysis - Designed for use within the svelte-file-editor agent when creating, editing, or analyzing
.sveltecomponents and.svelte.ts/.svelte.jsmodules
SKILL.md
Svelte 5 Code Writer
CLI Tools
You have access to @sveltejs/mcp CLI for Svelte-specific assistance. Use these commands via npx:
List Documentation Sections
npx @sveltejs/mcp list-sections
Lists all available Svelte 5 and SvelteKit documentation sections with titles and paths.
Get Documentation
npx @sveltejs/mcp get-documentation "<section1>,<section2>,..."
Related skills