scaffold-exercises

Generate exercise directory trees with sections and variants from a course plan.

13|3|Updated May 12, 2026
One-click install
npx skills add https://github.com/kevinnft/ai-agent-skills --skill scaffold-exercises-kevinnft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/kevinnft/ai-agent-skills/tree/main/skills/mattpocock/misc/scaffold-exercises
Command: npx skills add https://github.com/kevinnft/ai-agent-skills --skill scaffold-exercises-kevinnft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create exercise directory structures that pass linting and are ready for commit, enabling quick course scaffolding without manual setup.

Core Features & Use Cases

  • Generate directory structures for exercises with sections and properly named variants (XX-section-name, XX.YY-exercise-name).
  • Create stub folders (problem, solution, explainer) as needed, each with non-empty readmes and required content.
  • Validate and lint the scaffold with pnpm ai-hero-cli internal lint to ensure readiness for version control.

Quick Start

Parse your plan and run the scaffolding tool to generate the exercise directories.

Frequently Asked Questions about scaffold-exercises

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

FAQPage Schema
How do I generate exercise directory structures for a course plan?

Generate exercise directory structures by parsing a course plan to create sections and properly named variants like XX-section-name, automatically building stub folders with non-empty readmes.

How do I enforce lint requirements on course exercise scaffolds?

Enforce lint requirements by creating stub folders with non-empty readmes and validating the scaffold using pnpm ai-hero-cli internal lint to ensure readiness for version control.

What's the best way to scaffold course content with sections and exercise variants?

Scaffold course content by generating a structured directory tree that organizes sections and exercises into properly named variants, complete with problem, solution, and explainer stubs.

Do I need pnpm ai-hero-cli to validate generated exercise directories?

Yes, validating generated exercise directories requires pnpm ai-hero-cli internal lint to enforce folder structure rules and ensure non-empty readmes before committing to version control.

Why does my course scaffold fail linting when I manually create exercise folders?

Manual exercise folders often fail linting due to missing non-empty readmes or incorrect variant naming; automated scaffolding creates stubs and validates structure to prevent these errors.

Can I scaffold exercises with multiple variants like problem and solution folders?

Yes, scaffold exercises with multiple variants by generating required stub folders such as problem, solution, and explainer, each populated with a non-empty readme and required content.