Skip to content
S

svelte-core-bestpractices

Guidance on writing fast, robust, modern Svelte code

by sveltejsFree

#5023in AI Skills
0In stores

Description

svelte-core-bestpractices is an agent skill from sveltejs/ai-tools, listed on skills.sh. It gives a coding agent guidance for writing fast,…

Highlights

  • Use $state only for values that need reactivity
  • Compute derived values with $derived, not $effect
  • Use $state.raw for large objects that are reassigned
  • Guidance for writing and reviewing Svelte components

Ratings & Reviews

No ratings yet

Be the first to rate svelte-core-bestpractices.

People also visit

S

svelte5-best-practices

Svelte 5 runes, snippets, SvelteKit patterns

AI Skills
Get
S

svelte-code-writer

CLI tools for Svelte 5 documentation lookup and code analysis

AI Skills
Get
S

svelte

All things Svelte development, MCP, skills, and more

AI Skills
Get
S

shadcn-svelte

Manages shadcn-svelte components and projects

AI Skills
Get
S

Svelte MCP

The official Svelte MCP server providing docs and autofixing tools

AI Skills
Get
V

vue-expert

Builds Vue 3 components with Composition API patterns

AI Skills
Get

svelte-core-bestpractices FAQ

What does this Svelte skill do?

It gives a coding agent Svelte best practices for writing, editing and reviewing components and pages, with a focus on reactivity with the $state and $derived runes.

How do I install it?

Run: npx skills add https://github.com/sveltejs/ai-tools --skill svelte-core-bestpractices

When does the agent use it?

When the project is a Svelte project and the task is to write, edit or analyze a Svelte component or page.

Why does it recommend $state.raw?

Deeply reactive objects are proxied, which costs performance. For large objects that are only ever reassigned, such as API responses, $state.raw avoids that overhead.

Is it free?

Yes. The skill is listed on skills.sh as free and is published on GitHub.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best svelte-core-bestpractices alternatives?

Popular alternatives to svelte-core-bestpractices include svelte5-best-practices, svelte-code-writer and svelte. See all svelte-core-bestpractices alternatives

Developer Stuff

Badges