svelte-code-writer

Look up Svelte 5 documentation and analyze Svelte code with an autofixer.

2|1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/zajca/zfaktury --skill svelte-code-writer-zajca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte-code-writer
Source: https://github.com/zajca/zfaktury/tree/main/.agents/skills/svelte-code-writer
Command: npx skills add https://github.com/zajca/zfaktury --skill svelte-code-writer-zajca

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides quick access to Svelte 5 documentation and automates the process of identifying and fixing common issues in Svelte components and modules.

Core Features & Use Cases

  • Documentation Lookup: Retrieve specific sections of Svelte 5 and SvelteKit documentation.
  • Code Analysis & Fixing: Automatically analyze Svelte code for errors and suggest fixes.
  • Use Case: When unsure about the correct syntax for Svelte 5 runes, use this skill to look up the documentation and then run the code fixer to ensure your component is error-free.

Quick Start

Use npx @sveltejs/mcp get-documentation "$state,$derived,$effect" to fetch relevant documentation.

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 for $state and $derived?

To look up Svelte 5 runes documentation, you can retrieve specific sections using the CLI. Running a command like npx @sveltejs/mcp get-documentation with the desired rune names fetches the relevant Svelte 5 and SvelteKit documentation content directly.

How do I fix common errors in Svelte 5 components and modules?

You can fix errors in Svelte 5 components and modules by running an automated code analysis. The skill leverages an autofixer that analyzes .svelte and .svelte.ts files to identify common issues and suggest appropriate fixes.

What is the best way to ensure my SvelteKit code uses the correct syntax?

The best way to ensure correct SvelteKit syntax is to combine documentation lookup with automated code analysis. You can retrieve the specific Svelte 5 documentation for your syntax needs and then run the autofixer to verify your code is error-free.

Does this Svelte code autofixer work with .svelte.js and .svelte.ts files?

Yes, the Svelte code autofixer works with both .svelte components and .svelte.ts/.svelte.js modules. It is specifically designed to analyze and fix common issues across all these Svelte file types.

Why do I need a specialized tool for Svelte 5 code analysis?

You need a specialized tool for Svelte 5 code analysis because the framework introduced new paradigms like runes. This tool provides targeted access to updated Svelte 5 and SvelteKit documentation and an autofixer tailored to validate these specific component structures.