Zum Inhalt springen
Kitbay
Skill

scaffold-exercises

MITAktualisiert am 9. Nov. 2026321.493GitHub-Sterne

A skill from Matt Pocock's collection for laying out course exercises in the folder structure his course tooling expects.

Was der Skill vermittelt

A skill from Matt Pocock's collection for laying out course exercises in the folder structure his course tooling expects. From a plan, the agent creates numbered section and exercise folders in dash-case under exercises/, adds problem, solution or explainer variant folders (explainer by default) with a non-empty readme stub, and runs the ai-hero-cli lint command, fixing errors until it passes. The lint rules cover required variant folders, non-empty readmes, no broken links, no .gitkeep or speaker notes, and a main.ts where code is present. Renames and moves use git mv to keep history, with numeric prefixes updated to preserve order.

Funktionen

  • Create numbered course section and exercise folders
  • Add problem, solution or explainer stubs
  • Run the course lint check until it passes
  • Rename exercises with git mv