·using-remote-functions
</>

using-remote-functions

使用远程函数创建 SvelteKit 组件以实现类型安全的客户端-服务器通信。在构建需要获取数据、提交表单或执行服务器命令的组件时使用。远程功能在组件级别工作,而不是页面级别。

11安装·1热度·@svelte-society

安装

$npx skills add https://github.com/svelte-society/sveltesociety.dev --skill using-remote-functions

如何安装 using-remote-functions

通过命令行快速安装 using-remote-functions AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/svelte-society/sveltesociety.dev --skill using-remote-functions
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:svelte-society/sveltesociety.dev。

SKILL.md

查看原文

Remote Functions are a SvelteKit feature for type-safe client-server communication. They run on the server but can be called from any component.

Put as little as possible in +page.svelte, as much as possible in data.remote.ts.

Build final data structures server-side. Pages should be pure renderers that map types to components.

使用远程函数创建 SvelteKit 组件以实现类型安全的客户端-服务器通信。在构建需要获取数据、提交表单或执行服务器命令的组件时使用。远程功能在组件级别工作,而不是页面级别。 来源:svelte-society/sveltesociety.dev。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/svelte-society/sveltesociety.dev --skill using-remote-functions
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from svelte-society/sveltesociety.dev

快速解答

什么是 using-remote-functions?

使用远程函数创建 SvelteKit 组件以实现类型安全的客户端-服务器通信。在构建需要获取数据、提交表单或执行服务器命令的组件时使用。远程功能在组件级别工作,而不是页面级别。 来源:svelte-society/sveltesociety.dev。

如何安装 using-remote-functions?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/svelte-society/sveltesociety.dev --skill using-remote-functions 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/svelte-society/sveltesociety.dev

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25