migrate-frontend-forms

Installation
SKILL.md

Form Migration Guide

This skill helps migrate forms from Sentry's legacy form system (JsonForm, FormModel) to the new TanStack-based system.

Feature Mapping

Old System New System Notes
saveOnBlur: true AutoSaveForm Default behavior
confirm confirm prop string | ((value) => string | undefined)
showHelpInTooltip variant="compact" On layout components
disabledReason disabled="reason" String shows tooltip
extraHelp JSX in layout Render <Text> below field
getData mutationFn Transform data in mutation function
mapFormErrors setFieldErrors Transform API errors in catch block
saveMessage onSuccess Show toast in mutation onSuccess callback
formatMessageValue onSuccess Control toast content in onSuccess callback
resetOnError onError Call form.reset() in mutation onError
saveOnBlur: false useScrapsForm Use regular form with explicit Save button
Related skills
Installs
57
GitHub Stars
43.8K
First Seen
Feb 20, 2026