Prompts are generated using the Prompter class in marimo/_server/ai/prompts.py.
You can create snapshots of the prompts using the snapshot function in tests/_server/ai/test_prompts.py. These snapshots are checked into the repo, and you can use them to verify that the prompts have not changed. To run these snapshots, run:
uv run --python 3.12 --group test-optional pytest tests/_server/ai/test_prompts.py