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.
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-setupRun 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-form-setup ~/.gemini/antigravity-cli/skills/sjsf-form-setupAntigravity 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 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
ANo 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 →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
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.
