frontend-svelte

frontend-svelte is a skill for Claude Code, Codex from HK-hub/AgentSkills. It costs 72 tokens per session (3,460 once invoked), scanned A, original, MIT.

A Svelte and SvelteKit development skill for building web interfaces, full-stack sites, and API routes with TypeScript. Svelte is a web framework, while SvelteKit adds routing and server features.

In plain words
What is it for?
Use it to create Svelte or SvelteKit applications, UI components, server-rendered pages, API endpoints, and stateful forms.
Why use it?
It provides guidance for organizing Svelte applications, handling forms and data, and using reusable interface components.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create Svelte or SvelteKit applications, UI components, server-rendered pages, API endpoints, and stateful forms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hk-hub/agentskills/frontend-svelte
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 HK-hub/AgentSkills --skill frontend-svelte
Clone the repo
git clone --depth 1 https://github.com/HK-hub/AgentSkills

Made for: Claude Code, Codex.

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 frontend-svelte

README.md
[![agentmods](https://agentmods.dev/badge/skills/hk-hub/agentskills/frontend-svelte/github.svg)](https://agentmods.dev/skills/hk-hub/agentskills/frontend-svelte)
Your own site
<a href="https://agentmods.dev/skills/hk-hub/agentskills/frontend-svelte"><img src="https://agentmods.dev/badge/skills/hk-hub/agentskills/frontend-svelte/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontend-svelte

Your own site · 80×15
<a href="https://agentmods.dev/skills/hk-hub/agentskills/frontend-svelte"><img src="https://agentmods.dev/badge/skills/hk-hub/agentskills/frontend-svelte.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,460 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.
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.00072 $0.03460
Opus 5 $0.00036 $0.01730
Sonnet 5 $0.00014 $0.00692
Haiku 4.5 $0.00007 $0.00346

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

Security

Grade A, and why

frontend-svelte 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 7d ago.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

frontend-svelte/SKILL.md · 480 lines

How it starts

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

Frontend Development Skill

Comprehensive skill for modern frontend development with Svelte, SvelteKit, shadcn-svelte, and the Bun ecosystem.

Technology Stack

Core Framework: Svelte + SvelteKit

Svelte Fundamentals
  • Reactive Framework: Compile-time framework that converts components into highly efficient imperative code
  • True Reactivity: Automatic dependency tracking without virtual DOM
  • Small Bundle Size: Minimal runtime overhead
  • Built-in Animations: Transition and animation directives
  • Scoped Styles: Component styles are scoped by default
SvelteKit Features
  • Full-Stack Framework: Server-side rendering (SSR), static site generation (SSG), and client-side rendering (CSR)
  • File-Based Routing: Routes defined by file system structure
  • API Routes: Build API endpoints alongside frontend code
  • Form Actions: Server-side form handling with progressive enhancement
  • Hooks: Intercept and modify requests/responses
  • Adapters: Deploy to any platform (Node, Vercel, Netlify, Cloudflare, etc.)

UI Component Library: shadcn-svelte

Overview
  • Port of shadcn/ui for Svelte
  • Accessible, customizable components built on Radix Svelte (Melt UI)
  • Copy-paste component approach (not an npm package)
  • Built with Tailwind CSS
  • TypeScript support
Key Components
  • Forms: Input, Textarea, Select, Checkbox, Radio, Switch
  • Feedback: Alert, Toast (Sonner), Dialog, Alert Dialog
  • Navigation: Button, Dropdown Menu, Tabs, Command Menu
  • Layout: Card, Separator, Accordion, Collapsible
  • Data Display: Table, Badge, Avatar, Skeleton
  • Overlays: Popover, Tooltip, Sheet, Drawer
Installation & Usage
# Initialize shadcn-svelte
bunx shadcn-svelte@latest init

# Add components as needed
bunx shadcn-svelte@latest add button
bunx shadcn-svelte@latest add card
bunx shadcn-svelte@latest add form

Package Manager: Bun

Why Bun?
  • Performance: 25x faster than npm, 4x faster than pnpm
  • All-in-One: Runtime, bundler, test runner, package manager
  • Drop-in Replacement: Compatible with npm/Node.js ecosystem
  • Built-in Testing: Vitest-compatible test runner
  • TypeScript Native: Native TypeScript support, no compilation needed

Read the full file on GitHub · 480 lines

Files

What ships with it

4 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. 7d ago First seen · 480 lines · 72 tokens per session scan A bdedc723d469

Subscribe to this mod's changes

frontend-svelte is a skill published in the GitHub repository HK-hub/AgentSkills (6 stars, last pushed 23d ago), licensed MIT. It adds 72 tokens to every session and 3,460 once invoked, about $0.0004 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-09-03.