sanity-best-practices SKILL.md skillA

sanity-best-practices from tekkiiiii/the-agency is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tekkiiiii/the-agency/sanity-best-practices@git:20260508.65c1b0b

Pins git:20260508.65c1b0b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tekkiiiii/the-agency
Path
skills/sanity-best-practices/SKILL.md
Versions recorded
1
Latest version
git:20260508.65c1b0b, committed May 8, 2026
Size
3,839 bytes
Repository stars
6
License
none declared

Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, and the App SDK. Use this skill whenever working with Sanity schemas, defineType or defineField, GROQ or defineQuery, content modeling, Presentation or preview setups, Sanity-powered frontend integrations, Sanity…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Sanity Best Practices

Comprehensive best practices and integration guides for Sanity development, maintained by Sanity. Use the quick reference below to load only the one or two topic files that match the task.

## When to Apply

Reference these guidelines when:
- Setting up a new Sanity project or onboarding
- Integrating Sanity with a frontend framework (Next.js, Nuxt, Astro, Remix, SvelteKit, Hydrogen)
- Writing GROQ queries or optimizing performance
- Designing content schemas
- Implementing Visual Editing and live preview
- Working with images, Portable Text, or page builders
- Configuring Sanity Studio structure
- Setting up TypeGen for type safety
- Implementing localization
- Migrating content from other systems
- Building custom apps with the Sanity App SDK
- Managing infrastructure with Blueprints
- Automating content workflows with Sanity Functions

## Quick Reference

### Integration Guides

- `get-started` - Interactive onboarding for new Sanity projects
- `nextjs` - Next.js App Router, Live Content API, embedded Studio
- `nuxt` - Nuxt integration with @nuxtjs/sanity
- `angular` - Angular integration with @sanity/client, signals, resource API
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tekkiiiii/the-agency/sanity-best-practices@sha256:020d410615052c04

The line at the top of this page pins the label git:20260508.65c1b0b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_apcdw6tcrm332vzs.svg)](https://markdownregistry.com/a/art_apcdw6tcrm332vzs)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on May 8, 2026.

versioncommittedcommitsizeaudit
git:20260508.65c1b0b latest2026-05-08 65c1b0b 3,839 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3839 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tekkiiiii/the-agency · 6 stars · license none declared · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_apcdw6tcrm332vzs
GET https://markdownregistry.com/api/v1/resolve?ref=tekkiiiii/the-agency/sanity-best-practices
GET https://markdownregistry.com/api/v1/blob/020d410615052c04cb141b910d2aa3bece939a2ba551431c3c5225c4b6b5d048

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tekkiiiii/the-agency

CLAUDE.md CLAUDE.md file
tekkiiiii/the-agency · CLAUDE.md
git:20261020.f5c49ca · audit A · 6 stars
dept-resume SKILL.md skill
tekkiiiii/the-agency · agents-archive/dept-sunset-2026-10-08/skills/dept-resume/SKILL.md · Read dept-state.md and spawn a Dept Head with a lean briefing. Department-operations parallel of /pd-resume.
v1.0.0 · audit A · 6 stars
dept-save-state SKILL.md skill
tekkiiiii/the-agency · agents-archive/dept-sunset-2026-10-08/skills/dept-save-state/SKILL.md · Write dept-state.md and member-roster.md at end of department session. Department-operations parallel of /save-state.
v1.0.0 · audit A · 6 stars
dept-status SKILL.md skill
tekkiiiii/the-agency · agents-archive/dept-sunset-2026-10-08/skills/dept-status/SKILL.md · Read-only department status digest. No spawns. Shows active coords, pipelines, open issues, and incoming tasks.
v1.0.0 · audit A · 6 stars
dept-wrap SKILL.md skill
tekkiiiii/the-agency · agents-archive/dept-sunset-2026-10-08/skills/dept-wrap/SKILL.md · Freeze department state at session end. Writes dept-state.md, updates member-roster.md, archives scratch files…
v1.0.0 · audit A · 6 stars
room-manager-digest SKILL.md skill
tekkiiiii/the-agency · agents-archive/dept-sunset-2026-10-08/skills/room-manager-digest/SKILL.md · Use on /room-manager-digest, a 12h cron, or when a dept head wants a fresh report. Reads each dept room's rolling.md…
git:20261009.e24f09d · audit A · 6 stars
room-manager SKILL.md skill
tekkiiiii/the-agency · agents-archive/dept-sunset-2026-10-08/skills/room-manager/SKILL.md · Use on /room-manager, every 10 minutes as a background loop, or when new room activity is suspected (handoff file…
git:20261009.e24f09d · audit A · 6 stars
obsidian-vault SKILL.md skill
tekkiiiii/the-agency · agents-archive/rev001-curator-2026-10-12/skills/obsidian-vault/SKILL.md · Use to forward decisions, project learnings, skill creations and generated assets to the Obsidian vault, and to read it…
git:20261013.24ed2e2 · audit A · 6 stars
_hidden SKILL.md skill
tekkiiiii/the-agency · scripts/tests/fixtures/jev/router-skills/_hidden/SKILL.md · underscore dirs are never routable
git:20261014.27c93aa · audit B · 6 stars
content-polish SKILL.md skill
tekkiiiii/the-agency · scripts/tests/fixtures/jev/router-skills/content-polish/SKILL.md · Polish drafted content to publish-ready in one pass; English and Vietnamese.
git:20261014.27c93aa · audit B · 6 stars
frontend SKILL.md skill
tekkiiiii/the-agency · scripts/tests/fixtures/jev/router-skills/frontend/SKILL.md · Use when building frontend UIs: "build a landing page", "make a dashboard", "write a React component". Not for…
git:20261014.27c93aa · audit B · 6 stars
nested-skill SKILL.md skill
tekkiiiii/the-agency · scripts/tests/fixtures/jev/router-skills/frontend/nested-skill/SKILL.md · nested dirs are out of the depth-1 universe
git:20261014.27c93aa · audit B · 6 stars

Every file in tekkiiiii/the-agency

Other files named sanity-best-practices

sanity-best-practices SKILL.md skill
sanity-io/agent-toolkit · skills/sanity-best-practices/SKILL.md · Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text…
git:20261009.3fe6c8a · audit A · 192 stars

Browse by kind, by grade A, or by owner.