Use when generating a complete week of materials, including learning sheets and test bundles, through adversarial writer-vs-reviewer debate
Use when an instructor wants to wire up Zulip-based homework submission for the course — creates a grading bot on the instructor's Zulip realm via API, writes `.zuliprc` at repo root, and bootstraps `coursedesign/roster.csv`. Run once after `/bootstrap`. Triggers on phrases like "set up zulip submissions", "configure zulip grading bot", "wire up the homework bot", "/setup-zulip-grading".
Use when writing a new learning sheet from scratch for a specific week — reads textbook sections, follows templates, and produces a single learning-sheet.typ file
Use when an instructor wants to pull homework photos that students DM'd to the grading bot, grade them, and DM per-question feedback back. End-to-end Zulip-based grading orchestrator that delegates to /grade-homework and (optionally) /homework-report. Requires /setup-zulip-grading to have been run once. Triggers on phrases like "grade homework via zulip", "pull and mark week N from zulip", "/zulip-mark-feedback 3", "send the feedback DMs".
Use when setting up a new course from a forked template repo — gates on a canonical source (textbook or equivalent), ingests its title-page + ToC for metadata, optionally folds in supplementary syllabus/slides/notes, writes config.toml, extracts textbook chapters, creates the weekly schedule, and enables GitHub Pages deployment when possible
Use when the user wants to grade a folder of student homework submissions against a teacher-provided solutions document — handles mixed formats (PDF, JPG, DOCX), produces a grades CSV and per-student English feedback with explicit flagging of ambiguous items for teacher review. Triggers on phrases like "grade the homework", "mark HW9", "批作业".
Use after grade-homework to produce a teacher-facing Typst PDF report that shows each student's submission images side-by-side with their per-question marks, feedback, and flags. Triggers on phrases like "generate the grading report", "build a report from the marks", "make a PDF with the marked homework".
Use when pivoting a finalized learning sheet's task and examples to a new real-world context, or when scrutinizing its reasoning for logical gaps