scaffold-exercises
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.
Target: Target not categorized. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Scaffold Exercises
- Directory naming
- Exercise variants
- Required files
- Workflow
- Lint rules summary
- Moving/renaming exercises
- Example: stubbing from a plan
Create exercise directory structures that pass pnpm ai-hero-cli internal lint, then commit with git commit. 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) Each exercise needs at least one of these subfolders: problem/ - student workspace with TODOs solution/ - reference implementation explainer/ - conceptual material, no TODOs When stubbing, default to explainer/ unless the plan specifies otherwise. Each subfolder (problem/, solution/, explainer/) needs a readme.md that: Is not empty (must have real content, even a single title line works) Has no broken links When stubbing, create a minimal readme with a title and a description: If the subfolder has code, it also needs a main.ts (>1 line). But for stubs, a readme-only exercise is fine. 1. Parse the plan - extract section names, exercise names, and variant types 2. Create directories - mkdir -p for each path 3. Create stub readmes - one readme.md per variant folder with a title 4. Run lint - pnpm ai-hero-cli internal lint to validate
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- mattpocock/skills
- Source file
- skills/misc/scaffold-exercises/SKILL.md
- Fixed revision
- 4ae2317ddb22b046e26455e4f9c9b3aaaf62212d
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: Matt Pocock Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T22:01:34.095Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.