Commit Graph

31 Commits

Author SHA1 Message Date
Jon Eide Johnsen 450394fc0f feat: add cursor plugin support
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 11:28:39 -08:00
Jon Eide Johnsen a3ad5e1a20 update claude code plugin descriptions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 11:15:09 -08:00
Jonah Snider 0a140e31f9 ci: add GitHub Actions CI for validating skills (#18) 2026-02-13 06:55:08 -08:00
Jon Eide Johnsen 161f1996a4 Merge pull request #13 from sanity-io/fix/claude-plugin-folder-structure
fix: claude plugin folder structure
2026-02-05 18:49:12 -08:00
Jon Eide Johnsen 1475d518c6 docs: update repository structure to reflect refactored plugin layout
Remove sanity-plugin/ folder from tree and show commands, .claude-plugin,
and .mcp.json at root level to match the new flattened structure.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-05 18:47:19 -08:00
James Woods 9db1697618 feat: add back relevant metadata 2026-02-05 18:18:27 +00:00
James Woods e90bf8d868 fix: claude plugin folder structure 2026-02-05 18:10:43 +00:00
Jon Eide Johnsen 8925863e81 Merge pull request #10 from sanity-io/fix/sanity-best-practices-skill-references
fix: best practices skill refrencing rules incorrectly
2026-01-27 17:41:54 +01:00
James Woods 211347bc66 fix: add nextjs best practices skill 2026-01-27 11:36:29 +00:00
Jon Eide Johnsen bc8ebc3323 Merge pull request #8 from sanity-io/feat/agent-skills
feat: agent skills
2026-01-24 01:40:01 +01:00
Jon Eide Johnsen 39a599586e Update migration rules to use defineMigration
- schema-deprecation-pattern.md: Replace raw client.patch with
  defineMigration, at, setIfMissing, unset from sanity/migrate
- migration-html-import.md: Add defineMigration wrapper example
  for reproducible HTML imports
2026-01-23 16:36:44 -08:00
Jon Eide Johnsen f6c6935af5 Rename visual editing rule files for consistency
- visual-seo-metadata.md → visual-editing-seo-metadata.md
- visual-stega-clean.md → visual-editing-stega-clean.md
- visual-presentation-tool.md → visual-editing-presentation-tool.md
2026-01-23 16:23:03 -08:00
Jon Eide Johnsen c241acb8d6 Update Core Web Vitals and add Next.js labels
- Add Google source link for Core Web Vitals thresholds
- Update FID to INP (current metric as of 2024)
- Add "(Next.js example)" labels to framework-specific sections
2026-01-23 16:20:55 -08:00
Jon Eide Johnsen 82565fafd0 Address additional PR feedback
- pte-custom-components.md: Use generic <a> with tip about framework Link components
- schema-array-keys.md: Remove unrealistic Math.random() key example
2026-01-23 16:12:26 -08:00
Jon Eide Johnsen 7be4ec5b35 Address PR review feedback
- separation-of-concerns.md: Make naming examples more specific
- groq-define-query.md: Remove redundant Option C (plain defineQuery)
- image-hotspot.md: Remove unrelated alt text from hotspot example
2026-01-23 16:09:26 -08:00
Jon Eide Johnsen d509a358f8 Add Agent Skills following agentskills.io format
Introduces 4 new Agent Skills compatible with Cursor, Claude Code, and other
agents supporting the Agent Skills standard:

- sanity-best-practices: GROQ performance, schema design, Visual Editing,
  images, Portable Text, Studio, TypeGen, localization, migrations (26 rules)
- content-modeling-best-practices: Structured content principles
- seo-aeo-best-practices: SEO/AEO with EEAT principles and structured data
- content-experimentation-best-practices: A/B testing methodology

Also includes:
- Updated README with installation instructions (npx skills add)
- Added skills-ref validation (npm run validate)
- Updated MCP documentation to match official docs
- Removed old procedural skills from sanity-plugin/skills/
2026-01-23 15:39:53 -08:00
Jon Eide Johnsen 0bc47d44f3 Merge pull request #4 from sanity-io/feat/app-sdk-rules
feat: create app sdk rules
2026-01-22 01:38:36 +01:00
Charlie Brown 641708281b Update rules/sanity-app-sdk.mdc
Co-authored-by: Ryan Bonial <4294665+ryanbonial@users.noreply.github.com>
2026-01-14 13:34:34 -06:00
Jon Eide Johnsen 7b0689193e Merge pull request #6 from sanity-io/feat/readme-additional-mcp-instructions
feat(readme): update mcp installation instructions
2025-12-18 16:01:38 +01:00
Jon Eide Johnsen 6c0d28a01f fix: cursor install link 2025-12-18 12:45:31 +01:00
Jon Eide Johnsen f6e506499f feat(readme): add additional mcp install instructions 2025-12-18 12:27:23 +01:00
Charles Brown 77200c0f97 chore: improve file format 2025-12-12 07:55:09 -06:00
Charles Brown e19dd6b84f chore: update readme 2025-12-12 07:49:09 -06:00
Charles Brown 4636e0ac6d feat: create app sdk rules 2025-12-12 07:43:05 -06:00
Jon Eide Johnsen f442faaa5d Merge pull request #3 from sanity-io/feat/readme-update
feat: add quick overview of installation options in readme
2025-12-12 11:19:28 +01:00
Jon Eide Johnsen c403c938a6 feat: add quick overview of installation options in readme 2025-12-12 11:15:26 +01:00
Jon Eide Johnsen f657d6aa9c Merge pull request #5 from sanity-io/readme-typo
fix: typo in readme
2025-12-11 18:47:40 +01:00
Jon Eide Johnsen 223f90fba1 fix: typo in readme 2025-12-11 18:47:11 +01:00
Jon Eide Johnsen af279e40ef Merge pull request #4 from sanity-io/fix/claude-code-install-instructions 2025-12-11 17:53:28 +01:00
Jon Eide Johnsen 0304bcc62f fix: update claude code install instructions 2025-12-11 17:45:42 +01:00
Jon Eide Johnsen 23ef4ff5ab feat: add sanity agent toolkit 2025-12-11 17:32:26 +01:00