Skip to content
Kitbay
Skill

scaffold-exercises

MITUpdated on Nov 9, 2026321,493GitHub stars

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

What the skill teaches

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.

Capabilities

  • 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