[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79S5B4YBEPYC42Z201M7JJ2":3,"skill-same:01M79S5B4YBEPYC42Z201M7JJ2":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M79S5B4YBEPYC42Z201M7JJ2","svelte-core-bestpractices",null,"Svelte 5 core best practices. Use when creating, editing, or reviewing .svelte, .svelte.ts, or .svelte.js files. Routes to deeper Svelte skills.","ro-56\u002Frepo-dashboard","ro-56","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F31988896?v=4","01M79S3TVE085R308S56XHHEZR","Rodrigo","01M79S3TW2BPEPVX31R3RCZJ96",0,"MIT","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsvelte-core-bestpractices\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: svelte-core-bestpractices\n# prettier-ignore\ndescription: \"Svelte 5 core best practices. Use when creating, editing, or reviewing .svelte, .svelte.ts, or .svelte.js files. Routes to deeper Svelte skills.\"\nmetadata:\n  last_updated: \"2026-05-31\"\n  verified_against: \"Svelte 5 official docs and sveltejs\u002Fsvelte#18282\"\n---\n\n\u003C!-- Inspired by the official Svelte AI `svelte-core-bestpractices` skill: https:\u002F\u002Fsvelte.dev\u002Fdocs\u002Fai\u002Fskills -->\n\n# Svelte Core Best Practices\n\nUse this as the baseline for any Svelte 5 component\u002Fmodule work, then load the focused skill for details.\n\n## Core Rules\n\n- Use runes mode for new code: `$state`, `$derived`, `$effect`, `$props`, `$bindable`.\n- Only use `$state` for values that affect template output, `$derived`, or `$effect`.\n- Use `$state.raw` for large objects\u002Farrays that are replaced wholesale, especially API payloads.\n- Prefer `$derived`\u002F`$derived.by` over writing state inside `$effect`.\n- Treat props as changing over time; derive values from props with `$derived`.\n- Use `onclick={...}` and other event properties, not legacy event directives.\n- Use snippets and `{@render ...}` for component content.\n- Use `{let ...}` \u002F `{const ...}` declaration tags for local markup variables; `{@const ...}` is legacy syntax.\n- Use keyed `{#each}` blocks; never use array indexes as keys.\n- Use CSS custom properties and `style:` for dynamic styling.\n- Prefer class arrays\u002Fobjects in `class={...}` for conditional classes.\n- Use `createContext` for typed context instead of module-level shared state.\n- Use `{@attach ...}` for DOM\u002Fthird-party integrations tied to an element.\n\n## Load Deeper Skills\n\n- Reactivity, props, bindable state → `svelte-runes`\n- Snippets, `{@attach}`, global events, each blocks → `svelte-template-directives`\n- Scoped CSS, custom properties, classes → `svelte-styling`\n- Component libraries, forms, web components → `svelte-components`\n- SvelteKit load\u002Factions\u002Frouting\u002Ferrors → `sveltekit-data-flow`, `sveltekit-structure`\n- Remote functions → `sveltekit-remote-functions`\n- Deployment\u002Fbuild\u002Flibrary\u002FPWA → `svelte-deployment`\n\n## Notes\n\n- Effects do not run on the server; don't wrap effect bodies in `if (browser)`.\n- Use `$inspect.trace(label)` to debug unexpected reactivity.\n- Async Svelte features require the relevant experimental config.\n- **Last verified:** 2026-05-31","\u003C!-- Inspired by the official Svelte AI `svelte-core-bestpractices` skill: https:\u002F\u002Fsvelte.dev\u002Fdocs\u002Fai\u002Fskills -->\n\n# Svelte Core Best Practices\n\nUse this as the baseline for any Svelte 5 component\u002Fmodule work, then load the focused skill for details.\n\n## Core Rules\n\n- Use runes mode for new code: `$state`, `$derived`, `$effect`, `$props`, `$bindable`.\n- Only use `$state` for values that affect template output, `$derived`, or `$effect`.\n- Use `$state.raw` for large objects\u002Farrays that are replaced wholesale, especially API payloads.\n- Prefer `$derived`\u002F`$derived.by` over writing state inside `$effect`.\n- Treat props as changing over time; derive values from props with `$derived`.\n- Use `onclick={...}` and other event properties, not legacy event directives.\n- Use snippets and `{@render ...}` for component content.\n- Use `{let ...}` \u002F `{const ...}` declaration tags for local markup variables; `{@const ...}` is legacy syntax.\n- Use keyed `{#each}` blocks; never use array indexes as keys.\n- Use CSS custom properties and `style:` for dynamic styling.\n- Prefer class arrays\u002Fobjects in `class={...}` for conditional classes.\n- Use `createContext` for typed context instead of module-level shared state.\n- Use `{@attach ...}` for DOM\u002Fthird-party integrations tied to an element.\n\n## Load Deeper Skills\n\n- Reactivity, props, bindable state → `svelte-runes`\n- Snippets, `{@attach}`, global events, each blocks → `svelte-template-directives`\n- Scoped CSS, custom properties, classes → `svelte-styling`\n- Component libraries, forms, web components → `svelte-components`\n- SvelteKit load\u002Factions\u002Frouting\u002Ferrors → `sveltekit-data-flow`, `sveltekit-structure`\n- Remote functions → `sveltekit-remote-functions`\n- Deployment\u002Fbuild\u002Flibrary\u002FPWA → `svelte-deployment`\n\n## Notes\n\n- Effects do not run on the server; don't wrap effect bodies in `if (browser)`.\n- Use `$inspect.trace(label)` to debug unexpected reactivity.\n- Async Svelte features require the relevant experimental config.\n- **Last verified:** 2026-05-31",{"name":5,"metadata":24,"description":7},{"last_updated":25,"verified_against":26},"2026-05-31","Svelte 5 official docs and sveltejs\u002Fsvelte#18282","main","eefc243af407341b8f16e77cc9900c45fb6f0ee0","src\u002F.claude\u002Fskills\u002Fsvelte-core-bestpractices","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard","https:\u002F\u002Fgithub.com\u002Fro-56","2026-08-04 20:24:30",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ro-56\u002Frepo-dashboard --skill svelte-core-bestpractices",{"tool":39,"command":40},"bunx","bunx skills add ro-56\u002Frepo-dashboard --skill svelte-core-bestpractices",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ro-56\u002Frepo-dashboard --skill svelte-core-bestpractices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsvelte-core-bestpractices\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M79S5ZXJP8335YHKWK5CDJ3G","sveltekit-structure","SvelteKit structure guidance. Use for routing, layouts, error handling, SSR, or svelte:boundary. Covers file naming, nested layouts, error boundaries, pending UI, and hydration.","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsveltekit-structure\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M79S5W324WD1G026FNQ67AD8","sveltekit-data-flow","SvelteKit data flow guidance. Use when working with load functions, form actions, server\u002Fclient boundaries, serialization, or invalidation.","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsveltekit-data-flow\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79S5RE6GTCEH06PV4P1RB42","svelte-template-directives","Svelte template directive guidance. Use when working with snippets, attachments, dynamic HTML, declaration tags, debugging tags, or global DOM events.","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsvelte-template-directives\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79S5MSBD8R46CFB0YEYSZ1P","svelte-styling","Svelte CSS styling patterns. Use for scoped styles, CSS custom properties, style: directive, :global, or styling child components.","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsvelte-styling\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79S5H8XB5DA46FFM02PTBJD","svelte-runes","Implement Svelte 5 runes correctly. Use for reactive state, props, effects, $state.raw, $derived.by, $props, and $bindable.","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsvelte-runes\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79S5DHAT20HYC8HAFRT09V8","svelte-layerchart","Build Svelte LayerChart components. Use for tooltip snippets, Chart context access, gradients, highlights, axes, and Svelte 5 snippet patterns.","https:\u002F\u002Fgithub.com\u002Fro-56\u002Frepo-dashboard\u002Fblob\u002Fmain\u002Fsrc\u002F.claude\u002Fskills\u002Fsvelte-layerchart\u002FSKILL.md",[],[]]