scaffold-exercises

Generate exercise directories and lint-compliant readmes from a plan.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/ClyptAI/Clypt-Frontend --skill scaffold-exercises-clyptai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/ClyptAI/Clypt-Frontend/tree/main/.agents/skills/mattpocock-skills/scaffold-exercises
Command: npx skills add https://github.com/ClyptAI/Clypt-Frontend --skill scaffold-exercises-clyptai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

Core Features & Use Cases

  • Parse a plan to determine section and exercise structure and variant folders (explainer/problem/solution).
  • Generate stub directories and minimal readmes that satisfy lint rules, ready for commit.
  • Enforce lint workflow: run pnpm ai-hero-cli internal lint and fix issues until passing.

Quick Start

Run a plan that lists sections and exercises to auto-create the directory structure and stub readmes, then run lint to validate

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 linting rules?

Scaffolding exercise directories that pass linting involves parsing a plan to generate section and exercise folders with stub readmes, then running a lint workflow to validate and fix issues until passing.

What is the best way to create exercise stubs for a new course section?

Creating exercise stubs for a new course section requires a plan defining the exercise structure. The system generates deterministic directory skeletons with explainer, problem, and solution variant folders ready for commit.

How do I set up explainer, problem, and solution folders for coding exercises?

Setting up explainer, problem, and solution folders for coding exercises is handled by parsing a plan to determine the structure. The system applies stub variants and generates lint-compliant readmes for each folder.

Do I need to manually fix lint errors after generating exercise readmes?

You do not need to manually fix lint errors after generating exercise readmes. The system enforces a lint workflow that runs validation and fixes issues until the generated stubs pass.

Can I use this scaffolding workflow to expand an existing course section?

You can use this scaffolding workflow to expand an existing course section. It is applicable when setting up new courses or expanding existing sections by generating ready-to-commit exercise skeletons and validating them.

Why are my generated exercise directories failing lint validation?

Generated exercise directories may fail lint validation if the plan structure is incomplete. The system enforces a lint workflow to fix issues until passing, ensuring minimal readmes satisfy all lint rules.