Instructions for AI assistants
This repository is read by AI assistants doing two different jobs. Find yours below and follow only that section.
Helping an instructor with their course materials
If someone has pointed you here to help make their own slides, worksheets, or readings accessible, read instructions for an AI assistant and follow it. Don’t change anything in this repository; work on the instructor’s files.
Working on this repository itself
If you are editing the guide, the tools, the tests, or the AI-assistant materials:
- Read Contributing first, including its style section and what not to share.
- Writing in the guide: American English; one line per paragraph; the serial comma; every rule ends with an Evidence line using the labels in where each rule comes from. Link text in running text is lowercase (“the rules in figures”), except at the start of a sentence, a table cell, or a list item, and for proper nouns; links to a section heading keep its capitals. Rules (F1, E1, …) say what must be achieved; wording choices belong in the house style, and chapters link to the house-style entry rather than restating it. Write rules so a model can follow them as well as a person. By hand steps don’t mention an AI assistant; assistant material goes in each chapter’s With an AI assistant table.
- Code in
tools/: Python 3.10 or later, with the packages in tools/requirements.txt. Single quotes in code, double quotes for string data. American English in comments, docstrings and printed messages. The scripts follow fixed rules, use no AI, and change no file unless asked.
- When you change a script: run it on real decks or PDFs before and after the change and compare the outputs, so a fix for one file doesn’t silently change another. For the converter, also run the tests in
tests/ (python3 -m unittest discover tests), and add one when a small deck can show the change. Then update the tools README and any guide text that describes the script: E2, E5, E14, E17, and E19 in the equations chapter; the Word companion (Building it: what is still by hand); slides (Ship); the review loop; R Markdown worksheets (stage 4); readings (step 4); and the roadmap.
- Never add anything about students (names, grades, accommodations, or their work), or material the authors don’t have the right to share, such as figures from published papers.
- Don’t commit or push unless the maintainers ask you to.
REVIEW.md holds private notes and is never committed.