Skill / SKILL.md

Sanity Optimizations

Pagepro/nexity

Audit whether a Next.js + Sanity site uses Sanity efficiently and what it will cost. Runs three read-only auditors in parallel (`sanity-query-auditor` for GROQ over-fetching, query size and Sanity reads per route; `sanity-image-auditor` for image CDN use, widths and `sizes`, LQIP, preload; `sanity-delivery-auditor` for API CDN vs live API, draft-only Live/stega, static vs dynamic routes, cache tags, webhook scope), merges their findings into one report ranked by impact, and estimates Sanity and Vercel usage for 100–5,000 daily visitors against the Free and Growth quotas. Use when the user asks "optimize Sanity", "are we over-fetching", "how many queries per page", "is the CDN used", "are images the right size", "is the site static", "Sanity usage / quota / bill", "why is the site stale", or before the launch of a Next + Sanity site. Reports first; changes code only after the user picks the fixes.
2 views 43 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Audit whether a Next.js + Sanity site uses Sanity efficiently and what it will cost. Runs three read-only auditors in parallel (`sanity-query-auditor` for GROQ over-fetching, query size and Sanity reads per route; `sanity-image-auditor` for image CDN use, widths and `sizes`, LQIP, preload; `sanity-delivery-auditor` for API CDN vs live API, draft-only Live/stega, static vs dynamic routes, cache tags, webhook scope), merges their findings into one report ranked by impact, and estimates Sanity and Vercel usage for 100–5,000 daily visitors against the Free and Growth quotas. Use when the user asks "optimize Sanity", "are we over-fetching", "how many queries per page", "is the CDN used", "are images the right size", "is the site static", "Sanity usage / quota / bill", "why is the site stale", or before the launch of a Next + Sanity site. Reports first; changes code only after the user picks the fixes.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Pagepro/nexity' skill-source

Use the complete skill-source/.agents/skills/sanity-optimizations directory with your client’s skill installer.

  • .agents/skills/sanity-optimizations

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • base/.agents/skills/sanity-optimizations

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • theme-meridian/.agents/skills/sanity-optimizations

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/sanity-optimizations

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
7064f662cfbfa638f3566fd8da7d954381c78dea77a1d64682a83634cb67cffb
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills