svelte-code-writer

Retrieve Svelte 5 documentation and autofix .svelte code with validation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Removes friction from writing, analyzing, and correcting Svelte 5 code by providing targeted documentation lookup and automated issue detection.

Core Features & Use Cases

  • Svelte 5 documentation lookup via CLI: Find the right API section(s) and retrieve authoritative guidance before changing code.
  • Deterministic code analysis with Svelte Autofixer: Detect common problems and suggest fixes for Svelte components and modules (including runes).
  • Workflow validation before shipping: Enforces a “validate before finalizing” loop so .svelte and .svelte.ts/.svelte.js code stays consistent with Svelte 5 expectations.

Quick Start

Run the Svelte autofixer on your component code to get fix suggestions before you finalize the change.

Frequently Asked Questions about svelte-code-writer

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

FAQPage Schema
How do I fix common syntax errors in Svelte 5 components?

You can fix Svelte 5 syntax errors by running an automated Svelte autofixer to detect common problems and suggest corrections for your .svelte files before finalizing changes.

How do I look up Svelte 5 documentation for runes and SvelteKit?

You can look up Svelte 5 documentation by using CLI commands to list relevant API sections and retrieve authoritative guidance on topics like runes and SvelteKit before modifying your code.

Does Svelte 5 autofixer work with .svelte.ts and .svelte.js module files?

Yes, the Svelte 5 autofixer works with Svelte module files, analyzing and correcting code in both .svelte.ts and .svelte.js formats, including rune-based syntax and version targeting.

What is the best way to validate Svelte 5 runes syntax before shipping?

The best way to validate Svelte 5 runes syntax is to use a workflow that enforces a validation loop, applying an autofixer with proper escaping for $ runes to ensure code consistency before finalizing.

Why does my Svelte 5 code analysis fail when handling $ runes?

Svelte 5 code analysis may fail handling $ runes if proper escaping is not applied during the autofixer execution, which is required to accurately validate and correct rune-based syntax.