Misc
Scaffold Exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting.
Scaffold Exercises
Create exercise directory structures that pass linting, then commit with git commit.
Directory naming
- Sections:
XX-section-name/insideexercises/ - Exercises:
XX.YY-exercise-name/inside a section - Names are dash-case (lowercase, hyphens)
Exercise variants
Each exercise needs at least one of these subfolders:
problem/- student workspace with TODOssolution/- reference implementationexplainer/- conceptual material, no TODOs
Required files
Each subfolder needs a readme.md that is not empty and has no broken links.
Workflow
- Parse the plan - extract section names, exercise names, and variant types
- Create directories -
mkdir -pfor each path - Create stub readmes - one
readme.mdper variant folder with a title - Run lint - validate
- Fix any errors - iterate until lint passes