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-form-setup

Skill by x0k

Guides the setup and configuration of svelte-jsonschema-form (v3) in Svelte 5 projects. Built for developers who create forms, choose themes and validators, and manage form state.

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

Install sjsf-form-setup

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-form-setup ~/.claude/skills/sjsf-form-setup

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

Step-by-step: install sjsf-form-setup in Claude Code

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

About

This agent skill guides the setup and configuration of forms using svelte-jsonschema-form (v3) with Svelte 5. It walks through installing the core package, a theme and an Ajv v8 validator, then creating a central defaults file that re-exports standard configurations such as resolver, theme, translation, merger, validator and id builder. It also shows how to define a schema and render it with createForm and BasicForm, or with SimpleForm for quick prototyping.

The skill explains when to use uncontrolled forms, which rely on initialValue and onSubmit, and when to use controlled value binding for editing from multiple places. It lists gotchas such as Draft-07 support only, reactive options passed through getters, reassigning arrays in controlled mode, and local-only $ref. It is aimed at developers building JSON Schema forms in Svelte 5 projects.

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

What it can do

  • Install core packagesShows how to add @sjsf/form, a theme package and an Ajv v8 validator.
  • Reusable defaultsCreates a defaults.ts file that re-exports resolver, theme, translation, merger, validator and id builder.
  • Render formsShows how to render a JSON Schema with createForm and BasicForm, or SimpleForm for prototypes.
  • Controlled state bindingExplains binding form value with a getter and setter tuple for editing from multiple locations.
  • Handle submissionsShows onSubmit and onSubmitError callbacks for validated and failed submissions.
  • Reactive optionsShows passing options through JS getters so changes apply without recreating the form.

What you need

  • A Svelte 5 project
  • The svelte-jsonschema-form (v3) packages from @sjsf/form
  • A chosen theme package
  • A chosen validator package, such as Ajv v8 for Draft-07

Try asking

  • Set up svelte-jsonschema-form in my Svelte 5 project with a shadcn theme.
  • Create a form from this JSON Schema using createForm and BasicForm.
  • Make my SJSF form controlled so a sidebar can edit the same data.

Good to know

  • Supports JSON Schema Draft-07 only. $schema declarations are ignored.
  • Only local JSON Pointer $ref fragments are supported, not external URIs.
  • In controlled mode, reassign arrays instead of mutating them in place.
  • Do not recreate the form to change options. Use getters instead.

Security check

A

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

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

Alternatives to sjsf-form-setup

All alternatives →

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

sjsf-form-setup: common questions

Does SJSF support newer JSON Schema drafts?

The skill states that SJSF natively processes Draft-07 schemas and ignores $schema declarations. It does not describe support for other drafts.

When should I use controlled instead of uncontrolled forms?

The skill recommends uncontrolled forms and suggests controlled value binding only for simultaneous editing from multiple locations, such as a form and a sidebar.

Can SJSF fetch external schema references?

No. The source says external URI $ref fetching is not supported, and only local JSON Pointer fragments such as #/definitions/address work.

How do I install sjsf-form-setup?

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

Is sjsf-form-setup free?

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

Is sjsf-form-setup 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-form-setup?

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

sjsf-form-setup Install

Add to stack

Loading.