CoursesAI-powered Sanity development

AI-powered Sanity development

Knut Melvær
Knut MelværPrincipal Developer Marketing Manager
Simeon Griggs
Simeon GriggsFormer Principal Educator at Sanity
Last updated 9 days ago
17
Lessons

With its all-code configuration, AI tools make Sanity a perfect choice as a content backend, and developers of varying levels of experience—including those with none at all—greatly benefit from AI tooling. Do it the right way for the best results, take on more ambitious projects, lower the barrier to entry and create happier content authors.


Introduction to AI

1. The present future of Sanity development

1
Task

Coding is no longer just for developers, however AI won't "do it all." Level-set your expectations on what AI tooling can and can't do for the pace and quality of development.

2. You don't need this course

1
Task

You could build something with AI in the time it takes to complete this course. You'd probably not learn much though.

3. The value of working with AI

1
Task

What do you get from working with AI tools that you never had before?

4. Glossary of terms

1
Task

5. Prompting primer

1
Task

Get better results from AI tools by crafting effective prompts, setting realistic expectations, and using them for interactive brainstorming sessions.

6. Voice dictated prompts

2
Tasks

You may find it much faster and more natural to write prompts with your voice rather than your hands. Here's how I like to do it.


Introduction to Cursor

7. Cursor IDE

3
Tasks

An introduction to Cursor, the AI-powered code editor you'll use in this course. Get to know the Chat window and the difference between an Ask and an Agent.

8. Add best practice skills

1
Task

The Sanity Agent Toolkit gives your AI assistant opinionated, Sanity-specific guidance—so it writes better code from the start.

9. Give your AI the full picture

1
Task

LLMs know a lot, but not everything. Here are several ways to make sure your AI assistant always has accurate, up-to-date Sanity context.

10. Connect to the Sanity MCP server

1
Task

The Model Context Protocol (MCP) allows AI tools to reach out and perform actions on external applications—like your Sanity project.


Setting up Sanity

11. Define your project specifications

1
Task

12. Initialize a new Studio

2
Tasks

13. Create schema types

1
Task

14. Automatically generate content

3
Tasks

The Sanity MCP server is going to do the heavy lifting of creating our initial content.


Building a front-end

15. Initialize a new front end

1
Task

You can pick whatever framework you'd like to complete this lesson. It's up to AI—and your prompting skills—to make it work.

16. Continuing to build

1
Task

17. AI-unassisted quiz

AI can't help you here. Let's reflect on what you've learned.