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-v2-migration

Skill by x0k

Guides developers through migrating svelte-jsonschema-form projects from v2 (Svelte 4 stores) to v3 (Svelte 5 runes). It covers package names, the defaults file, removed form properties and custom components.

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

Install sjsf-v2-migration

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-v2-migration ~/.claude/skills/sjsf-v2-migration

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

Step-by-step: install sjsf-v2-migration in Claude Code

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

About

This skill guides migration of existing projects from svelte-jsonschema-form v2, which uses Svelte 4 stores, to v3, which uses Svelte 5 runes. It walks through updating package names and dependencies, such as moving from shadcn-theme to shadcn4-theme and sveltekit to sveltekit3. It also covers the defaults file, where the validator is created with createFormValidator.

It explains how to replace removed form properties like form.value, form.errors, form.context and getSnapshot with helpers such as getValueSnapshot. It shows how to convert legacy export let components to $props() with $bindable(), and how to pass reactive options with JS getters. It is aimed at developers upgrading SJSF codebases from v2 to v3.

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

What it can do

  • Update package names and dependenciesLists v2 packages to remove and v3 packages to install, such as shadcn4-theme and sveltekit3.
  • Update defaults.tsShows the v3 defaults setup, including createFormValidator and the modern merger and id builder, with a legacy option for drop-in migration.
  • Replace removed form propertiesMaps form.value, form.errors, form.context and getSnapshot to v3 helpers like getValueSnapshot and getFieldErrorsByPath.
  • Upgrade custom components to runesConverts export let components to Svelte 5 $props() with $bindable() and a typed UiOptions declaration.
  • Use getters for reactive optionsShows how to pass reactive schema options to createForm with JS getters instead of stores.

What you need

  • An existing svelte-jsonschema-form v2 project
  • Svelte 5
  • pnpm, as used in the install commands

Try asking

  • Migrate my svelte-jsonschema-form project from v2 to v3
  • Replace form.value and form.errors in my SJSF code with v3 helpers
  • Convert my export let SJSF custom widget to Svelte 5 $props()

Good to know

  • The full breaking changes checklist is in a linked reference file that is not part of this source.
  • Covers the v2 to v3 upgrade only.

Security check

A

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

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

Alternatives to sjsf-v2-migration

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

sjsf-v2-migration: common questions

What changed between svelte-jsonschema-form v2 and v3?

v2 used Svelte 4 stores and v3 uses Svelte 5 runes, so createForm now returns a plain reactive FormState object. Several properties like form.value and getSnapshot were removed.

How do I read form values in SJSF v3?

Use getValueSnapshot(form) from @sjsf/form for a snapshot. For reactive state, pass a value getter and setter pair to createForm.

Do I need to change my shadcn theme package in v3?

Yes, the guide says to remove @sjsf/shadcn-theme and install @sjsf/shadcn4-theme. It also lists other renamed packages such as flowbite3-theme and skeleton5-theme.

How do I install sjsf-v2-migration?

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

Is sjsf-v2-migration free?

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

Is sjsf-v2-migration 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-v2-migration?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

sjsf-v2-migration Install

Add to stack

Loading.