scaffold-exercises

Scaffold exercise directories and stubs that pass lint checks.

Updated May 2, 2026
One-click install
npx skills add https://github.com/maxenergy/skills --skill scaffold-exercises-maxenergy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/maxenergy/skills/tree/main/skills/misc/scaffold-exercises
Command: npx skills add https://github.com/maxenergy/skills --skill scaffold-exercises-maxenergy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create consistently structured exercise directories and stubs that pass lint checks with the internal tooling, enabling repeatable curriculum scaffolding.

Core Features & Use Cases

  • Automated directory scaffolding for sections, exercises, and variants.
  • Optional problem/solution/explainer subfolders with non-empty readmes to satisfy lint rules.
  • Ready-to-commit stubs that speed up curriculum authoring and testing.

Quick Start

Run the scaffold-exercises tool to generate the required exercise directories and stub files, then lint and commit.

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 directories that pass lint checks automatically?

To scaffold exercise directories that pass lint, run the tool to generate the required folder layout with readme.md stubs and validate using pnpm ai-hero-cli internal lint. This ensures structural compliance for sections, exercises, and variants.

What is the best way to create repeatable curriculum templates with problem and solution folders?

Creating repeatable curriculum templates requires automated scaffolding of exercise directories with optional problem, solution, and explainer subfolders. Each subfolder receives a non-empty readme.md to satisfy lint rules and ensure ready-to-commit stubs.

Why does my exercise readme fail the lint check during curriculum authoring?

Exercise readme files fail lint checks when the directory structure lacks required subfolders or readme.md stubs. Scaffolding with the correct folder layout and non-empty readmes ensures validation passes with pnpm ai-hero-cli internal lint.

Can I use automated scaffolding for multiple exercise variants within a single curriculum section?

Yes, automated scaffolding supports generating multiple exercise variants within a single curriculum section. The tool creates the correct folder layout for each variant with optional problem, solution, and explainer folders to satisfy structural requirements.

Do I need pnpm to lint scaffolded exercise stubs?

Yes, validating scaffolded exercise stubs requires pnpm to run the ai-hero-cli internal lint tool. The scaffolding generates ready-to-commit directories and stubs that speed up curriculum authoring and testing before the lint validation step.