scaffold-exercises

Create structured exercise directories with sections, problems, solutions, and explainers.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/Kushal9889/claude-plugins --skill scaffold-exercises-kushal9889
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/Kushal9889/claude-plugins/tree/main/mattpocock-skills/skills/misc/scaffold-exercises
Command: npx skills add https://github.com/Kushal9889/claude-plugins --skill scaffold-exercises-kushal9889

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pnpm, ai-hero-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of setting up and managing exercise directories for educational content, streamlining the creation of sections, problems, solutions, and explainers that are lint-ready.

Core Features & Use Cases

  • Exercise Directory Creation: Automatically creates a structured directory with sections, problems, solutions, and explainers.
  • Linting Integration: Ensures that all created exercises pass a predefined linting check to maintain quality.
  • Version Control Friendly: Uses git mv to preserve history during renumbering or moving exercises.
  • Use Case: When a teacher or course designer needs to create a new exercise directory with specific subfolders for problems, solutions, and explanations.

Quick Start

Scaffold an exercise directory with the '01-intro-to-python' section.

Frequently Asked Questions about scaffold-exercises

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

FAQPage Schema
How do I automate exercise directory creation for course structuring?

Automating exercise directory creation involves generating a structured tree with sections, problems, solutions, and explainers. This process targets educational scenarios by automatically scaffolding folders and integrating lint checks to ensure content quality.

What is the best way to renumber exercises while preserving git history?

To preserve git history while renumbering or moving exercises, use `git mv` commands. This version control friendly approach maintains file history within the repository during structural updates to your educational content.

Do I need pnpm and ai-hero-cli to scaffold exercise directories?

Yes, you need pnpm and ai-hero-cli installed. The Skill relies on pnpm for package management and uses the ai-hero-cli internal linter to validate exercise directories and enforce code quality assurance.

How does linting integration work for generated educational content?

Linting integration validates generated educational content by running predefined linter commands during directory creation. This ensures all scaffolded exercises, including problems and solutions, pass internal code quality checks immediately.

Can I add custom exercise variants to the generated directory structure?

Yes, the directory scaffolding supports various exercise variants. When automating course structuring, you can create custom sections with specific subfolders for problems, solutions, and explanations tailored to your educational needs.