CLI tools for Svelte 5 documentation lookup and code analysis with built-in autofixer.
Works with
Three core commands: list-sections to browse available docs, get-documentation to fetch full documentation for specific topics, and svelte-autofixer to analyze code and suggest fixes
Autofixer supports Svelte 4 and 5 targeting via --svelte-version flag and async mode via --async option
Accepts both inline code (with escaped $ characters) and file paths for analysis
Designed for use within the sv
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionsvelte-code-writerExecute the skills CLI command in your project's root directory to begin installation:
Fetches svelte-code-writer from sveltejs/ai-tools and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate svelte-code-writer. Access via /svelte-code-writer in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
1
total installs
1
this week
225
GitHub stars
0
upvotes
Run in your terminal
1
installs
1
this week
225
stars
You have access to @sveltejs/mcp CLI for Svelte-specific assistance. Use these commands via npx:
npx @sveltejs/mcp list-sections
Lists all available Svelte 5 and SvelteKit documentation sections with titles and paths.
npx @sveltejs/mcp get-documentation "<section1>,<section2>,..."
Retrieves full documentation for specified sections. Use after list-sections to fetch relevant docs.
Example:
npx @sveltejs/mcp get-documentation "$state,$derived,$effect"
npx @sveltejs/mcp svelte-autofixer "<code_or_path>" [options]
Analyzes Svelte code and suggests fixes for common issues.
Options:
--async - Enable async Svelte mode (default: false)--svelte-version - Target version: 4 or 5 (default: 5)Examples:
# Analyze inline code (escape $ as \$)
npx @sveltejs/mcp svelte-autofixer '<script>let count = \$state(0);</script>'
# Analyze a file
npx @sveltejs/mcp svelte-autofixer ./src/lib/Component.svelte
# Target Svelte 4
npx @sveltejs/mcp svelte-autofixer ./Component.svelte --svelte-version 4
Important: When passing code with runes ($state, $derived, etc.) via the terminal, escape the $ character as \$ to prevent shell variable substitution.
list-sections then get-documentation for relevant topicssvelte-autofixer on the code to detect issuessvelte-autofixer before finalizing any Svelte componentPrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
asyrafhussin/agent-skills
shadcn/improve
anthropics/claude-code
mblode/agent-skills
github/awesome-copilot
leonxlnx/taste-skill
Registry listing for svelte-code-writer matched our evaluation — installs cleanly and behaves as described in the markdown.
svelte-code-writer is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in svelte-code-writer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend svelte-code-writer for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Solid pick for teams standardizing on skills: svelte-code-writer is focused, and the summary matches what you get after install.
svelte-code-writer reduced setup friction for our internal harness; good balance of opinion and flexibility.
We added svelte-code-writer from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
svelte-code-writer reduced setup friction for our internal harness; good balance of opinion and flexibility.
svelte-code-writer is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in svelte-code-writer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 28