Agent skill

Svelte Code Writer

by kampsy in kampsy/ui

CLI tools for Svelte 5 documentation lookup and code analysis.

MITAuto-check passedFrontend & Design

Install Svelte Code Writer

skills CLI
$ npx skills add kampsy/ui --skill svelte-code-writer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kampsy/ui svelte-code-writer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kampsy/ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/svelte-code-writer .claude/skills/svelte-code-writer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
svelte-code-writer
GitHub stars
288
Used in
3 other repos
Token cost
~490 tokens
SKILL.md length
129 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

CLI tools for Svelte 5 documentation lookup and code analysis.

  • Works in 3 steps: Uncertain about syntax? Run… → Reviewing/debugging? Run… → Always validate - Run svelte-autofixer…
  • Tasks that involve Design systems
  • SKILL.md covers CLI tools and Workflow
  • Calls npx

What it does

Svelte Code Writer is an agent skill from kampsy/ui. CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Design systems. It works with Svelte, Tailwind CSS and SvelteKit. The repository describes itself as: A Svelte 5 UI component library, inspired by Vercel's Geist, thoughtfully designed to deliver consistent and cohesive web experiences. The licence is MIT.

When your agent uses it

  • Tasks that involve Design systems

Example prompts

  • “/svelte-code-writer”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Uncertain about syntax? Run list-sections then get-documentation for relevant topics
  2. Reviewing/debugging? Run svelte-autofixer on the code to detect issues
  3. Always validate - Run svelte-autofixer before finalizing any Svelte component

What it can do on your machine

Read from SKILL.md and the folder at commit 42fe7cc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Svelte Code Writer loads about 490 tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~490

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kampsy/ui at commit 42fe7cc, republished under its MIT licence (© kampsy). 129 words, ~490 tokens.

Download SKILL.mdSave it as .claude/skills/svelte-code-writer/SKILL.md (or your agent's skills folder).
name
svelte-code-writer
description
CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.

CLI tools

You have access to @sveltejs/mcp CLI for Svelte-specific assistance. Use these commands via npx:

List documentation sections
bash
npx @sveltejs/mcp list-sections

Lists all available Svelte 5 and SvelteKit documentation sections with titles and paths.

Get documentation
bash
npx @sveltejs/mcp get-documentation "<section1>,<section2>,..."

Retrieves full documentation for specified sections. Use after list-sections to fetch relevant docs.

Example:

bash
npx @sveltejs/mcp get-documentation "$state,$derived,$effect"
Svelte autofixer
bash
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:

bash
# 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.

Workflow

  1. Uncertain about syntax? Run list-sections then get-documentation for relevant topics
  2. Reviewing/debugging? Run svelte-autofixer on the code to detect issues
  3. Always validate - Run svelte-autofixer before finalizing any Svelte component

© kampsy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/svelte-code-writer of kampsy/ui.

Open the folder on GitHubat commit 42fe7cc

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in kampsy/ui, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Svelte Code Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Svelte Code Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Svelte Code Writer this skillkampsy/ui2883 repos~490Automated safety check: PassMIT
UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar5.7k1 repos~1.1kAutomated safety check: PassMIT
Design StyleCastor6/tactus3761 repos~2.1kAutomated safety check: PassApache-2.0
UI UX Pro Maxsundial-org/awesome-openclaw-skills6632 repos~657Automated safety check: PassNone
Tailwind CSS Patternsever-works/ever-works1583 repos~1.6kAutomated safety check: NotesAGPL-3.0
Worklog Designregisx001/Worklog261—~3.3kAutomated safety check: PassMIT

Similar skills

  • UI/UX Design System Advisor

    Galaxy-Dawn/claude-scholar

    Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.

    5.7k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Design Style

    Castor6/tactus

    A skill your agent uses whenever the user asks to build, create, design, develop, improve, or style any frontend interface or visual element.

    376 GitHub starsUsed in 1 repo~2.1k tokens
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Tailwind CSS Patterns

    ever-works/ever-works

    Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices.

    158 GitHub starsUsed in 3 repos~1.6k tokens
    Frontend & DesignAuto-check: notes
  • Worklog Design

    regisx001/Worklog

    Design and UI skill for the Worklog desktop project manager.

    261 GitHub stars~3.3k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Frontend Guide

    lightly-ai/lightly-studio

    Read before writing or reviewing any frontend code in lightlystudioview - Svelte, TypeScript, or SvelteKit files.

    896 GitHub stars~2.9k tokensUpdated today
    Frontend & DesignAuto-check passed

More from kampsy/ui

  • Kampsy UI

    kampsy/ui

    Consumer guide to build UIs with kampsy-ui (Svelte 5 + Tailwind v4, Geist-inspired).

    288 GitHub stars~3.6k tokensUpdated 9 days ago
    Auto-check passed

Questions about Svelte Code Writer

What does Svelte Code Writer do?

CLI tools for Svelte 5 documentation lookup and code analysis. Svelte Code Writer is an agent skill from kampsy/ui. CLI tools for Svelte 5 documentation lookup and code analysis.

When should I use Svelte Code Writer?

Svelte Code Writer fits situations like: tasks that involve Design systems.

How do I install Svelte Code Writer in Claude Code?

Run `npx skills add kampsy/ui --skill svelte-code-writer -a claude-code`. Or copy the skill folder (.agents/skills/svelte-code-writer in kampsy/ui) into .claude/skills/svelte-code-writer in your project. Claude Code loads it when a task matches its description.

How do I install Svelte Code Writer in Codex?

Run `npx skills add kampsy/ui --skill svelte-code-writer -a codex`. Or copy the skill folder (.agents/skills/svelte-code-writer in kampsy/ui) into .agents/skills/svelte-code-writer in your project. Codex loads it when a task matches its description.

Can I use Svelte Code Writer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kampsy/ui --skill svelte-code-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/svelte-code-writer, .gemini/skills/svelte-code-writer, .github/skills/svelte-code-writer and .opencode/skills/svelte-code-writer in your project.

What does Svelte Code Writer need to run?

Going by SKILL.md and its folder, Svelte Code Writer needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Svelte Code Writer access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Svelte Code Writer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Svelte Code Writer use?

Svelte Code Writer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Svelte Code Writer use?

About 490 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Svelte Code Writer?

Skills that share tags, products or a category with Svelte Code Writer: UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars), Design Style (Castor6/tactus, 376 stars), UI UX Pro Max (sundial-org/awesome-openclaw-skills, 663 stars) and Tailwind CSS Patterns (ever-works/ever-works, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Svelte Code Writer?

kampsy (a GitHub user) maintains it in kampsy/ui, which has 288 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 28, 2026.

Source: kampsy/ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.