svelte-remote-functions

Community

Type-safe client-server calls for SvelteKit.

AuthorjustEstif
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Remote functions enable type-safe client-server communication in a SvelteKit app. They reduce runtime errors by validating data contracts between the client and server and streamline data fetching, forms, and mutations.

Core Features & Use Cases

  • Query: Read dynamic data from the server with type-safe validation.
  • Form: Submit forms with server-side validation and handling.
  • Command: Perform server mutations (create, update, delete) from the client.
  • Prerender: Pre-fetch and cache static data at build time for faster pages.
  • Use Case: Build dashboards that fetch user data, submit updates, and reflect changes with minimal boilerplate.

Quick Start

Install and enable remote functions in your SvelteKit project, then create sample files like src/routes/data.remote.ts using query, form, command, and prerender. Run the dev server to test type-safe endpoints.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: svelte-remote-functions
Download link: https://github.com/justEstif/sv-100-hours-tracker/archive/main.zip#svelte-remote-functions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.