svelte-code-writer

Analyze Svelte components and retrieve Svelte 5 documentation via the @sveltejs/mcp CLI.

Updated Apr 24, 2025
One-click install
npx skills add https://github.com/danielbush/oneput --skill svelte-code-writer-danielbush
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte-code-writer
Source: https://github.com/danielbush/oneput/tree/main/.agents/skills/svelte-code-writer
Command: npx skills add https://github.com/danielbush/oneput --skill svelte-code-writer-danielbush

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly locate Svelte 5 documentation and analyze components to improve code quality and consistency.

Core Features & Use Cases

  • Documentation lookup: Retrieve Svelte 5 and SvelteKit sections for any component.
  • Code analysis: Analyze .svelte files and related modules (.svelte.ts/.svelte.js) to suggest improvements.
  • Workflow integration: Integrate with the svelte-file-editor workflow to streamline development.

Quick Start

Provide a path to a Svelte component and ask for a documentation lookup and code analysis.

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 Svelte 5 components for code quality improvements?

You can analyze Svelte 5 components by providing a file path to trigger automated code analysis. The tool reviews .svelte files and related modules to suggest targeted improvements for better code quality.

Can I retrieve SvelteKit documentation for a specific component?

Yes, you can retrieve SvelteKit documentation for a specific component. By providing the component path, the tool fetches relevant Svelte 5 and SvelteKit documentation sections to assist your development workflow.

Do I need the Svelte MCP CLI to run documentation lookups?

Yes, you need the @sveltejs/mcp CLI installed to perform documentation lookups. A local environment configured with Svelte 5 tooling is also required to execute documentation retrieval and autofixes.

What is the best way to autofix Svelte module code?

The best way to autofix Svelte module code is using an automated analysis tool integrated with your development workflow. It reviews .svelte.ts and .svelte.js modules to apply necessary corrections.

Does Svelte code analysis work with .svelte.js and .svelte.ts files?

Yes, Svelte code analysis works with .svelte.js and .svelte.ts files. The tool analyzes these related Svelte modules alongside standard .svelte components to suggest comprehensive improvements.