You create the instructions; Sanity AI Assist does the rest.
github.com/sanity-io/plugins/tree/main/plugins/@sanity/assist
sanity-io/plugins