stitch-svelte-components

stitch-svelte-components is a skill for Claude Code from gabelul/stitch-kit. It costs 65 tokens per session (2,922 once invoked), scanned A, original, Apache-2.0.

A converter that turns a Stitch screen, local HTML file, or website URL into Svelte 5 or SvelteKit components. SvelteKit is a framework for building web applications with Svelte.

In plain words
What is it for?
Use it when the target project is a SvelteKit or Svelte 5 app, or when you need to convert an HTML source into reusable .svelte components.
Why use it?
It saves you from rewriting the page by hand and produces code suited to Svelte 5 projects, including scoped styling, TypeScript, animations, dark mode, and accessible markup.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the stitch-kit plugin — 36 skills, 1 agent, 2 hooks shipped together

Good fit Use it when the target project is a SvelteKit or Svelte 5 app, or when you need to convert an HTML source into reusable .svelte components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gabelul/stitch-kit/stitch-svelte-components
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gabelul/stitch-kit --skill stitch-svelte-components
Clone the repo
git clone --depth 1 https://github.com/gabelul/stitch-kit

Made for: Claude Code.

Or install stitch-kit, the plugin that ships this one along with the rest of its 36 skills, 1 agent, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stitch-svelte-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/gabelul/stitch-kit/stitch-svelte-components.svg)](https://agentmods.dev/skills/gabelul/stitch-kit/stitch-svelte-components)
Your own site
<a href="https://agentmods.dev/skills/gabelul/stitch-kit/stitch-svelte-components"><img src="https://agentmods.dev/badge/skills/gabelul/stitch-kit/stitch-svelte-components.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,922 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.02922
Opus 5 $0.00032 $0.01461
Sonnet 5 $0.00013 $0.00584
Haiku 4.5 $0.00006 $0.00292

Measured 8d ago against content hash cdc5fab9a6a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

stitch-svelte-components scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch-stitch.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/stitch-svelte-components/SKILL.md · 317 lines

How it starts

The opening of the file, as written. The whole thing — 317 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stitch → Svelte 5 / SvelteKit Components

You are a Svelte 5 engineer. You convert HTML sources — Stitch screens, local files, or URLs — into idiomatic Svelte components — using the runes API ($state, $props, $derived, $effect), not the legacy Options API. Components use scoped CSS with custom properties for theming, built-in Svelte transitions for animation, and accessible markup by default.

Note: This is the only Stitch skill that targets Svelte. The official react-components skill targets Vite/React. Use this skill when the project uses SvelteKit.

When to use this skill

Use this skill when:

  • The target project uses SvelteKit or Svelte 5 standalone
  • You see .svelte files, svelte.config.js, or +page.svelte conventions
  • The user mentions svelte, sveltekit, $state, $props, or runes

Prerequisites

An HTML source. Any one of these works:

  • A Stitch screen — needs Stitch MCP access and a generated screen
  • A local HTML file — no Stitch account required
  • A URL — no Stitch account required

Also:

  • Target project uses Svelte 5 (runes enabled) — check package.json for "svelte": "^5"

Step 1: Resolve the source

Everything downstream reads one file: temp/source.html. Get the HTML there by whichever route matches what the user gave you, then continue at Step 2 — the rest of this skill is identical regardless of where the markup came from.

From a Stitch screen:

  1. Namespace discoverylist_tools to find the Stitch MCP prefix
  2. Fetch metadata[prefix]:get_screen for the design JSON
  3. Download HTML — GCS URLs need the reliable downloader:
    bash scripts/fetch-stitch.sh "[htmlCode.downloadUrl]" "temp/source.html"
    
  4. Visual audit — check screenshot.downloadUrl before rewriting. Append =s0 to that URL for full resolution; the bare URL serves a 512px thumbnail regardless of the width/height the API reports.

From a local HTML file:

mkdir -p temp && cp "path/to/design.html" temp/source.html

Read the full file on GitHub · 317 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 317 lines · 65 tokens per session scan A cdc5fab9a6a3

Subscribe to this mod's changes

stitch-svelte-components is a skill published in the GitHub repository gabelul/stitch-kit (44 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 65 tokens to every session and 2,922 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

tanstack-form

Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, Lit, and Svelte.

Kiranism/next-shadcn-dashboard-starter · 34 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

design-to-code

Mockup-to-component pipeline using Google Stitch, 21st.dev, and Storybook MCP. Accepts a screenshot, a description, or a URL and produces production-ready React components, checking existing Storybook components before generating anything new. Use when implementing UI from a mockup or screenshot. To call the MCP tool…

yonatangross/orchestkit · 86 tokens

bun-nuxt

Use when running Nuxt 3 with Bun runtime, building Vue/Nuxt apps with Bun, or configuring Nuxt projects to use Bun for development and production.

secondsky/claude-skills · 38 tokens

bun-sveltekit

Use when building or running SvelteKit apps on Bun, including SSR, adapters, and Bun-specific APIs.

secondsky/claude-skills · 26 tokens