Create schema types
Your Sanity Studio came with some content types for a blog. But this might not be what your project is about.
Take a look at the @PRD.md file and create schema types in our Sanity Studio that express the content model.
Follow the guidance in @sanity.mdc for implementation.
If any of the instructions I have given you are unclear, please ask clarifying questions before proceeding.This could take a little while!
Thanks to our product requirement document, the LLM has a good idea already of the sort of content we're going to be creating.
Thanks to our Sanity cursor rules, the LLM knows how to create content types the right way and what scripts to run after it has completed work to verify what it has done.
You may be prompted to execute a few scripts along the way. Follow the LLM's chain of thought in the Chat Pane as it works through each step of the request.
Once complete, your Sanity Studio should have a few more content types than before. Try creating a new document, yours may look something like this:
You may have individual content types for moons and planets, or it may have made one generic content type, something like "celestial body" in which you can select its type.
The variation between this prompt and your results can be minimized by more strict instructions in the PRD or the prompt.
This is where it pays to:
- Have a definition of success, to know what good looks like.
- Have a way to evaluate the quality of the response by comparing our product requirements with what has been generated.
- Perform all of this in Cursor so that you if you need to reject this work, you can do with one button click (by clicking Undo All), update the prompt, the PRD (or both) and try again.
If you are happy with the results so far, you can proceed. Otherwise, refine your content model through prompting or updates to your product requirements before continuing.