Fixes from final review pass by DX and TypeScript expert agents:
- Added "unique query names" requirement (common developer footgun)
- Added tsconfig includes requirement for sanity.types.ts
- Fixed AUTHOR_QUERY example: was array query used as single object
- Added .astro, .svelte, .vue to path glob examples
- Updated Astro rule to use defineQuery instead of raw strings
- Updated get-started guide to use defineQuery (was raw string)
- Updated GROQ maintenance workflow to mention automatic generation
- Updated AGENTS.md boundary to mention typegen.enabled option
- Fixed groq-define-query.md to show auto-inference as primary pattern
- Standardized import path to @/sanity.types
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TypeGen is now GA. Key changes:
- Config moved from deprecated sanity-typegen.json to sanity.cli.ts
- Added automatic type generation (typegen.enabled: true)
- Added watch mode for separate frontend repos
- Added overloadClientMethods for automatic client.fetch() typing
- Added --enforce-required-fields flag
- Added Get and FilterByType type utilities
- Added supported file types (.astro, .svelte, .vue)
- Added @sanity-typegen-ignore for skipping individual queries
- Updated project structure to remove deprecated config file
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Added metadata.version to Claude plugin marketplace.json
- Added owner.url to Cursor plugin marketplace.json
- Pinned skills-ref dependency to exact 0.1.5 (was ^0.1.5)
- Removed emojis from sanity.md command headers for consistency
- Added actual resource file paths to content-modeling SKILL.md
- Softened absolutist language in AGENTS.md (NDJSON no longer prohibited)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>