What problem does it solve?
Developers extending Sanity Studio often struggle to understand what a plugin can configure, how to structure configurable options, and how to add tools, locale resources, and component overrides correctly through the public plugin API.
Core Features & Use Cases
- Plugin Authoring Guidance: Explains how to define plugins with
definePlugin(), stable names, and extensible option shapes.
- Tool and Component Integration: Covers adding Studio tools through plugins, controlling tool menu order, and using
studio.components middleware with renderDefault.
- Localization Support: Shows how to register
i18n locale resource bundles so plugin UI text is translatable instead of hard-coded.
- Use Case: When building a preview URL plugin that resolves production URLs from document slugs, this Skill provides the exact
definePlugin pattern, configuration surface, and registration steps.
Quick Start
Ask the agent to create a Sanity Studio plugin that adds a custom tool and document production URL resolver using definePlugin.