svelte-code-writer

Generate, analyze, and fix Svelte components via CLI-guided commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps Svelte developers accelerate the creation of components and the documentation of Svelte code by providing CLI-guided writing and analysis that integrates with the Svelte tooling.

Core Features & Use Cases

  • CLI-guided coding: Use the Svelte Code Writer to generate, analyze, and fix code for .svelte and .svelte.ts/.svelte.js files.
  • Documentation lookup: List sections and fetch full documentation for Svelte features and APIs to inform development.
  • Quality assurance: Run autofixors and lint-like checks to improve code quality and consistency across Svelte projects.

Quick Start

Start by listing the Svelte 5 sections with npx @sveltejs/mcp list-sections, then fetch documentation for relevant sections with npx @sveltejs/mcp get-documentation "<section1>,<section2>,..." and finally improve your code with npx @sveltejs/mcp svelte-autofixer "<path-or-code>".

Frequently Asked Questions about svelte-code-writer

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

FAQPage Schema
How do I generate and document Svelte components faster using CLI?

You can accelerate Svelte component creation and documentation by using CLI-guided commands to generate, analyze, and autofix code across .svelte and .svelte.ts/.svelte.js files. It integrates directly with Svelte tooling for rapid development.

How do I retrieve Svelte 5 documentation sections for specific APIs?

You can retrieve Svelte 5 documentation by first listing available sections with a CLI command, then fetching the full documentation for your desired APIs by passing the section names to the retrieval command.

Can I automatically fix common code issues in .svelte and .svelte.ts files?

Yes, you can automatically fix common code issues in .svelte and .svelte.ts/.svelte.js files by running an autofixer command that performs lint-like checks to improve code quality and consistency.

Do I need Node.js to use the Svelte CLI for code analysis and documentation?

Yes, Node.js is required to run the Svelte CLI tooling. The tool is invoked via npx and is designed to run within a file-editor context to achieve the best results for code analysis and generation.

What is the best way to run lint-like checks for Svelte projects?

The best way to run lint-like checks for Svelte projects is using the integrated autofixer command, which analyzes your code paths and automatically applies fixes to improve quality and consistency across your files.

Are there limitations when running the Svelte autofixer outside a file-editor context?

The Svelte autofixer is designed to run in a file-editor context for best results. Running it outside this environment may limit its ability to effectively apply autofixes and analyze your .svelte and .svelte.ts files.