svelte-code-writer
CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (`.svelte`) or Svelte module (`.svelte.ts`/`.svelte.js`). If possible, this skill should be executed within the `svelte-file-editor` subagent for optimal results.
Install
With your agent
Install OMGSkills skill "sveltejs/ai-tools:svelte-code-writer" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/sveltejs/ai-tools /tmp/ai-tools && ln -s /tmp/ai-tools/tools/skills/svelte-code-writer ~/.claude/skills/svelte-code-writer
From README
CLI tools You have access to @sveltejs/mcp CLI for Svelte-specific assistance. Use these commands via npx: List documentation sections Lists all available Svelte 5 and SvelteKit documentation sections with titles and paths. Get documentation Retrieves full documentation for specified sections. Use after list-sections to fetch relevant docs. Example: Svelte autofixer Analyzes Svelte code and suggests fixes for common issues. Options: --async - Enable async Svelte mode (default: false) --svelte-version - Target version, ideally the full version from package.json (e.g. 5.16.0) so version-specific suggestions are enabled. The major must be 4 or 5 (default: 5) Examples: Important: When passing code with runes ($state, $derived, etc.) via the terminal, escape the $ character as \$ to prevent shell variable substitution. Workflow Uncertain about syntax? Run list-sections then get-documentation for relevant topics Reviewing/debugging?
