svelte-code-writer

Look up Svelte 5 documentation and analyze Svelte component code via CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/curiousanthony/supabase-sveltekit --skill svelte-code-writer-curiousanthony
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte-code-writer
Source: https://github.com/curiousanthony/supabase-sveltekit/tree/main/.agents/skills/svelte-code-writer
Command: npx skills add https://github.com/curiousanthony/supabase-sveltekit --skill svelte-code-writer-curiousanthony

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides command-line tools to help developers look up Svelte 5 documentation and analyze Svelte component code for potential issues.

Core Features & Use Cases

  • Documentation Lookup: Access Svelte 5 and SvelteKit documentation sections directly from the CLI.
  • Code Analysis & Fixing: Automatically identify and suggest fixes for common problems in Svelte components.
  • Use Case: When unsure about the correct syntax for Svelte 5 runes like $state, use the get-documentation command to fetch the relevant docs, and then use svelte-autofixer to ensure your component code is clean and correct.

Quick Start

Use the svelte-code-writer skill to get documentation for the $state and $effect runes.

Frequently Asked Questions about svelte-code-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I look up Svelte 5 runes documentation directly from the CLI?

You can look up Svelte 5 runes documentation directly from the CLI by using the documentation lookup command to fetch relevant Svelte 5 and SvelteKit docs sections for syntax details like $state.

Can I automatically analyze and fix common issues in Svelte components?

You can automatically analyze and fix issues in Svelte components using the svelte-autofixer command, which identifies common problems in .svelte files and suggests fixes to ensure your code remains clean and correct.

Does the Svelte 5 code analysis tool require any specific MCP dependencies?

Yes, the Svelte 5 code analysis tool requires the @sveltejs/mcp dependency for Svelte-specific assistance, and it integrates with the svelte-file-editor agent to provide enhanced results when editing .svelte components.

What Svelte file types are supported by the CLI code analysis tool?

The CLI code analysis tool supports Svelte component files with the .svelte extension and Svelte modules with the .svelte.ts or .svelte.js extensions, allowing you to create, edit, and analyze both components and modules.

What is the best way to ensure correct Svelte 5 syntax when editing components?

The best way to ensure correct Svelte 5 syntax is to fetch the relevant documentation using the CLI lookup command and then run the code analysis tool to automatically identify and suggest fixes for syntax errors in your components.

Why should I use a CLI tool for Svelte code analysis instead of manual checking?

Using a CLI tool for Svelte code analysis automatically identifies common problems and suggests fixes for Svelte 5 components, significantly reducing manual checking effort while ensuring your code adheres to current syntax standards.