Agent skill · Svelte

Svelte Best Practices skill for Claude Code, Codex and Cursor

Guidance for modern Svelte code: reactivity, events, styling and library integration.

Officialname: svelte-core-bestpractices★ 334 (repo)pushed 2026-10-23MITSKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

Guidance on writing fast, robust, modern Svelte code. Load this skill whenever in a Svelte project and asked to write/edit or analyze a Svelte component or module. Covers reactivity, event handling, styling, integration with libraries and more.

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install Svelte Best Practices

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add sveltejs/ai-tools --skill svelte-core-bestpractices

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

What's in the SKILL.md

14 sections
  • $state
  • $derived
  • $effect
  • $props
  • $inspect.trace
  • #key block
  • Events
  • Snippets
  • Each blocks
  • Using JavaScript variables in CSS
  • Styling child components
  • Context
  • Async Svelte
  • Avoid legacy features

Bundled files

9
  • references/attach.md
  • references/await-expressions.md
  • references/bind.md
  • references/each.md
  • references/hydratable.md
  • references/inspect.md
  • references/render.md
  • references/snippet.md
  • references/svelte-reactivity.md

Loaded only when the instructions point to them.

Facts

Skill name
svelte-core-bestpractices
Publisher
Svelte (official)
Repo
sveltejs/ai-tools
License
MIT
SKILL.md size
952 words, 176 lines
Bundled files
9, 9 docs
Repo stars
334 (as of 2026-10-24)
SKILL.md checked
2026-11-07

Pairs with the Svelte MCP server: the server gives the agent the tools, the skill teaches it how to use them.

More skills from sveltejs/ai-tools

  • Svelte Code Writer: CLI tools for looking up Svelte 5 docs and analyzing components while writing Svelte code.

Related frontend & design skills

FAQ

What does the svelte-core-bestpractices skill do?+

Guidance for modern Svelte code: reactivity, events, styling and library integration. In its own SKILL.md, Svelte describes it as: "Guidance on writing fast, robust, modern Svelte code. Load this skill whenever in a Svelte project and asked to write/edit or analyze a Svelte component or module. Covers reactivity, event handling, styling, integration with libraries and more."

How do I install the svelte-core-bestpractices skill?+

Run npx skills add sveltejs/ai-tools --skill svelte-core-bestpractices and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/svelte-core-bestpractices/SKILL.md; in Codex and Cursor in .agents/skills/svelte-core-bestpractices/.

Does Svelte Best Practices work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.

Who maintains Svelte Best Practices?+

Svelte, the company or project behind it, in the sveltejs/ai-tools repo on GitHub, last pushed 2026-10-23. License: MIT.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers