svelte-code-writer

Provides CLI tools for Svelte 5 documentation lookup and code analysis.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/Chrizpy/royalletters --skill svelte-code-writer-chrizpy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte-code-writer
Source: https://github.com/Chrizpy/royalletters/tree/main/.agents/skills/svelte-code-writer
Command: npx skills add https://github.com/Chrizpy/royalletters --skill svelte-code-writer-chrizpy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides essential command-line tools for looking up Svelte 5 documentation and analyzing/fixing Svelte code, ensuring code quality and adherence to best practices.

Core Features & Use Cases

  • Documentation Lookup: Access Svelte 5 and SvelteKit documentation sections for syntax, features, and API details.
  • Code Analysis & Fixing: Automatically identify and suggest fixes for common issues in Svelte components and modules.
  • Use Case: When developing a new Svelte component and unsure about the correct syntax for $state or $derived runes, use this Skill to quickly find the relevant documentation and then run an autofix to ensure your code is correct.

Quick Start

Use the svelte-code-writer skill to list documentation sections.

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 documentation for $state or $derived runes?

Look up Svelte 5 documentation by retrieving specific sections for syntax and API details regarding $state or $derived runes. This documentation lookup utility provides quick access to relevant Svelte and SvelteKit feature explanations.

Can I automatically fix common issues in Svelte components?

You can automatically fix common issues in Svelte components by running the code analysis and autofixer utility, which identifies problems and suggests fixes to ensure code quality and best practices.

How do I analyze Svelte code to ensure it follows best practices?

Analyze Svelte code to ensure best practices by using the code analysis tool to automatically identify issues within Svelte components and modules, then apply suggested fixes for improved code quality.

Does this tool support SvelteKit documentation and module analysis?

Yes, this tool supports SvelteKit documentation retrieval and module analysis. It facilitates the creation, editing, and analysis of both Svelte components and modules within your project.

What is the best way to find correct syntax for new Svelte components?

The best way to find correct syntax for new Svelte components is to list and retrieve specific documentation sections via the CLI, providing exact API details and feature explanations for Svelte 5.