scaffold-exercises

Generate lint-ready exercise scaffolds with YAML frontmatter and section templates.

1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/paialex/ai-skills-bank --skill scaffold-exercises-paialex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/paialex/ai-skills-bank/tree/main/mattpocock_skills/misc/scaffold-exercises
Command: npx skills add https://github.com/paialex/ai-skills-bank --skill scaffold-exercises-paialex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create exercise directory structures that pass linting checks and provide ready-to-use sections for problems, solutions, and explainers when building new course content.

Core Features & Use Cases

  • Scaffold consistent directory layouts (sections and exercises) with required subfolders (problem, solution, explainer) and non-empty readmes.
  • Enforce lint-ready stubs and provide templates that can be customized for different topics or courses.
  • Use case: A course author wants to bootstrap a new module quickly by generating a skeletal exercise hierarchy that is ready for content and code.

Quick Start

Create the exercise scaffolding structure from a plan.

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 scaffolds for a new course module?

Exercise scaffolds are generated by creating a structured directory layout with required subfolders for problems, solutions, and explainers. This bootstraps a skeletal exercise hierarchy with non-empty readmes, ready for immediate content and code insertion.

Why does my course structure fail linting checks on new exercises?

Course structures fail linting when exercise stubs lack required YAML frontmatter or non-empty readmes. Enforcing lint-ready stubs with mandatory name and description entries ensures generated section templates pass validation checks across all exercises.

What is the best way to organize educational exercise variants across sections?

Organizing educational exercise variants is best handled by applying scalable scaffolds that enforce consistent directory layouts across sections. This standardizes section templates and exercise variants, ensuring structural uniformity throughout course authoring workflows.

Do I need YAML frontmatter in my exercise stubs?

Yes, YAML frontmatter is required in exercise stubs. The scaffold enforces a mandatory YAML frontmatter entry containing both name and description fields to ensure each generated exercise passes linting checks and meets course structure requirements.

Can I include scripts and references when scaffolding course templates?

Yes, you can include scripts and references when scaffolding course templates. The generated exercise structures support optional scripts, references, and assets, enabling on-demand execution and rich references alongside the core problem and solution directories.