Generate per-lesson homework files from recent class Git history and teaching material
This skill generates a per-lesson Hausübung.md homework file inside the
current lesson directory of a class folder. The user invokes it from inside the
class folder (e.g., ~/gitm/2ahwii/) at the end of a lesson. No arguments
are needed.
The generated exercises and content inside Hausübung.md MUST be written in
natural German with proper UTF-8 umlauts (ä, ö, ü, ß).
Never use English for the exercise descriptions.
<ISO-date>_<topic>
(e.g., 2026-03-21_promises, 2026-04-01_async-await).git log --since="24 hours ago" --name-only --diff-filter=A and
git diff --name-only to find recently created or modified directories.<YYYY-MM-DD>_<topic>.README.md, code
examples, exercise sheets, and any other content files.README.md)
if they provide context for the lesson topic.README.md, *.md, *.js, *.java,
*.html, *.css, *.sql, and any files with "übung" or "aufgabe" in
the name.Before writing, display the following to the user:
2026-03-21_promises/)Hausübung.md to be created or updated.Then proceed immediately without waiting for confirmation.
<lesson-dir>/Hausübung.md if it does not exist.Only create homework entries when repository evidence supports that an assignment is appropriate. Concrete examples of valid evidence:
If the source material reveals the lesson topic but nothing suggests an assignment was intended, omit the homework entry and report this to the user.
Hausübungen.md (plural/cumulative).
This skill only produces per-lesson Hausübung.md files.ae,
oe, ue) unless the source material explicitly requires that form.Hausübung.md inside the target lesson directory.