scaffold-exercises

Scaffold and validate exercise directory structures with required subfolders and readmes.

4|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Bailipa/EZTor_FULLBLOOD --skill scaffold-exercises-bailipa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/Bailipa/EZTor_FULLBLOOD/tree/main/.opencode/skills/mattpocock-misc/scaffold-exercises
Command: npx skills add https://github.com/Bailipa/EZTor_FULLBLOOD --skill scaffold-exercises-bailipa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create reliable, lint-passing exercise directories for education content, saving educators time when building new courses.

Core Features & Use Cases

  • Generate section and exercise folders under exercises/ with standardized naming (XX-section-name, XX.YY-exercise-name) and required subfolders (problem/, solution/, explainer/).
  • Enforce non-empty readmes and lint-compliant structures, ensuring consistency across courses.
  • Automate planning, directory creation, stub readmes, and a final lint validation pass.

Quick Start

Follow the plan to generate the exercise skeletons and run lint validation.

Frequently Asked Questions about scaffold-exercises

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

FAQPage Schema
How do I auto-structure exercise directories for educational course content?

To auto-structure exercise directories, you need a tool that parses course plans and generates standardized folders under exercises/ with problem/, solution/, and explainer/ subfolders. This ensures each variant includes non-empty readmes and passes lint validation.

What is the best way to generate lint-compliant stub readmes for course exercises?

The best way to generate lint-compliant stub readmes is to automate directory creation alongside readme generation. This enforces non-empty readmes in problem/, solution/, and explainer/ subfolders, ensuring structural consistency across educational courses.

How does directory scaffolding enforce standardized naming for course sections and exercises?

Directory scaffolding enforces standardized naming by parsing course plans and creating folders with specific formats like XX-section-name and XX.YY-exercise-name. This automated structuring ensures educational content remains organized and passes internal lint validation.

Do I need to run pnpm ai-hero-cli to validate auto-generated exercise structures?

Yes, you need to run pnpm ai-hero-cli internal lint to validate auto-generated exercise structures. The scaffolding process concludes with this final lint validation pass to ensure all directories, stub readmes, and naming conventions meet compliance standards.

Can I use course plan parsing to create required subfolders for multiple exercise variants?

Yes, you can use course plan parsing to create required subfolders for multiple exercise variants. The scaffolding process reads the plan details and ensures each variant includes problem/, solution/, and explainer/ subfolders with non-empty readmes automatically.

Why does my auto-generated exercise directory fail lint validation?

Auto-generated exercise directories fail lint validation when required subfolders like problem/, solution/, or explainer/ are missing, or when stub readmes are empty. Proper scaffolding automates directory creation and enforces non-empty readmes to prevent these lint failures.