Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides building forms with Sentry's new form system, using TanStack React Form, Zod validation and auto-save.
14% 95%+82 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 3 of 22 without it.
Where should core form components like `useScrapsForm`, `AutoSaveForm`, and `DisplayField` be imported from in the codebase?
Imports exclusively from the root entry point @sentry/scraps/form
This test ran on v6. v9 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
This skill provides patterns for building forms using Sentry's new form system built on TanStack React Form and Zod validation.
Always use the new form system (useScrapsForm, AutoSaveForm) for new forms. Never create new forms with the legacy JsonForm or Reflux-based systems.
All forms should be schema based. DO NOT create a form without schema validation.
All form components are exported from @sentry/scraps/form:
import {z} from 'zod';
import {
AutoSaveForm,
defaultFormOptions,
DisplayField,
setFieldErrors,
useScrapsForm,
} from '@sentry/scraps/form';
Important: DO NOT import from deeper paths, like '@sentry/scraps/form/field'. You can only use what is part of the PUBLIC interface in the index file in @sentry/scraps/form.
useScrapsFormThe main hook for creating forms with validation and submission handling.
import {z} from 'zod';
import {defaultFormOptions, useScrapsForm} from '@sentry/scraps/form';
Next to this one in the catalogue, plus more from the same author.