Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

svelte-core-bestpractices

Skill by SikandarJODD

Gives an AI assistant guidance on writing fast, robust, modern Svelte code. It is for developers working in Svelte projects who write, edit or analyze components or modules.

  • Score 69
  • 95 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install svelte-core-bestpractices

Built from the published package, never by AI.

git clone --depth 1 https://github.com/SikandarJODD/sv-table /tmp/sv-table && mkdir -p ~/.claude/skills && cp -r /tmp/sv-table/.github/skills/svelte-core-bestpractices ~/.claude/skills/svelte-core-bestpractices

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install svelte-core-bestpractices in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill, published by SikandarJODD, is a set of best-practice guidance for Svelte code. It tells the assistant when to use runes such as $state, $derived and $effect, and how to handle props, events, snippets, keyed each blocks, styling, context and async features. It also lists legacy Svelte features and the modern replacements to prefer.

The skill is meant to be loaded whenever the assistant is working in a Svelte project and is asked to write, edit or analyze a Svelte component or module. It is aimed at Svelte developers who want their code to follow current runes-based patterns instead of older syntax such as export let, stores or on:click.

Written from the project's SKILL.md and checked against it.

What it can do

  • Reactivity guidanceExplains when to use $state, $state.raw, $derived and $derived.by instead of effects.
  • Effect usage rulesAdvises avoiding effects and suggests alternatives such as attachments, event handlers and $inspect.
  • Props handlingRecommends treating props as changeable and using $derived for values that depend on them.
  • Event handlingShows how on-prefixed attributes work and how to attach listeners to window or document.
  • Snippets and each blocksCovers reusable markup with snippets and using keyed each blocks for better performance.
  • Styling guidanceExplains passing JS values to CSS custom properties and styling child components.
  • Context and asyncRecommends createContext over shared state modules and describes await expressions in Svelte 5.36 or higher.
  • Legacy replacementsLists older Svelte features and the modern replacement to use for each.

What you need

  • A Svelte project
  • Svelte 5.36 or higher for await expressions
  • experimental.async enabled in svelte.config.js for await expressions

Try asking

  • Refactor this Svelte component to use $derived instead of $effect for computed values
  • Review my Svelte module and suggest runes-mode improvements
  • Convert this component's export let props and on:click handlers to modern Svelte 5 syntax

Good to know

  • Await expressions and hydratable features are not yet considered fully stable.
  • Await expressions require the experimental.async option in svelte.config.js.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .github/skills/svelte-core-bestpractices/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to svelte-core-bestpractices

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

svelte-core-bestpractices: common questions

Does this skill work with any Svelte version?

The source says await expressions need Svelte 5.36 or higher. The general guidance targets runes mode and modern Svelte 5 syntax.

When should I use $state.raw instead of $state?

The source says to use $state.raw for large objects that are only reassigned rather than mutated, such as API responses.

Should I use stores or context in Svelte?

The source recommends classes with $state fields to share reactivity between components instead of stores, and suggests context to scope state to the part of the app that needs it.

How do I install svelte-core-bestpractices?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is svelte-core-bestpractices free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is svelte-core-bestpractices safe to use?

It scores 69 of 100. Grades: maintenance B, licence A, quality B. 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-core-bestpractices?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

svelte-core-bestpractices Install

Add to stack

Loading.