scaffold-exercises

scaffold exercises

mattpocock ↓ 149k
Claude Code
View source ↗

What it does

  • Sections: XX-section-name/ inside exercises/ (e.g., 01-retrieval-skill-building)
  • Exercises: XX.YY-exercise-name/ inside a section (e.g., 01.03-retrieval-with-bm25)
  • Section number = XX, exercise number = XX.YY
  • Names are dash-case (lowercase, hyphens)
  • problem/ - student workspace with TODOs
  • solution/ - reference implementation
  • explainer/ - conceptual material, no TODOs

Requirements & configuration

  • Each exercise needs at least one of these subfolders:
  • Each subfolder (problem/, solution/, explainer/) needs a readme.md that:
  • If the subfolder has code, it also needs a main.ts (>1 line). But for stubs, a readme-only exercise is fine.

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

scaffold exercises

Source

Repository: https://github.com/mattpocock/skills

scaffold-exercises FAQ

What does the scaffold-exercises skill do?

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section. Sections: XX-section-name/ inside exercises/ (e.g., 01-retrieval-skill-building) Exercises: XX.YY-exercise-name/ inside a section (e.g., 01.03-retrieval-with-bm25)

What does scaffold-exercises require?

Each exercise needs at least one of these subfolders: Each subfolder (problem/, solution/, explainer/) needs a readme.md that: If the subfolder has code, it also needs a main.ts (>1 line). But for stubs, a readme-only exercise is fine.

How do I install scaffold-exercises?

Run: npx -y skills add https://github.com/mattpocock/skills --skill scaffold-exercises --agent claude-code — the source lives at github.com/mattpocock/skills.

Maintain scaffold-exercises?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

scaffold-exercises on getagentictools
[![scaffold-exercises on getagentictools](https://getagentictools.com/badge/skills/mattpocock-skills-scaffold-exercises.svg)](https://getagentictools.com/skills/mattpocock-skills-scaffold-exercises?ref=badge)
npx agentictools info skills/mattpocock-skills-scaffold-exercises

The second line is the CLI lookup for this page — handy in READMEs and docs.