sanity-plugin-authoring
Installation
SKILL.md
Sanity Plugin Authoring
What A Plugin Is
A Sanity Studio plugin is a named configuration bundle that can be added to a Studio through the plugins array. Plugin configuration accepts most workspace config properties, except workspace-owned settings such as dataset, projectId, auth, and theme.
Always give plugins a stable unique name. Prefer definePlugin() so editors expose useful types and autocomplete.
import {definePlugin} from 'sanity'