lesson-generator

Generate curriculum-aligned JavaScript lesson files with exercises and Vitest scaffolds.

Updated Nov 20, 2025
One-click install
npx skills add https://github.com/mesa2a/JavaScriptOnlineLessons --skill lesson-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lesson-generator
Source: https://github.com/mesa2a/JavaScriptOnlineLessons/tree/main/.claude/skills/lesson-generator
Command: npx skills add https://github.com/mesa2a/JavaScriptOnlineLessons --skill lesson-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

この Skill は、カリキュラムを元に JavaScript 学習教材の各レッスン Markdown ファイルを自動生成します。カリキュラムからの一括作成により、教材作成の煩雑さを解消し、教育コンテンツの量産と品質の一貫性を実現します。

Core Features & Use Cases

  • Curriculum-driven generation: curriculum.md からレッスンファイルを抽出し、詳細な解説・目標・練習問題を含む教材ファイルを生成します。
  • Template-based consistency: すべてのレッスンが同じ構成・品質基準に沿って作成されます。
  • Time-saver for educators: カリキュラムの更新時に新レッスンを素早く生成し、教材作成の工数を大幅に削減します。

Quick Start

レッスン番号と curriculum.md を指定してスキルを実行します。例: レッスン001を生成すると、lessons/lesson-001.md が作成されます。生成後はテンプレートを必要に応じて編集してください。

Frequently Asked Questions about lesson-generator

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

FAQPage Schema
How do I automatically generate JavaScript lesson files from a curriculum?

Lesson-generator creates markdown lesson files automatically from a curriculum.md source. Specify a lesson number, and the Skill extracts metadata, learning objectives, exercises, and solutions, generating a fully structured lesson file with YAML front-matter, content sections, and Vitest test scaffolds in zero-padded filename format.

Can I create consistent lesson materials across an entire JavaScript curriculum at scale?

Yes. The Skill applies template-based generation to all lessons, ensuring uniform structure, formatting, and quality standards. Each lesson inherits curriculum context and alignment constraints, eliminating manual replication and maintaining consistency across your entire course.

What metadata and file formats does lesson generation extract from curriculum files?

Lesson-generator extracts lesson metadata, step lists, knowledge blocks, deliverables, and prior-lesson context from curriculum.md. It generates markdown files with YAML front-matter, lesson content, exercises, solutions, and integrated Vitest test scaffolds, all following curriculum-alignment rules.

How much time does automated lesson generation save when updating curriculum content?

Manual lesson creation is replaced by single-command generation. When curriculum.md changes, new lessons are produced instantly with correct metadata, objectives, exercises, and test structure, eliminating hours of repetitive authoring and formatting work.

Do I need to edit generated lessons after creation, or are they production-ready?

Generated lessons follow your curriculum structure and template constraints automatically. The Skill produces complete, usable lesson files; you can edit content as needed, but the structural scaffolding, metadata, and curriculum alignment are finalized on generation.

What happens if my curriculum structure changes—do all lessons regenerate correctly?

The Skill enforces curriculum-alignment constraints during generation, extracting structure from curriculum.md each time. Regenerating lessons applies updated curriculum rules, metadata extraction, and formatting automatically, keeping lessons synchronized with curriculum changes.