svelte
Skill by EpicenterHQ
Applies Epicenter's Svelte 5 patterns for runes, components, lifecycles, and workspace-backed state. Built for developers editing .svelte, .svelte.ts, or Svelte UI state in Epicenter projects.
Install svelte
Built from the published package, never by AI.
git clone --depth 1 https://github.com/EpicenterHQ/epicenter /tmp/epicenter && mkdir -p ~/.claude/skills && cp -r /tmp/epicenter/.agents/skills/svelte ~/.claude/skills/svelteRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/EpicenterHQ/epicenter /tmp/epicenter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/epicenter/.agents/skills/svelte ~/.gemini/antigravity-cli/skills/svelteAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The svelte skill is a set of coding guidelines from EpicenterHQ for Svelte 5 work. It tells the assistant which runes to prefer, such as $state, $state.raw and $derived, and how to handle props, snippets, $bindable, and component lifecycles. It also covers reactive collections like SvelteMap and SvelteSet, when to place TanStack Query mutations, and when to use local @epicenter/ui components.
The guidance points to official Svelte, shadcn-svelte and TanStack Query docs for verification, and optionally to DeepWiki for upstream questions. It links to related skills for query layers, error handling, styling and UI design. It is aimed at developers working on .svelte, .svelte.ts, or Svelte UI state in Epicenter projects.
Written from the project's SKILL.md and checked against it.
What it can do
- Svelte 5 runes guidanceExplains when to use $state, $state.raw, and $derived, and why $effect is a browser-only escape hatch.
- Props and bindingsGuides prop ownership, callback props, and $bindable for intentional two-way APIs.
- SnippetsPrefers snippets and {@render} over slots in new Svelte 5 code.
- Reactive collectionsCovers SvelteMap and SvelteSet for ID-keyed collections and reactive id sets.
- Workspace store readsDescribes reading Epicenter store data through fromData from @epicenter/svelte.
- External event bridgingRecommends createSubscriber from svelte/reactivity for non-store event sources.
- Lifecycle and readinessAdvises on {#key}, {#await}, and effect cleanup for keyed resources and async readiness.
- TanStack Query mutationsPlaces mutations in .svelte files and calls mutation.mutate directly from template handlers.
- Legacy API avoidanceLists Svelte 5 legacy patterns to avoid in runes-mode code, such as export let and on: directives.
- DOM attachmentsPrefers {@attach} over new use: actions for reusable DOM behavior.
Try asking
- Refactor this component to use $derived instead of an $effect.
- Convert this component's slots to snippets and {@render}.
- Replace this hand-rolled $state and listener with createSubscriber.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/svelte/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to svelte
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
svelte: common questions
Which Svelte version does this skill target?
It targets Svelte 5 and its runes, as stated in the skill's Svelte 5 baseline section.
When should I use $state.raw instead of $state?
Use $state.raw for values that are only reassigned wholesale, such as large arrays or replace-only persisted stores. It stores by reference and does not create a deep proxy.
Does this skill cover TanStack Query?
Yes. It covers where to create mutations and how to call mutation.mutate from template handlers, and it points to the TanStack Svelte Query docs for checking mutation lifecycle details.
How do I install svelte?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is svelte free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is svelte safe to use?
It scores 77 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to svelte?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
