Giverny

Sanity Singletons

Configure singleton documents in a Sanity Studio using the document.singletons registry.

by Sanity★ 203GeneralOfficial

What Sanity Singletons does

Configure singleton documents in a Sanity Studio using the document.singletons registry. Use when a developer wants a fixed-id document (settings, navigation, footer) edited in place, hidden from the default content list, with no "create new" or "duplicate" affordances — or when migrating a userland singleton implementation or a third-party singleton plugin (e.g. sanity-plugin-singleton-management) to the first-class API.

How to install Sanity Singletons in Claude Code

Giverny gives you a ready prompt with the exact install command from sanity-io/agent-toolkit. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone sanity-io/agent-toolkit and copy the skills/sanity-singletons folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Sanity Singletons on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the sanity-singletons skill on my current project.”

More Claude skills for general