scaffold-exercises

Scaffold lint-ready exercise directories with readmes and naming conventions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating structured, lint-friendly exercise scaffolds for courses and tutorials to speed up curriculum development and ensure consistency.

Core Features & Use Cases

  • Scaffold directory structures for sections and exercises (01-setup, 01.01-exercise) with standard subfolders like problem/, solution/, explainer/ as needed.
  • Produce non-empty readmes in each required folder and enforce naming conventions.
  • Validate created structures with the lint tool to ensure correct hierarchy and no broken links.

Quick Start

Run the scaffolding plan to generate exercise directories and lint-ready stubs.

Frequently Asked Questions about scaffold-exercises

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

FAQPage Schema
How do I generate lint-ready exercise scaffolds for course development?▼

To generate lint-ready exercise scaffolds, you can automate the creation of structured directories and stubs. This accelerates curriculum development by applying standard subfolders, non-empty readmes, and naming conventions validated by internal lint tools.

What is the best way to structure course exercises with problem and solution variants?▼

Structuring course exercises with variants requires creating standard subfolders like problem/, solution/, and explainer/ within your exercise directories. This approach maintains a clean hierarchy and ensures all required folders contain non-empty readmes for lint validation.

How do I enforce naming conventions across multiple curriculum sections and exercises?▼

Enforcing naming conventions across curriculum sections requires an automated scaffolding process that coordinates directory structures like 01-setup and 01.01-exercise. This ensures consistent hierarchy and produces non-empty readmes validated by lint rules.

Does the generated exercise directory structure pass lint validation automatically?▼

Yes, the generated exercise directory structure is validated automatically. The scaffolding process enforces correct hierarchy, naming conventions, and includes non-empty readmes to ensure the output passes pnpm ai-hero-cli internal lint checks without broken links.

Can I use this scaffolding tool for step-by-step tutorials without setting up dependencies?▼

Yes, you can use this scaffolding tool for step-by-step tutorials without external dependencies. It operates independently to automate directory creation, generate stubs, and validate the final structure using its internal lint mechanism.