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.
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-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/x0k/svelte-jsonschema-form /tmp/svelte-jsonschema-form && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/svelte-jsonschema-form/skills/sjsf-v2-migration ~/.gemini/antigravity-cli/skills/sjsf-v2-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
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.
