Agent skill · Audited from source
Migrate Frontend Forms
skill · getsentry/sentryNOASSERTION licenceAudited 29 Sep 2026 · source 42a3375c14f5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 42a3375c14f5 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 0 critical or high. What it does: Guide for migrating forms from the legacy JsonForm/FormModel system to the new TanStack-based form system.
Cite
Cite this page
ModelsAtlas. “Migrate Frontend Forms (getsentry/sentry)”. Retrieved 29 Sep 2026. https://modelsatlas.com/skills/getsentry/migrate-frontend-forms
Trust audit
Audit 0.4.1 · source read 29 Sep 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 2 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
MEDIUMInventory / provenanceinv.symlink · .claude/skills
.claude/skills
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · api-docs/.node-version
api-docs/.node-version
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 42a3375c14f5 · 29 Sep 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishergetsentry GitHub organizationOwner of the repository this skill is read from
- Source foldergetsentry/sentry/.agents/skills/migrate-frontend-formsThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict42a3375c14f5A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Guide for migrating forms from the legacy JsonForm/FormModel system to the new TanStack-based form system.
---
name: migrate-frontend-forms
description: Guide for migrating forms from the legacy JsonForm/FormModel system to the new TanStack-based form system.
---
# 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` | Request error adapter | Explicit for regular forms; provided for auto-save |
| `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 |
| (automatic) | `form.reset()` | Call after successful mutation if form stays on page |
| `help` | `hintText` | On layout components |
| `label` | `label` | On layout components |
| `required` | `required` | On layout + Zod schema |
## Feature Details
### confirm → `confirm` prop
**Old:**
```tsx
{
name: 'require2FA',
type: 'boolean',
confirm: {
true: 'Enable 2FA for all members?',
false: 'Allow members without 2FA?',
},
isDangerous: true,
}
```
**New:**
```tsx
<AutoSaveForm
name="require2FA"
confirm={value =>
value
? 'Enable 2FA for all members?'
: 'Allow members without 2FA?'
}
{...}
>
```
### showHelpInTooltip → `variant="compact"`
**Old:**
```tsx
{
name: 'field',
help: 'This is help text',
showHelpInTooltip: true,
}
```
**New:**
```tsx
<field.Layout.Row
label="Field"
hintText="This is help text"
variant="compact"
>
```
### disabledReason → `disabled="reason"`
**Old:**
```tsx
{
name: 'field',
disabled: true,
disabledReason: 'Requires Business plan',
}
```
**New:**
```tsx
<field.Input
disabled="Requires Business plan"
{...}
/>
```
### extraHelp → JSX
**Old:**
```tsx
{
name: 'sensitiveFields',
help: 'Main help text',
extraHelp: 'Note: These fields apply org-wide',
}
```
**New:**
```tsx
<field.Layout.Stack label="Sensitive Fields" hintText="Main help text">
<field.TextArea {...} />
<Text size="sm" variant="muted">
Note: These fields apply org-wide
</Text>
</field.Layout.Stack>
```
### getData → `mutationFn`
The `getData` function transformed field data before sending to the API. In the new system, handle this in the `mutationFn`.
**Old:**
```tsx
// Wrap field value in 'options' key
{
name: 'sentry:csp_ignored_sources_defaults',
type: 'boolean',
getData: data => ({options: data}),
}
// Or extract/transform specific fields
{
name: 'slug',
getData: (data: {slug?: string}) => ({slug: data.slug}),
}
```
**New:**
```tsx
<AutoSaveForm
name="sentry:csp_ignored_sources_defaults"
schema={schema}
initialValue={project.options['sentry:csp_ignored_sources_defaults']}
mutationOptions={{
mutationFn: data => {
// Transform data before API call (equivalent to getData)
const transformed = {options: data};
return fetchMutation({
url: `/projects/${organization.slug}/${project.slug}/`,
method: 'PUT',
data: transformed,
});
},
}}
>
{field => (
<field.Layout.Row label="Use default ignored sources">
<field.Switch checked={field.state.value} onChange={field.handleChange} />
</field.Layout.Row>
)}
</AutoSaveForm>
```
**Simpler pattern** - If you just need to wrap the value:
```tsx
mutationOptions={{
mutationFn: fieldData => {
return fetchMutation({
url: `/projects/${org}/${project}/`,
method: 'PUT',
data: {options: fieldData}, // getData equivalent
});
},
}}
```
**Important: Typing mutations correctly**
The `mutationFn` should be typed with the API's data type (e.g., `Partial<Organization>`, `Partial<Project>`), **not** the schema-inferred type. The schema is for client-side field validation only — the mutation receives whatever the API endpoint accepts. Tying the mutation to the schema couples two unrelated concerns and can cause type errors when the schema types don't exactly match the API types.
```tsx
// ❌ Don't use generic types - breaks field type narrowing
mutationOptions={{
mutationFn: (data: Record<string, unknown>) => {
return fetchMutation({url: '/user/', method: 'PUT', data: {options: data}});
},
}}
// ❌ Don't tie mutation type to the zod schema
mutationOptions={{
mutationFn: (data: Partial<z.infer<typeof preferencesSchema>>) => {
return fetchMutation({url: '/user/', method: 'PUT', data: {options: data}});
},
}}
// ✅ Use the API's data type
mutationOptions={{
mutationFn: (data: Partial<UserDetails>) => {
return fetchMutation({url: '/user/', method: 'PUT', data: {options: data}});
},
}}
```
Make sure the zod schema's types are compatible with (i.e., assignable to) the API type. For example, if the API expects a string unioExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 42a3375
git clone https://github.com/getsentry/sentry git -C sentry checkout 42a3375c14f5
The author documents no install command, so this uses the repository directly. Our verdict covers commit 42a3375c14f5 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
42a3375c14f5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/getsentry/migrate-frontend-forms/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All devops & cloud skills →getsentry/sentry
Instrument and discover analytics events in Sentry's frontend UI. Use when adding tracking to buttons, pages, modals, or custom interactions, when defining new analytics events, when searching for existing events, when…
getsentry/sentry
Reference and active migration guide for Sentry's cell architecture. Explains what cells and localities are and why they're different, how requests reach cells via Synapse API routing, ingestion routing, and the control…
getsentry/sentry
Guide for adding new actions to Sentry's Command+K palette. Use when implementing new cmdk actions, registering page-level or global actions, building async resource pickers, or adding contextual actions to a view.
getsentry/sentry
Guide for using Sentry's layout and text primitives. Use when implementing UI components, layouts, or typography. Enforces use of core components over styled components.
getsentry/sentry
Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Use when adding a new Django model, designing a model for a feature, deciding where data…
getsentry/sentry
Guide for creating forms using Sentry's new form system. Use when implementing forms, form fields, validation, or auto-save functionality.
Add this badge to your README
[](https://modelsatlas.com/skills/getsentry/migrate-frontend-forms/)
<a href="https://modelsatlas.com/skills/getsentry/migrate-frontend-forms/"><img src="https://modelsatlas.com/skills/getsentry/migrate-frontend-forms/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Migrate Frontend Forms
What does the Migrate Frontend Forms skill do?
Is Migrate Frontend Forms safe to install?
What can Migrate Frontend Forms access on my machine?
How current is this page?
Sources
- github.com/getsentry/sentry/tree/master/.agents/skills/migrate-f — the audited source at commit 42a3375c14f5 and every finding aboveObserved · 29 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Migrate Frontend Forms skill do?
- Is Migrate Frontend Forms safe to install?
- What can Migrate Frontend Forms access on my machine?