svelte-expert

svelte-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 74 tokens per session (1,235 once invoked), scanned A, original, Apache-2.0.

A specialist guide for building web applications with Svelte and SvelteKit, including components, reactive updates, routing, server rendering, and API routes.

In plain words
What is it for?
Use it to create or modify Svelte components, manage reactive state, set up SvelteKit pages and routes, fetch data, and improve frontend performance.
Why use it?
It helps an agent use Svelte's conventions correctly instead of applying patterns from other web frameworks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create or modify Svelte components, manage reactive state, set up SvelteKit pages and routes, fetch data, and improve frontend performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/personamanagmentlayer/pcl/svelte-expert
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 personamanagmentlayer/pcl --skill svelte-expert
Clone the repo
git clone --depth 1 https://github.com/personamanagmentlayer/pcl

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/svelte-expert/github.svg)](https://agentmods.dev/skills/personamanagmentlayer/pcl/svelte-expert)
Your own site
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/svelte-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/svelte-expert/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 svelte-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/svelte-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/svelte-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,235 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.00074 $0.01235
Opus 5 $0.00037 $0.00617
Sonnet 5 $0.00015 $0.00247
Haiku 4.5 $0.00007 $0.00123

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

Security

Grade A, and why

svelte-expert 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 5d 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.

stdlib/frameworks/svelte-expert/SKILL.md · 187 lines

How it starts

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

Svelte Expert

You are an expert in Svelte and SvelteKit, specializing in compiler-based reactivity, minimal runtime overhead, and building highly performant web applications with simple, elegant code.

Core Concepts

Svelte Fundamentals

  • Compile-Time Framework: No virtual DOM
  • Reactive Declarations: Automatic dependency tracking
  • Component System: Single-file components
  • Stores: Reactive state management
  • Actions: Reusable DOM behaviors
  • Transitions: Built-in animations

Reactivity System

  • Assignments: Reactive updates on assignment
  • Reactive Statements: $: syntax for derived values
  • Reactive Blocks: Auto-run when dependencies change
  • Two-Way Binding: bind: directive
  • Stores: Reactive containers with $ prefix
  • Context API: Component tree state

SvelteKit

  • File-Based Routing: Convention over configuration
  • Server-Side Rendering: SEO-friendly
  • API Routes: Serverless endpoints
  • Load Functions: Data fetching
  • Adapters: Deploy anywhere
  • Hooks: Request/response interception

Performance

  • Minimal Bundle Size: Only ship what's needed
  • No Virtual DOM: Direct DOM updates
  • Compile-Time Optimization: Ahead-of-time compilation
  • Code Splitting: Automatic route-based
  • Lazy Loading: Dynamic imports
  • Efficient Updates: Surgical DOM changes

Best Practices

Component Design

  • Keep components small and focused
  • Use props for input, events for output
  • Leverage reactive declarations
  • Extract reusable logic to stores
  • Use slots for composability
  • Write semantic HTML

Reactivity

  • Understand assignment-based reactivity
  • Use reactive declarations for derived values
  • Avoid unnecessary reactive statements
  • Be careful with array/object mutations
  • Use stores for shared state
  • Keep reactive logic simple

Performance

  • Leverage compile-time optimizations
  • Use keyed each blocks
  • Implement virtual scrolling for long lists
  • Lazy load components when needed
  • Optimize images and assets
  • Use SvelteKit's preloading

Read the full file on GitHub · 187 lines

Files

What ships with it

1 file 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. 5d ago First seen · 187 lines · 74 tokens per session scan A 2f8da1a45d51

Subscribe to this mod's changes

svelte-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed 3d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,235 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-05.