scaffold-exercises
Installation
SKILL.md
Scaffold exercises
Build an exercise directory tree that passes the course's exercise linter, then commit it. Throughout, run the linter with the project's own command (for example pnpm lint:exercises or whatever the repo defines) — substitute it wherever this skill says "run the linter".
Directory naming
- Sections:
XX-section-name/underexercises/(e.g.01-retrieval-skill-building) - Exercises:
XX.YY-exercise-name/under a section (e.g.01.03-retrieval-with-bm25) - Section number is
XX; exercise number isXX.YY - Every name is dash-case: lowercase words joined by hyphens
Exercise variants
Each exercise carries at least one of these subfolders:
problem/— the student's starting point, with TODOssolution/— the reference answerexplainer/— conceptual material, no TODOs