svelte-code-writer

Analyze Svelte components for common issues and suggest fixes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @sveltejs/mcp, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of creating, editing, and analyzing Svelte components and modules by providing direct access to Svelte documentation and code analysis tools.

Core Features & Use Cases

  • Documentation Lookup: Quickly access Svelte 5 and SvelteKit documentation sections.
  • Code Analysis: Analyze Svelte code for common issues and suggest fixes.
  • Use Case: When developing a Svelte application, use this Skill to quickly reference documentation or check code for potential issues.

Quick Start

Analyze the code in your Svelte component 'Component.svelte' for common issues using the svelte-code-writer skill.

Frequently Asked Questions about svelte-code-writer

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

FAQPage Schema
How do I analyze my Svelte components for common issues?

You can analyze Svelte components for common issues by running the svelte-code-writer CLI, which inspects your code and suggests fixes. It requires the @sveltejs/mcp dependency to execute the analysis.

Can I look up Svelte 5 and SvelteKit documentation directly from my CLI?

Yes, you can look up Svelte 5 and SvelteKit documentation directly from the CLI. The skill provides immediate access to documentation sections to streamline your Svelte code analysis and development.

Do I need @sveltejs/mcp to run Svelte code analysis?

Yes, you need @sveltejs/mcp installed to run Svelte code analysis with this tool. The dependency is required for the CLI to execute documentation lookup and component issue detection.

What is the best way to find and fix common issues in Svelte modules?

The best way to find and fix common issues in Svelte modules is using a dedicated code analysis CLI. It automatically identifies problems in your Svelte components and suggests actionable fixes.

How does code analysis work for SvelteKit components?

Code analysis for SvelteKit components works by scanning your Svelte files to identify common issues. The tool then suggests fixes to help you resolve potential problems in your application.