Commit Graph

13 Commits

Author SHA1 Message Date
James Woods 17f7b5b428 fix: deduplicate atomic references into comprehensive guides
Delete 25 atomic reference files that duplicated content already
covered by the comprehensive topic guides (groq.md, schema.md, etc.).
Unique content from atomics (optimizable filters table, defineMigration
example, compound cursor pattern, icon mapping table, stegaClean
alternatives, etc.) was merged into the corresponding guide before
deletion.

Also makes migration.md an index that points to migration-html-import.md
for the HTML deep-dive, keeping the pattern extensible for future
migration guides.

Updates SKILL.md and AGENTS.md to reflect the consolidated structure
(47 → 22 reference files).
2026-02-24 12:03:17 +00:00
Jon Eide Johnsen 273c8ca205 refactor: consolidate agent rules into sanity-best-practices skill
Migrate all 21 .mdc agent rules from rules/ into the sanity-best-practices
skill as the single source of truth, following the agentskills.io spec.

- Move comprehensive guides to skills/sanity-best-practices/references/
  (e.g., sanity-nextjs.mdc → references/nextjs.md)
- Rename rules/ → references/ per agentskills.io specification
- Convert .mdc frontmatter to standard .md (add title/tags, drop alwaysApply)
- Update all internal cross-references to new paths
- Rewrite SKILL.md with Quick Reference index (Vercel pattern)
- Add compiled AGENTS.md inside skill with all 26 atomic rules
- Update root AGENTS.md Knowledge Router to point to new locations
- Update README.md with new repository structure
- Delete all 21 old rules/sanity-*.mdc files (clean break)
- All 4 skills pass validation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-23 14:47:12 -08:00
Jon Eide Johnsen 5730cf4ea5 Merge pull request #22 from sanity-io/fix/misc-improvements
fix: comprehensive review fixes from 10-agent swarm review
2026-02-23 13:54:39 -08:00
Jon Eide Johnsen 5e8610a916 fix: address minor review findings and nits
- Add missing author field to cursor plugin marketplace.json
- Restore query-level filter in migration example for performance
- Clarify sameAs vs socialLinks field purposes in EEAT schema
- Add TypeScript types to generateMetadata params in hreflang example
- Revert useCdn to false for SSR getting-started example
- Add NDJSON guardrail back to AGENTS.md boundaries
- Fix npx prefix consistency in typegen watch mode command
- Add schema.org position comment in BreadcrumbList example
- Clarify @graph @context usage and improve JSON-LD security note
- Deduplicate typegen-workflow.md by referencing the canonical rule file

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-23 13:50:42 -08:00
Jon Eide Johnsen 85b0402835 Merge pull request #11 from sanity-io/feat/blueprints-rules
feat: blueprints rules
2026-02-23 13:37:16 -08:00
Jon Eide Johnsen 68c5283f7d fix: address DX and TypeScript expert review findings for TypeGen
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>
2026-02-21 00:47:01 -08:00
Jon Eide Johnsen 28b9ccf05f fix: align MCP tool names and add complete tool inventory
AGENTS.md tool names were inconsistent with actual MCP server tools
(e.g. create_document_from_markdown vs create_documents_from_markdown).
Updated both AGENTS.md and README.md to match the current MCP server
tool list, organized into 5 categories: content operations, schema &
development, media & AI, releases, and project management.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-21 00:35:58 -08:00
Jon Eide Johnsen 5dd98c0dbe fix broken plugin anchor links in agents.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 12:25:39 -08:00
Jon Eide Johnsen 450394fc0f feat: add cursor plugin support
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 11:28:39 -08:00
Taylor Beseda ccd65ee6d6 Update AGENTS.md 2026-01-27 10:51:22 -07:00
Taylor Beseda 3ad9453040 feat: blueprints rules 2026-01-26 19:27:53 -07:00
Charles Brown 4636e0ac6d feat: create app sdk rules 2025-12-12 07:43:05 -06:00
Jon Eide Johnsen 23ef4ff5ab feat: add sanity agent toolkit 2025-12-11 17:32:26 +01:00