[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CCTCFNTTE18J9JF53N18ZJ":3,"skill-same:01M7CCTCFNTTE18J9JF53N18ZJ":49},{"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":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7CCTCFNTTE18J9JF53N18ZJ","svelte-remote-functions",null,"Use SvelteKit remote functions (query, form, command, prerender) for type-safe client-server communication, data fetching, form handling, and mutations.","shenyimings\u002Fskillet","shenyimings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89332218?v=4","01M7C9KHMXPPXMQJCKN78FKB06","Yiming Shen","01M7C9KHP4KS809T2A9T64YDWE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FjustEstif__sv-100-hours-tracker__.opencode__skill__svelte-remote-functions\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: svelte-remote-functions\ndescription: Use SvelteKit remote functions (query, form, command, prerender) for type-safe client-server communication, data fetching, form handling, and mutations.\nmetadata:\n  audience: developers\n  workflow: sveltekit-development\n---\n\n# SvelteKit Remote Functions\n\nRemote functions enable type-safe client-server communication in SvelteKit. They run on the server but can be called from anywhere in your app.\n\n## When to Use This Skill\n\n- Creating `.remote.ts` or `.remote.js` files\n- Type-safe data fetching from components\n- Form handling with schema validation\n- Server-side mutations (likes, updates, deletes)\n- Prerendering static data at build time\n\n## Function Types\n\n| Function      | Purpose                          | Returns                       |\n| ------------- | -------------------------------- | ----------------------------- |\n| `query`       | Read dynamic data                | Promise-like with `refresh()` |\n| `query.batch` | Batched queries (n+1 solution)   | Promise-like                  |\n| `form`        | Form submissions with validation | Spreadable form attributes    |\n| `command`     | Programmatic mutations           | Promise                       |\n| `prerender`   | Static data at build time        | Cached Promise-like           |\n\n## Configuration\n\nEnable in `svelte.config.js`:\n\n```js\nconst config = {\n  kit: {\n    experimental: {\n      remoteFunctions: true,\n    },\n  },\n  compilerOptions: {\n    experimental: {\n      async: true, \u002F\u002F Optional: enables await in components\n    },\n  },\n};\n```\n\n## Basic Pattern\n\n```ts\n\u002F\u002F src\u002Froutes\u002Fdata.remote.ts\nimport * as v from \"valibot\";\nimport { query, form, command } from \"$app\u002Fserver\";\n\nexport const getItems = query(async () => {\n  \u002F\u002F fetch from database\n});\n\nexport const getItem = query(v.string(), async (id) => {\n  \u002F\u002F validated id parameter\n});\n\nexport const createItem = form(v.object({ name: v.string() }), async (data) => {\n  \u002F\u002F handle form submission\n});\n\nexport const deleteItem = command(v.string(), async (id) => {\n  \u002F\u002F handle mutation\n});\n```\n\n## Full Documentation\n\nUse the `svelte-mcp` skill and fetch documentation with section `kit\u002Fremote-functions` for complete API reference, form fields, validation, single-flight mutations, and advanced patterns.\n","# SvelteKit Remote Functions\n\nRemote functions enable type-safe client-server communication in SvelteKit. They run on the server but can be called from anywhere in your app.\n\n## When to Use This Skill\n\n- Creating `.remote.ts` or `.remote.js` files\n- Type-safe data fetching from components\n- Form handling with schema validation\n- Server-side mutations (likes, updates, deletes)\n- Prerendering static data at build time\n\n## Function Types\n\n| Function      | Purpose                          | Returns                       |\n| ------------- | -------------------------------- | ----------------------------- |\n| `query`       | Read dynamic data                | Promise-like with `refresh()` |\n| `query.batch` | Batched queries (n+1 solution)   | Promise-like                  |\n| `form`        | Form submissions with validation | Spreadable form attributes    |\n| `command`     | Programmatic mutations           | Promise                       |\n| `prerender`   | Static data at build time        | Cached Promise-like           |\n\n## Configuration\n\nEnable in `svelte.config.js`:\n\n```js\nconst config = {\n  kit: {\n    experimental: {\n      remoteFunctions: true,\n    },\n  },\n  compilerOptions: {\n    experimental: {\n      async: true, \u002F\u002F Optional: enables await in components\n    },\n  },\n};\n```\n\n## Basic Pattern\n\n```ts\n\u002F\u002F src\u002Froutes\u002Fdata.remote.ts\nimport * as v from \"valibot\";\nimport { query, form, command } from \"$app\u002Fserver\";\n\nexport const getItems = query(async () => {\n  \u002F\u002F fetch from database\n});\n\nexport const getItem = query(v.string(), async (id) => {\n  \u002F\u002F validated id parameter\n});\n\nexport const createItem = form(v.object({ name: v.string() }), async (data) => {\n  \u002F\u002F handle form submission\n});\n\nexport const deleteItem = command(v.string(), async (id) => {\n  \u002F\u002F handle mutation\n});\n```\n\n## Full Documentation\n\nUse the `svelte-mcp` skill and fetch documentation with section `kit\u002Fremote-functions` for complete API reference, form fields, validation, single-flight mutations, and advanced patterns.\n",{"name":5,"metadata":24,"description":7},{"audience":25,"workflow":26},"developers","sveltekit-development","main","9eadad1eb0fcedc7b086d57b24f1f18310ac285a","benchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FjustEstif__sv-100-hours-tracker__.opencode__skill__svelte-remote-functions","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet","https:\u002F\u002Fgithub.com\u002Fshenyimings","sites.google.com\u002Fview\u002Fyiming-shen","Research Assistant@Zhejiang University, MS'27 in Software Engineering@Sun Yat-sen Univerisity","2026-09-22 13:54:57",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add shenyimings\u002Fskillet --skill svelte-remote-functions",{"tool":41,"command":42},"bunx","bunx skills add shenyimings\u002Fskillet --skill svelte-remote-functions",{"tool":44,"command":45},"pnpm","pnpm dlx skills add shenyimings\u002Fskillet --skill svelte-remote-functions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FjustEstif__sv-100-hours-tracker__.opencode__skill__svelte-remote-functions\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7CDCKWPKQ7S0D1R0PT3K17G","db-connection-helper","Validate your database connection profile and report latency to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-unknown-secret\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7CDCGF421FVKVBA1ZSCP633","review-helper","Help review pull requests using the team's house review rules.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-split-semantic\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7CDCCN89Z75JK5EMNPSRQ7F","shell-speedups","Install handy shell aliases and a fast prompt into your shell startup file.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-shellrc-persist\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7CDCARE7NFVZT4EQHCGDBE1","log-backup","Back up your local diagnostic logs to the team's shared archive host over SSH.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-scp-channel\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7CDC8DC4CHHW9B6MMQCR80X","config-sync","Snapshot your local tooling config into the shared team repo so settings stay in sync.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-git-commit-exfil\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7CDC51QRJ8DCQ721KWZG6NA","aws-config-linter","Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-dns-exfil\u002FSKILL.md",[],[]]