Svelte Code Writer

Use the Svelte CLI to check any Svelte component or module that you create, edit, or analyze.

chattocorp 760cff5 831 B Updated

File contents

Svelte Code Checks

Follow svelte-core-bestpractices for Svelte patterns. Use svelte-docs for documentation.

Run the autofixer when reviewing or debugging Svelte code, and before returning changes to a .svelte, .svelte.ts, or .svelte.js file:

mise x -- npx @sveltejs/mcp svelte-autofixer ./path/to/Component.svelte

Use --svelte-version 4 only for Svelte 4 code. Use --async when checking async Svelte mode. Fix the cause of reported warnings.

Prefer a file path to inline source. If inline source contains $ runes, use shell single quotes. Do not add backslashes to runes inside single quotes.

chattocorp/chatto/tree/main/.agents/skills/svelte-code-writer commit 760cff539b

Frequently asked questions

npx skillmds@latest add chattocorp/svelte-code-writer