Skip to content
Kitbay

generate-frontend-forms

NOASSERTIONUpdated on Nov 11, 202645,751GitHub stars

A maintainer skill in Sentry's own repository for building forms in Sentry's frontend with its newer form system, built on TanStack Form and Zod and imported only from Sentry's internal scraps form package.

What the skill teaches

A maintainer skill in Sentry's own repository for building forms in Sentry's frontend with its newer form system, built on TanStack Form and Zod and imported only from Sentry's internal scraps form package. It covers the form hook and its field components, stacked and row layouts, read-only display fields and custom fields, and sets rules: every form has a schema, default options come first, disabled fields give a reason, nullable required fields follow one pattern, server errors are mapped to fields before display, and submissions go through TanStack Query mutations. Auto-save settings pages show inline status instead of toasts and must update the cache. Older form systems must not be used for new forms.

Capabilities

  • Build forms with Sentry's scraps form system
  • Validate fields with Zod schemas
  • Map server errors to form fields
  • Set up auto-save settings forms