generate-frontend-forms
Installation
SKILL.md
Form System Guide
This skill provides patterns for building forms using Sentry's new form system built on TanStack React Form and Zod validation.
Core Principle
-
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.
Imports
All form components are exported from @sentry/scraps/form:
import {z} from 'zod';