scaffold-exercises

Generate lint-ready exercise directory structures with sections, problems, solutions, and explainers.

356|59|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/amazingloft999-droid/mattpocock-skills --skill scaffold-exercises-amazingloft999-droid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/amazingloft999-droid/mattpocock-skills/tree/main/skills/misc/scaffold-exercises
Command: npx skills add https://github.com/amazingloft999-droid/mattpocock-skills --skill scaffold-exercises-amazingloft999-droid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create exercise directory structures that pass pnpm ai-hero-cli internal lint, then commit with git.

Core Features & Use Cases

  • Automatically generate folder structures for sections and exercises (problem, solution, explainer) with consistent naming.
  • Ensure each subfolder has a non-empty readme.md and optional variant scaffolds for testing.
  • Provide a workflow to stub, lint, and commit changes for course sections.

Quick Start

Parse a plan, generate exercise directories, create stub readmes, and validate everything with the lint tool.

Frequently Asked Questions about scaffold-exercises

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold exercise directory structures that pass linting checks?

Scaffolding exercise directory structures that pass lint requires generating consistent folders for sections, problems, solutions, and explainers, then validating them with pnpm ai-hero-cli internal lint to ensure non-empty readmes and correct naming.

What is the best way to create stub readmes for new course modules?

Creating stub readmes for course modules involves automatically generating non-empty readme.md files within each exercise subfolder, ensuring the directory structure remains consistent and lint-ready for bootcamps or practice sets.

Can I use pnpm to lint and validate scaffolded exercise folders?

Yes, you can use pnpm ai-hero-cli internal lint to validate scaffolded exercise folders, ensuring the generated directory structures, naming conventions, and non-empty readme files meet required linting standards before committing.

How do I plan and generate skeletons for new course sections quickly?

Planning and generating skeletons for course sections requires parsing a course plan to automatically create exercise directories with problem, solution, and explainer stubs, providing a lint-ready workflow for rapid module generation.

Why does my exercise folder structure fail lint checks when planning new courses?

Exercise folder structures fail lint checks when subfolders lack non-empty readme.md files or use inconsistent naming conventions, requiring automated scaffolding to generate lint-ready directories that pass pnpm ai-hero-cli validation.

Does scaffold-exercises support generating optional variant scaffolds for testing?

Yes, scaffold-exercises supports generating optional variant scaffolds for testing, automatically creating exercise directory structures with consistent naming and non-empty readmes that pass pnpm ai-hero-cli internal lint.