Skip to main content
Manusで任意のスキルを実行
ワンクリックで

svelte-best-practices

スター3
フォーク0
更新日2026年5月4日 07:19

Apply Svelte 5 best practices when authoring Svelte islands inside this Astro repo. Covers runes ($state, $derived, $effect, $props, $bindable), component anatomy, snippets vs slots, event handlers, scoped styles, sharing state across islands via .svelte.ts modules, the Astro↔Svelte boundary (props serialization, no .astro imports), hydration directives, and TypeScript. Use when writing or reviewing .svelte / .svelte.ts files, designing an interactive widget for a page, deciding between a plain .astro component and a Svelte island, or porting an existing Hugo-era interactive script (search/filter UIs, toggles, modals) to a Svelte component.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

ファイルエクスプローラー
4 ファイル
SKILL.md
readonly