Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sjsf-sveltekit

Skill by x0k

Guides integration of svelte-jsonschema-form with SvelteKit using the @sjsf/sveltekit3 package. Covers server form actions with createAction, the SvelteKitForm component and progressive enhancement. For SvelteKit developers building JSON Schema forms.

  • Score 72
  • 171 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sjsf-sveltekit

Built from the published package, never by AI.

git clone --depth 1 https://github.com/x0k/svelte-jsonschema-form /tmp/svelte-jsonschema-form && mkdir -p ~/.claude/skills && cp -r /tmp/svelte-jsonschema-form/skills/sjsf-sveltekit ~/.claude/skills/sjsf-sveltekit

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sjsf-sveltekit in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides developers through integrating svelte-jsonschema-form with SvelteKit using the @sjsf/sveltekit3 package. It shows how to install the package, define a load function and a form action with createAction in +page.server.ts, and connect client state to server metadata with createMeta and the SvelteKitForm component. It also covers the onSuccess, onFailure and onSubmitError callbacks.

The skill explains progressive enhancement, which submits a standard POST when JavaScript is disabled, and how to return custom server validation errors in a path and message format. It also points to reference files for form actions and remote functions. It is aimed at developers building SvelteKit forms from JSON Schema.

Written from the project's SKILL.md and checked against it.

What it can do

  • Server action setupShows how to define a load function and a form action with createAction in +page.server.ts.
  • Client form setupShows how to connect client state to server metadata with createMeta and SvelteKitForm.
  • Form result callbacksExplains onSuccess, onFailure and onSubmitError handling for form results.
  • Progressive enhancementExplains how forms behave as a standard POST with JavaScript disabled.
  • Server validation errorsShows how to return custom field errors from the action handler.
  • Remote functionsPoints to a reference for using remote functions without form actions.

What you need

  • Node.js with pnpm
  • A SvelteKit project
  • svelte-jsonschema-form with @sjsf/sveltekit3
  • A configured src/lib/sjsf/defaults.ts with a validator, theme and merger

Try asking

  • Set up a SvelteKit form action with createAction for my JSON Schema form
  • Wire SvelteKitForm to my page metadata using createMeta
  • Return server validation errors from my SvelteKit form action

Good to know

  • With JavaScript disabled, oneOf, anyOf, dependencies, additionalProperties and additionalItems do not expand or switch.
  • Widgets that need JavaScript, such as multiselect, do not work without it.
  • Use the ID builder from @sjsf/sveltekit3, not @sjsf/form/id-builders/modern.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/sjsf-sveltekit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to sjsf-sveltekit

All alternatives →

Compare with react-component-performance, react-component-performance or lecture-style

sjsf-sveltekit: common questions

Do I need separate schemas for client and server?

No. The source says that, unlike Superforms, the same JSON Schema Draft-07 validates both in the browser and on the SvelteKit server.

Do forms work without JavaScript?

Forms submit a standard POST with JavaScript disabled. Some features, such as oneOf, anyOf and multiselect widgets, do not work in that mode.

What name must match when setting up a form?

The identifier must match the name option, the load return key and the createMeta selector. It does not need to match the actions key.

How do I install sjsf-sveltekit?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sjsf-sveltekit free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is sjsf-sveltekit safe to use?

It scores 72 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sjsf-sveltekit?

Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.

sjsf-sveltekit Install

Add to stack

Loading.