svelte-code-writer

Fetches Svelte 5 documentation and analyzes components via MCP CLI.

3|1|Updated Jun 3, 2025
One-click install
npx skills add https://github.com/Tobbe3108/GoPayShortcuts --skill svelte-code-writer-tobbe3108
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte-code-writer
Source: https://github.com/Tobbe3108/GoPayShortcuts/tree/main/.opencode/skills/svelte-code-writer
Command: npx skills add https://github.com/Tobbe3108/GoPayShortcuts --skill svelte-code-writer-tobbe3108

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly locate and reference Svelte 5 documentation and analyze Svelte components.

Core Features & Use Cases

  • Documentation lookup: fetch and list Svelte sections and topics via the MCP CLI.
  • Documentation retrieval: obtain full docs for selected sections to inform implementation.
  • Code analysis: run automated checks and improvements on Svelte components to ensure best practices.

Quick Start

Use the MCP CLI to explore Svelte docs and analyze code.

  • npx @sveltejs/mcp list-sections
  • npx @sveltejs/mcp get-documentation "<section1>,<section2>,..."
  • npx @sveltejs/mcp svelte-autofixer "<code_or_path>"

Frequently Asked Questions about svelte-code-writer

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

FAQPage Schema
How do I access Svelte 5 documentation directly from my command line?

You can fetch Svelte 5 documentation using the MCP CLI. Running `npx @sveltejs/mcp list-sections` lists available topics, and `npx @sveltejs/mcp get-documentation` retrieves full docs for specified sections to inform your implementation.

What's the best way to run automated code quality checks on Svelte components?

Run automated code quality checks on Svelte components using `npx @sveltejs/mcp svelte-autofixer`. Provide your component code or file path to apply best practices and automatically fix common issues.

Do I need Node.js installed to use the Svelte MCP CLI for documentation lookup?

Yes, you need a Node.js and npm environment to use the Svelte MCP CLI. The tool operates via `npx`, which requires Node.js to execute commands for fetching Svelte 5 documentation and running code analysis.

Can I analyze SvelteKit workflow components using this documentation and code analysis tool?

Yes, you can analyze SvelteKit workflow components. The tool runs automated checks and improvements on Svelte components, ensuring best practices are followed within Svelte projects and SvelteKit workflows.

How does the Svelte MCP autofixer handle component code analysis?

The Svelte MCP autofixer analyzes component code passed as a string or file path. It runs automated checks against Svelte best practices and applies improvements to ensure your components meet quality standards.