agentsclimarketplace

Sanity

Skill G1Joshi/Agent-Skills/skills/frameworks/sanity

Sanity structured content platform. Use for content management.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill sanity

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.2 KB, 252 tokens by cl100k_base, as published. Nobody here has run it

Sanity

Sanity is "Content as Data". The Studio v3 is a real-time React application that you host, giving you complete control over the editing experience.

When to Use

  • Structured Content: You need complex relationships references.
  • Real-time Collaboration: Like Google Docs for your content.
  • Custom Workflows: You need custom approval buttons in the CMS.

Core Concepts

GROQ

Graph-Relational Object Queries. Powerful alternative to GraphQL. *[_type == "movie" && rating > 8].

The Studio

A React Single Page App (embedded in your Next.js app) for editing.

Portable Text

JSON format for rich text (not HTML/Markdown), enabling custom rendering on any platform.

Best Practices (2025)

Do:

  • Use Visual Editing: Embed the studio in your app for clickable previews (Overlays).
  • Use GROQ: It is much more concise than GraphQL for Sanity data.
  • Use TypeScript: Define schema types with defineType.

Don't:

  • Don't hardcode IDs: Use references.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.