Registry / sanity-io

sanity-io/agent-toolkit/sanity-form-component-suspense

Fix a Sanity Studio custom form component (components.input, components.field, components.item, or a plugin's form.components) that suspends without its own Suspense boundary, so it loads without layout shift and never blocks new documents. Use when the console warns "The custom input/field/item component ... suspended without a <Suspense> boundary of its own" or "A form component ... suspended without a <Suspense> boundary of its own", when a custom form component uses React.lazy, use(), App SD

Agent skill · version 0.0.0-main.1795730496.g627296c · from sanity-io/agent-toolkit

Install

npx yarkr-cli add skill:sanity-io/agent-toolkit/sanity-form-component-suspense

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:sanity-io/agent-toolkit/sanity-form-component-suspense
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:sanity-io/agent-toolkit/sanity-form-component-suspense

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:sanity-io/agent-toolkit/sanity-form-component-suspense

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.