scaffold-exercises

Create deterministic course exercise folders with stubs and lint validation.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/fray-cloud/coin --skill scaffold-exercises-fray-cloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/fray-cloud/coin/tree/main/.agents/skills/scaffold-exercises
Command: npx skills add https://github.com/fray-cloud/coin --skill scaffold-exercises-fray-cloud

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating scalable, repeatable exercise structures for courses, sections, and problems to save manual setup time in course design.

Core Features & Use Cases

  • Directory scaffolding for sections and exercises following the 01-XX naming conventions.
  • Stub generation for problem, solution, and explainer folders with non-empty readmes.
  • Lint-guided workflow: runs pnpm ai-hero-cli internal lint and iterates until compliance.
  • Plannable expansion: easy to add new sections or exercises and maintain order.

Quick Start

Use this skill to scaffold a new course section and its exercises with ready-to-run lint-compliant stubs.

Frequently Asked Questions about scaffold-exercises

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

FAQPage Schema
How do I automate course exercise folder creation and README stubs?

Automating course exercise scaffolding generates a deterministic directory structure for sections and exercises, creating placeholder readmes and lint-compliant stubs to eliminate manual setup time in course design.

What is the best way to structure course sections and problems for repeatable templates?

Structuring course sections for repeatable templates requires enforcing plan-driven workflows with 01-XX naming conventions, creating problem, solution, and explainer folders to maintain consistent order across scalable course content.

How does lint validation work when scaffolding course directories?

Lint validation runs pnpm ai-hero-cli internal lint checks after directory creation and stub generation, iterating automatically until the scaffolded exercise folders achieve full compliance with required naming and structural rules.

Can I use scaffold-exercises to add new sections to an existing course design?

Adding new sections to an existing course design is supported through plannable expansion, allowing you to append exercises while maintaining directory order and passing lint checks across the entire updated structure.

Do I need pnpm installed to scaffold lint-compliant course exercises?

Yes, pnpm is required to run the ai-hero-cli internal lint validation that enforces compliance on the scaffolded exercise directories, ensuring generated stubs meet all structural and naming conventions.