sanity-default-plugins
Installation
SKILL.md
Sanity Core Plugin
Start Here
Before adding a core plugin, read the sanity-plugin-authoring skill at ../sanity-plugin-authoring/SKILL.md to understand the general Sanity plugin API and what plugins can provide. Then inspect nearby plugins and these files:
packages/sanity/src/core/config/resolveDefaultPlugins.tspackages/sanity/src/core/config/types.tspackages/sanity/src/core/config/studio/types.ts- A similar plugin under
packages/sanity/src/core/*/plugin/
The new plugin should be added inside core so it can be imported into the default plugins.
Prefer local patterns over new abstractions.
Plugin Shape
Use definePlugin and export a stable internal name constant: